Cheat SELECT+A+B per vincere livello + ricrea file screens mancanti
Aggiunge un cheat code in engine_update: premendo SELECT+A+B insieme durante il gameplay si vince il livello corrente (game_over=2, Going Deeper). Utile per testare rapidamente le schermate di transizione e avanzare fino al finale (livello 8). Ricrea i file src/screens/ che erano stati rimossi (death.c, going_deeper.c, finale.c, screens.c) e aggiorna instructions.c con il testo allineato allo screenshot dell'utente (FIND THE HATCH, A+DPAD JUMP, B+DPAD RUN, PRESS B TO CONTINUE).
This commit is contained in:
+6
-1
@@ -239,7 +239,12 @@ void engine_update(uint8_t keys, uint8_t prev_keys) {
|
||||
hint_displayed = 0;
|
||||
}
|
||||
|
||||
// --- GESTIONE STATO DI FINE GIOCO (Sconfitta o Vittoria) ---
|
||||
// --- CHEAT: SELECT+A+B = vinci il livello (per test) ---
|
||||
if ((keys & J_SELECT) && (keys & J_A) && (keys & J_B) && !game_over) {
|
||||
game_over = 2; // Victory / Going Deeper
|
||||
game_over_timer = 30; // timer drammatico (mezzo secondo)
|
||||
sound_reset_music_state();
|
||||
}
|
||||
|
||||
// --- GESTIONE STATO DI FINE GIOCO (Sconfitta o Vittoria) ---
|
||||
if (game_over) {
|
||||
|
||||
Reference in New Issue
Block a user