mirror of https://github.com/pret/pokecrystal.git
Update some labels
This commit is contained in:
parent
083d51fd58
commit
fa7261a8ee
|
@ -178,13 +178,13 @@ CheckReplaceKrisSprite:
|
||||||
jr z, .surfing
|
jr z, .surfing
|
||||||
call GetMapEnvironment
|
call GetMapEnvironment
|
||||||
cp INDOOR
|
cp INDOOR
|
||||||
jr z, .checkbiking
|
jr z, .no_biking
|
||||||
cp ENVIRONMENT_5
|
cp ENVIRONMENT_5
|
||||||
jr z, .checkbiking
|
jr z, .no_biking
|
||||||
cp DUNGEON
|
cp DUNGEON
|
||||||
jr z, .checkbiking
|
jr z, .no_biking
|
||||||
jr .nope
|
jr .nope
|
||||||
.checkbiking
|
.no_biking
|
||||||
ld a, [wPlayerState]
|
ld a, [wPlayerState]
|
||||||
cp PLAYER_BIKE
|
cp PLAYER_BIKE
|
||||||
jr nz, .nope
|
jr nz, .nope
|
||||||
|
@ -200,18 +200,19 @@ CheckReplaceKrisSprite:
|
||||||
|
|
||||||
.CheckSurfing:
|
.CheckSurfing:
|
||||||
call CheckOnWater
|
call CheckOnWater
|
||||||
jr nz, .ret_nc
|
jr nz, .nope2
|
||||||
ld a, [wPlayerState]
|
ld a, [wPlayerState]
|
||||||
cp PLAYER_SURF
|
cp PLAYER_SURF
|
||||||
jr z, ._surfing
|
jr z, .is_surfing
|
||||||
cp PLAYER_SURF_PIKA
|
cp PLAYER_SURF_PIKA
|
||||||
jr z, ._surfing
|
jr z, .is_surfing
|
||||||
ld a, PLAYER_SURF
|
ld a, PLAYER_SURF
|
||||||
ld [wPlayerState], a
|
ld [wPlayerState], a
|
||||||
._surfing
|
.is_surfing
|
||||||
scf
|
scf
|
||||||
ret
|
ret
|
||||||
.ret_nc
|
|
||||||
|
.nope2
|
||||||
and a
|
and a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
|
@ -369,6 +369,7 @@ CheckIndoorMap::
|
||||||
ret
|
ret
|
||||||
|
|
||||||
; unused
|
; unused
|
||||||
|
UnreferencedCheckEnvironment::
|
||||||
cp INDOOR
|
cp INDOOR
|
||||||
ret z
|
ret z
|
||||||
cp GATE
|
cp GATE
|
||||||
|
|
Loading…
Reference in New Issue