From 3322dd50321ffeeead4217fc71736b0a732d97e3 Mon Sep 17 00:00:00 2001 From: sup39 Date: Wed, 2 Nov 2022 19:10:06 +0900 Subject: [PATCH] fix AttemptCounter: reset success count --- NTSC-J 1.0/AttemptCounter.customized.txt | 15 ++++++++------- NTSC-J 1.0/AttemptCounter.txt | 13 +++++++------ src/AttemptCounter.s | 3 +++ 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/NTSC-J 1.0/AttemptCounter.customized.txt b/NTSC-J 1.0/AttemptCounter.customized.txt index 828c087..68a3b35 100644 --- a/NTSC-J 1.0/AttemptCounter.customized.txt +++ b/NTSC-J 1.0/AttemptCounter.customized.txt @@ -11,27 +11,28 @@ or something else $ AttemptCounter (2022/11/02) [sup39] 0410C3C8 496EDB45 -040EDB34 4970C411 -04206898 495F36CC -077F9F0C 000000A8 +040EDB34 4970C419 +04206898 495F36D4 +077F9F0C 000000B0 7C7E1B78 3D808180 A40C9F08 A17E007C 7C005800 B16C0000 3960003C B16C0002 39600001 4082000C 816CFFFC 396B0001 -916CFFFC 4E800020 +916CFFFC 39600000 +916CFFF8 4E800020 3D808180 856C9F00 396B0001 916C0000 3960003C B16C000A 39000000 4E800020 -4A83B2C5 3D808180 +4A83B2BD 3D808180 A46C9F0A 3463FFFF 4180003C B06C0000 3860xxxx 3880yyyy 38A0ssss 3CC0rrgg -60C6bbaa 7CC73378 +60C6FFFF 7CC73378 4800000D 25640A25 64000000 7D0802A6 812CFFF6 814CFFFA -4BFF628D 4AA0C8EC +4BFF6285 4AA0C8E4 diff --git a/NTSC-J 1.0/AttemptCounter.txt b/NTSC-J 1.0/AttemptCounter.txt index a8b08ba..ff1ae38 100644 --- a/NTSC-J 1.0/AttemptCounter.txt +++ b/NTSC-J 1.0/AttemptCounter.txt @@ -1,20 +1,21 @@ $ AttemptCounter (2022/11/02) [sup39] 0410C3C8 496EDB45 -040EDB34 4970C411 -04206898 495F36CC -077F9F0C 000000A8 +040EDB34 4970C419 +04206898 495F36D4 +077F9F0C 000000B0 7C7E1B78 3D808180 A40C9F08 A17E007C 7C005800 B16C0000 3960003C B16C0002 39600001 4082000C 816CFFFC 396B0001 -916CFFFC 4E800020 +916CFFFC 39600000 +916CFFF8 4E800020 3D808180 856C9F00 396B0001 916C0000 3960003C B16C000A 39000000 4E800020 -4A83B2C5 3D808180 +4A83B2BD 3D808180 A46C9F0A 3463FFFF 4180003C B06C0000 38600090 3880007C @@ -23,4 +24,4 @@ A46C9F0A 3463FFFF 4800000D 25640A25 64000000 7D0802A6 812CFFF6 814CFFFA -4BFF628D 4AA0C8EC +4BFF6285 4AA0C8E4 diff --git a/src/AttemptCounter.s b/src/AttemptCounter.s index 4bf2d67..81cf0a6 100644 --- a/src/AttemptCounter.s +++ b/src/AttemptCounter.s @@ -38,6 +38,9 @@ addi r11, r11, 1 .onStart.done: stw r11, off$tolcnt-off$$(r$$) +### reset success count + li r11, 0 + stw r11, off$succnt-off$$(r$$) blr .onShineGet: