mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Clean up some bank 3 functions and rename flag action functions.
This commit is contained in:
parent
cdd34eb45b
commit
d307c85499
11 changed files with 326 additions and 232 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue