diff options
author | luckytyphlosion <alan.rj.huang@gmail.com> | 2015-06-12 18:41:23 -0400 |
---|---|---|
committer | luckytyphlosion <alan.rj.huang@gmail.com> | 2015-06-12 18:41:23 -0400 |
commit | 9739cbcead94f5e087e47b63787f6dd56f509d7a (patch) | |
tree | 6f470eedf1b4afb904a32db1d57c82eabc79cf5c | |
parent | 77364231f85e74c9f9e7d8489e9113a5597ffea3 (diff) |
Complete unfinished function.
-rw-r--r-- | home.asm | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -2363,7 +2363,22 @@ Func_3040:: ; 3040 (0:3040) push bc push de push hl - ld a, + ld a,[rOBP0] + ld b,a + ld a,[wdef3] + cp b + jr z,.asm_305c + ld b,BANK(Func_7256c) ; 1c:656c + ld hl,Func_7256c + ld c,$1 + call Bankswitch +.asm_305c + pop hl + pop de + pop bc + pop af + ret + ; not zero if an NPC movement script is running, the player character is ; automatically stepping down from a door, or joypad states are being simulated IsPlayerCharacterBeingControlledByGame:: ; 30fd (0:30fd) |