mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
$039e -> HandleMidJump
hg-commit-id: f18a7d446304
This commit is contained in:
parent
ae1950503d
commit
b40cb88593
|
@ -421,7 +421,7 @@ OverworldLoopLessDelay:
|
||||||
call LoadGBPal
|
call LoadGBPal
|
||||||
ld a,[$d736]
|
ld a,[$d736]
|
||||||
bit 6,a ; jumping down a ledge?
|
bit 6,a ; jumping down a ledge?
|
||||||
call nz,$039e
|
call nz, HandleMidJump
|
||||||
ld a,[$cfc5] ; walking animation counter
|
ld a,[$cfc5] ; walking animation counter
|
||||||
and a
|
and a
|
||||||
jp nz,.moveAhead\@ ; if the player sprite has not yet completed the walking animation
|
jp nz,.moveAhead\@ ; if the player sprite has not yet completed the walking animation
|
||||||
|
|
|
@ -95,6 +95,8 @@ W_WHICHTRADE EQU $CD3D ; which entry from TradeMons to select
|
||||||
|
|
||||||
W_WHICHPOKEMON EQU $CF92 ; which pokemon you selected
|
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_OPPONENTHP EQU $CFE6 ; active opponent's hp (16 bits)
|
||||||
W_OPPONENTNUMBER EQU $CFE8 ; active opponent's position in team (0 to 5)
|
W_OPPONENTNUMBER EQU $CFE8 ; active opponent's position in team (0 to 5)
|
||||||
W_OPPONENTSTATUS EQU $CFE9 ; active opponent's status condition
|
W_OPPONENTSTATUS EQU $CFE9 ; active opponent's status condition
|
||||||
|
|
|
@ -568,6 +568,7 @@ asm_commands = {
|
||||||
"6581": "ItemUseNotTime",
|
"6581": "ItemUseNotTime",
|
||||||
"3a87": "AddNTimes",
|
"3a87": "AddNTimes",
|
||||||
"3dab": "IsInArray", #bank 3
|
"3dab": "IsInArray", #bank 3
|
||||||
|
"039e": "HandleMidJump",
|
||||||
}
|
}
|
||||||
|
|
||||||
def random_asm_label():
|
def random_asm_label():
|
||||||
|
|
Loading…
Reference in a new issue