diff options
author | yenatch <yenatch@gmail.com> | 2014-05-25 10:09:39 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-05-25 10:09:39 -0700 |
commit | d307c854991f5eb24e12935e6906ad81ed244334 (patch) | |
tree | 02b55a1baafe17e29dec3070076cf5e4578a658e /scripts | |
parent | cdd34eb45b5093e595455b4f4556bed643cceafa (diff) |
Clean up some bank 3 functions and rename flag action functions.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/cinnabargym.asm | 4 | ||||
-rwxr-xr-x | scripts/route23.asm | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/scripts/cinnabargym.asm b/scripts/cinnabargym.asm index 1d66a1bf..5f9ddc32 100755 --- a/scripts/cinnabargym.asm +++ b/scripts/cinnabargym.asm @@ -87,8 +87,8 @@ CinnabarGymScript1: ; 757dc (1d:57dc) jp DisplayTextID CinnabarGymScript_757f1: ; 757f1 (1d:57f1) - ld a, $10 - jp Predef ; indirect jump to HandleBitArray (f666 (3:7666)) + ld a, $10 ; FlagActionPredef + jp Predef CinnabarGymScript2: ; 757f6 (1d:57f6) ld a, [$d057] diff --git a/scripts/route23.asm b/scripts/route23.asm index aca5efb7..19b22f04 100755 --- a/scripts/route23.asm +++ b/scripts/route23.asm @@ -198,8 +198,8 @@ Route23Script_51346: ; 51346 (14:5346) ld c, a ld b, $2 ld hl, W_OBTAINEDBADGES - ld a, $10 - call Predef ; indirect jump to HandleBitArray (f666 (3:7666)) + ld a, $10 ; FlagActionPredef + call Predef ld a, c and a jr nz, .asm_5136e @@ -216,8 +216,8 @@ Route23Script_51346: ; 51346 (14:5346) ld c, a ld b, $1 ld hl, $d7ed - ld a, $10 - call Predef ; indirect jump to HandleBitArray (f666 (3:7666)) + ld a, $10 ; FlagActionPredef + call Predef ld a, $2 ld [W_ROUTE23CURSCRIPT], a ret |