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 /engine/items | |
parent | cdd34eb45b5093e595455b4f4556bed643cceafa (diff) |
Clean up some bank 3 functions and rename flag action functions.
Diffstat (limited to 'engine/items')
-rwxr-xr-x | engine/items/itemfinder.asm | 4 | ||||
-rwxr-xr-x | engine/items/tms.asm | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engine/items/itemfinder.asm b/engine/items/itemfinder.asm index 551f2a08..2495b096 100755 --- a/engine/items/itemfinder.asm +++ b/engine/items/itemfinder.asm @@ -11,8 +11,8 @@ HiddenItemNear: ; 7481f (1d:481f) ld hl, $d6f0 ld c, b ld b, $2 - ld a, $10 - call Predef ; indirect jump to HandleBitArray (f666 (3:7666)) + ld a, $10 ; FlagActionPredef + call Predef ld a, c pop hl pop bc diff --git a/engine/items/tms.asm b/engine/items/tms.asm index b0cfd29c..409a655b 100755 --- a/engine/items/tms.asm +++ b/engine/items/tms.asm @@ -18,8 +18,8 @@ TestMonMoveCompatibility: ; 1373e (4:773e) .TMfoundLoop pop hl ld b, $2 ; read corresponding bit from TM compatibility array - ld a, $10 - jp Predef ; indirect jump to HandleBitArray (f666 (3:7666)) + ld a, $10 ; FlagActionPredef + jp Predef ; converts TM/HM number in $d11e into move number ; HMs start at 51 |