$039e -> HandleMidJump

hg-commit-id: f18a7d446304
This commit is contained in:
Bryan Bishop 2012-01-23 10:12:07 -06:00
parent ae1950503d
commit b40cb88593
3 changed files with 4 additions and 1 deletions

View file

@ -421,7 +421,7 @@ OverworldLoopLessDelay:
call LoadGBPal
ld a,[$d736]
bit 6,a ; jumping down a ledge?
call nz,$039e
call nz, HandleMidJump
ld a,[$cfc5] ; walking animation counter
and a
jp nz,.moveAhead\@ ; if the player sprite has not yet completed the walking animation

View file

@ -95,6 +95,8 @@ W_WHICHTRADE EQU $CD3D ; which entry from TradeMons to select
W_WHICHPOKEMON EQU $CF92 ; which pokemon you selected
W_WALKCOUNTER EQU $CFC5 ; walk animation counter
W_OPPONENTHP EQU $CFE6 ; active opponent's hp (16 bits)
W_OPPONENTNUMBER EQU $CFE8 ; active opponent's position in team (0 to 5)
W_OPPONENTSTATUS EQU $CFE9 ; active opponent's status condition

View file

@ -568,6 +568,7 @@ asm_commands = {
"6581": "ItemUseNotTime",
"3a87": "AddNTimes",
"3dab": "IsInArray", #bank 3
"039e": "HandleMidJump",
}
def random_asm_label():