aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld/player_animations.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-06-23 17:50:50 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-06-23 17:50:50 -0400
commit0a62d48df2d73c11ca13e4c3015d3d3abfa20292 (patch)
tree530f89782772bb76a76fbdd28247f1c6e3248483 /engine/overworld/player_animations.asm
parentMerge pull request #243 from Nog-Frog/rename-unused-cd40 (diff)
downloadpokeyellow-0a62d48df2d73c11ca13e4c3015d3d3abfa20292.tar.gz
pokeyellow-0a62d48df2d73c11ca13e4c3015d3d3abfa20292.tar.xz
pokeyellow-0a62d48df2d73c11ca13e4c3015d3d3abfa20292.zip
Move more tables from engine/ to data/
This also splits the end of engine/battle/core.asm into engine/battle/effects.asm.
Diffstat (limited to 'engine/overworld/player_animations.asm')
-rwxr-xr-xengine/overworld/player_animations.asm10
1 files changed, 2 insertions, 8 deletions
diff --git a/engine/overworld/player_animations.asm b/engine/overworld/player_animations.asm
index a17e67bd..0f17de8f 100755
--- a/engine/overworld/player_animations.asm
+++ b/engine/overworld/player_animations.asm
@@ -349,7 +349,7 @@ GetPlayerTeleportAnimFrameDelay:
IsPlayerStandingOnWarpPadOrHole:
ld b, 0
- ld hl, .warpPadAndHoleData
+ ld hl, WarpPadAndHoleData
ld a, [wCurMapTileset]
ld c, a
.loop
@@ -373,13 +373,7 @@ IsPlayerStandingOnWarpPadOrHole:
ld [wStandingOnWarpPadOrHole], a
ret
-; format: db tileset id, tile id, value to be put in [wStandingOnWarpPadOrHole]
-.warpPadAndHoleData:
- db FACILITY, $20, 1 ; warp pad
- db FACILITY, $11, 2 ; hole
- db CAVERN, $22, 2 ; hole
- db INTERIOR, $55, 1 ; warp pad
- db $FF
+INCLUDE "data/warp_pad_hole_tile_ids.asm"
FishingAnim:
ld c, 10