You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
PLAYER_SLIP → PLAYER_SKATE (probably used for the beta skateboard; DoPlayerMovement.BikeCheck returns true for it)
This commit is contained in:
@@ -107,7 +107,7 @@ REGISTERED_NUMBER EQU %00111111
|
|||||||
; PlayerState: ; d95d
|
; PlayerState: ; d95d
|
||||||
PLAYER_NORMAL EQU 0
|
PLAYER_NORMAL EQU 0
|
||||||
PLAYER_BIKE EQU 1
|
PLAYER_BIKE EQU 1
|
||||||
PLAYER_SLIP EQU 2
|
PLAYER_SKATE EQU 2
|
||||||
PLAYER_SURF EQU 4
|
PLAYER_SURF EQU 4
|
||||||
PLAYER_SURF_PIKA EQU 8
|
PLAYER_SURF_PIKA EQU 8
|
||||||
|
|
||||||
|
@@ -356,7 +356,7 @@ CheckReplaceKrisSprite: ; 154f7
|
|||||||
ld a, [PlayerState]
|
ld a, [PlayerState]
|
||||||
cp PLAYER_NORMAL
|
cp PLAYER_NORMAL
|
||||||
jr z, .nope
|
jr z, .nope
|
||||||
cp PLAYER_SLIP
|
cp PLAYER_SKATE
|
||||||
jr z, .nope
|
jr z, .nope
|
||||||
cp PLAYER_SURF
|
cp PLAYER_SURF
|
||||||
jr z, .surfing
|
jr z, .surfing
|
||||||
|
@@ -42,7 +42,7 @@ DoPlayerMovement:: ; 80000
|
|||||||
jr z, .Surf
|
jr z, .Surf
|
||||||
cp PLAYER_BIKE
|
cp PLAYER_BIKE
|
||||||
jr z, .Normal
|
jr z, .Normal
|
||||||
cp PLAYER_SLIP
|
cp PLAYER_SKATE
|
||||||
jr z, .Ice
|
jr z, .Ice
|
||||||
|
|
||||||
.Normal:
|
.Normal:
|
||||||
@@ -750,11 +750,10 @@ DoPlayerMovement:: ; 80000
|
|||||||
; 803ca
|
; 803ca
|
||||||
|
|
||||||
.BikeCheck: ; 803ca
|
.BikeCheck: ; 803ca
|
||||||
|
|
||||||
ld a, [PlayerState]
|
ld a, [PlayerState]
|
||||||
cp PLAYER_BIKE
|
cp PLAYER_BIKE
|
||||||
ret z
|
ret z
|
||||||
cp PLAYER_SLIP
|
cp PLAYER_SKATE
|
||||||
ret
|
ret
|
||||||
; 803d3
|
; 803d3
|
||||||
|
|
||||||
@@ -824,7 +823,7 @@ CheckStandingOnIce:: ; 80404
|
|||||||
call CheckIceTile
|
call CheckIceTile
|
||||||
jr nc, .yep
|
jr nc, .yep
|
||||||
ld a, [PlayerState]
|
ld a, [PlayerState]
|
||||||
cp PLAYER_SLIP
|
cp PLAYER_SKATE
|
||||||
jr nz, .not_ice
|
jr nz, .not_ice
|
||||||
|
|
||||||
.yep
|
.yep
|
||||||
|
Reference in New Issue
Block a user