Rename the object_struct field labels and constants (#1005)

Fixes #990
This commit is contained in:
Rangi
2022-09-12 09:15:44 -04:00
committed by GitHub
parent 4c239a6f65
commit 41d5ea0482
30 changed files with 442 additions and 431 deletions

View File

@@ -349,7 +349,7 @@ CheckTileEvent:
ret
.warp_tile
ld a, [wPlayerStandingTile]
ld a, [wPlayerTile]
call CheckPitTile
jr nz, .not_pit
ld a, PLAYEREVENT_FALL
@@ -1191,7 +1191,7 @@ CanUseSweetScent::
jr nc, .no
.ice_check
ld a, [wPlayerStandingTile]
ld a, [wPlayerTile]
call CheckIceTile
jr z, .no
scf
@@ -1262,7 +1262,7 @@ ChooseWildEncounter_BugContest::
ret
TryWildEncounter_BugContest:
ld a, [wPlayerStandingTile]
ld a, [wPlayerTile]
call CheckSuperTallGrassTile
ld b, 40 percent
jr z, .ok