Clean up some bank 3 functions and rename flag action functions.

This commit is contained in:
yenatch 2014-05-25 10:09:39 -07:00
parent cdd34eb45b
commit d307c85499
11 changed files with 326 additions and 232 deletions

View file

@ -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

View file

@ -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