From d55debf80b417793ce924ec977ed3a16413fd5d6 Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 4 Jul 2013 01:15:15 +0200 Subject: ending dead players fix --- src/bossCaptainBowser.cpp | 4 ++++ src/prolog.S | 2 +- src/randomcrap.S | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/bossCaptainBowser.cpp b/src/bossCaptainBowser.cpp index 9e163b1..6915ccf 100644 --- a/src/bossCaptainBowser.cpp +++ b/src/bossCaptainBowser.cpp @@ -1020,6 +1020,10 @@ void daCaptainBowser::executeState_PanToExit() { DontShowPreGame = true; ExitStage(RESTART_CRSIN, 0, BEAT_LEVEL, MARIO_WIPE); exitedFlag = true; + + for (int i = 0; i < 4; i++) + if (Player_Lives[i] == 0) + Player_Lives[i] = 5; } } } diff --git a/src/prolog.S b/src/prolog.S index 83abdc6..8608300 100644 --- a/src/prolog.S +++ b/src/prolog.S @@ -61,7 +61,7 @@ startLoop: .data PMsg: - .string "Newer Super Mario Bros. Wii - Hacks by Treeki and Tempus 2009-2013\nNewer v1.0.0\n.ctors: %p - %p\n" + .string "Newer Super Mario Bros. Wii - Hacks by Treeki and Tempus 2009-2013\nNewer v1.0.2\n.ctors: %p - %p\n" PMsg2: .string "%d inits called\n" diff --git a/src/randomcrap.S b/src/randomcrap.S index 1e09766..4b8d830 100644 --- a/src/randomcrap.S +++ b/src/randomcrap.S @@ -595,7 +595,7 @@ ReplaceExceptionOccurred: #.long CRAPPYALLOC .data NewExceptionOccurred: -.string "Whoops! Newer 1.0.0 has crashed.\nPlease take a screenshot of the info below\nand send it to newer@newerteam.com.\nYou can scroll through this report using the D-Pad.\n" +.string "Whoops! Newer 1.0.2 has crashed.\nPlease take a screenshot of the info below\nand send it to newer@newerteam.com.\nYou can scroll through this report using the D-Pad.\n" UniLogStr: .string "[ULog] returning %8x to: %x > %x > %x > %x > %x > %x\n" #WillAlloc: .string "[AH] Will allocate %x bytes aligned by %x\n" #Alloced: .string "[AH] Allocated %p\n" -- cgit v1.2.3