You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
@@ -234,12 +234,12 @@ Cut_SpawnLeaf:
|
||||
|
||||
Cut_GetLeafSpawnCoords:
|
||||
ld de, 0
|
||||
ld a, [wMetatileStandingX]
|
||||
ld a, [wPlayerMetatileX]
|
||||
bit 0, a
|
||||
jr z, .left_side
|
||||
set 0, e
|
||||
.left_side
|
||||
ld a, [wMetatileStandingY]
|
||||
ld a, [wPlayerMetatileY]
|
||||
bit 0, a
|
||||
jr z, .top_side
|
||||
set 1, e
|
||||
|
@@ -686,7 +686,7 @@ Script_UsedWaterfall:
|
||||
.CheckContinueWaterfall:
|
||||
xor a
|
||||
ld [wScriptVar], a
|
||||
ld a, [wPlayerStandingTile]
|
||||
ld a, [wPlayerTile]
|
||||
call CheckWaterfallTile
|
||||
ret z
|
||||
farcall StubbedTrainerRankings_Waterfall
|
||||
@@ -1693,7 +1693,7 @@ BikeFunction:
|
||||
jr .nope
|
||||
|
||||
.ok
|
||||
call GetPlayerStandingTile
|
||||
call GetPlayerTile
|
||||
and $f ; lo nybble only
|
||||
jr nz, .nope ; not FLOOR_TILE
|
||||
xor a
|
||||
|
Reference in New Issue
Block a user