diff options
author | Amber Brault <celestialamber1@gmail.com> | 2019-10-11 11:39:35 -0400 |
---|---|---|
committer | Amber Brault <celestialamber1@gmail.com> | 2019-10-17 12:38:25 -0400 |
commit | 533578e602ad2a9deee5d3c74201c342c9895a7f (patch) | |
tree | ac380ca494da7d326b0f9276072563b4330d0a10 /scripts/celadongym.asm | |
parent | 41bc3a65c4c3dc8bdb25a19acdce55f05a3895e3 (diff) |
Add deobfuscation from pokered commits
Remove excess linebreaks from surfing_minigame.asm
This commit removes the extra line breaks added accidentally from the last commit.
Add deobfuscation from pokered commits
Diffstat (limited to 'scripts/celadongym.asm')
-rwxr-xr-x | scripts/celadongym.asm | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/scripts/celadongym.asm b/scripts/celadongym.asm index 903ef508..762806f2 100755 --- a/scripts/celadongym.asm +++ b/scripts/celadongym.asm @@ -54,12 +54,12 @@ CeladonGymText_48963: ld [hSpriteIndexOrTextID], a call DisplayTextID SetEvent EVENT_GOT_TM21 - jr .asm_4898c + jr .gymVictory .BagFull ld a, $b ld [hSpriteIndexOrTextID], a call DisplayTextID -.asm_4898c +.gymVictory ld hl, wObtainedBadges set 3, [hl] ld hl, wBeatGymFlags @@ -152,17 +152,17 @@ CeladonGymTrainerHeader7: CeladonGymText1: TX_ASM CheckEvent EVENT_BEAT_ERIKA - jr z, .asm_48a2d + jr z, .beginBattle CheckEventReuseA EVENT_GOT_TM21 - jr nz, .asm_48a25 + jr nz, .afterVictory call z, CeladonGymText_48963 call DisableWaitingAfterTextDisplay - jr .asm_48a5b -.asm_48a25 + jr .done +.afterVictory ld hl, CeladonGymText_48a68 call PrintText - jr .asm_48a5b -.asm_48a2d + jr .done +.beginBattle ld hl, CeladonGymText_48a5e call PrintText ld hl, wd72d @@ -180,7 +180,7 @@ CeladonGymText1: ld a, $3 ld [wCeladonGymCurScript], a ld [wCurMapScript], a -.asm_48a5b +.done jp TextScriptEnd CeladonGymText_48a5e: |