aboutsummaryrefslogtreecommitdiffstats
path: root/data/maps/objects/PewterGym.asm
diff options
context:
space:
mode:
authorYoann Fievez <yoann.fievez@gmail.com>2021-09-27 04:56:09 +0200
committerGitHub <noreply@github.com>2021-09-26 21:56:09 -0500
commit2c4f35848b786864822a3f211df91de30a2857c9 (patch)
treefcf65394ef3a2361d4dce8bd6cadaac8c9d021d3 /data/maps/objects/PewterGym.asm
parent`ASSERT LOW(wSpriteStateData1) == 0 && LOW(wSpriteStateData2) == 0` (diff)
downloadpokeyellow-2c4f35848b786864822a3f211df91de30a2857c9.tar.gz
pokeyellow-2c4f35848b786864822a3f211df91de30a2857c9.tar.xz
pokeyellow-2c4f35848b786864822a3f211df91de30a2857c9.zip
Unify map event gen1 gen2 (#335)
* Update sign to bg_event #289 * Rename warp to warp_event * Replace object to object_event * Move warp macro parameter from warp x, y, id, map to warp_event x, y, map, id
Diffstat (limited to 'data/maps/objects/PewterGym.asm')
-rw-r--r--data/maps/objects/PewterGym.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/data/maps/objects/PewterGym.asm b/data/maps/objects/PewterGym.asm
index 9c21701a..2e3fb6ed 100644
--- a/data/maps/objects/PewterGym.asm
+++ b/data/maps/objects/PewterGym.asm
@@ -1,15 +1,15 @@
PewterGym_Object:
db $3 ; border block
- def_warps
- warp 4, 13, 2, LAST_MAP
- warp 5, 13, 2, LAST_MAP
+ def_warp_events
+ warp_event 4, 13, LAST_MAP, 2
+ warp_event 5, 13, LAST_MAP, 2
- def_signs
+ def_bg_events
- def_objects
- object SPRITE_SUPER_NERD, 4, 1, STAY, DOWN, 1, OPP_BROCK, 1
- object SPRITE_COOLTRAINER_M, 3, 6, STAY, RIGHT, 2, OPP_JR_TRAINER_M, 1
- object SPRITE_GYM_GUIDE, 7, 10, STAY, DOWN, 3 ; person
+ def_object_events
+ object_event 4, 1, SPRITE_SUPER_NERD, STAY, DOWN, 1, OPP_BROCK, 1
+ object_event 3, 6, SPRITE_COOLTRAINER_M, STAY, RIGHT, 2, OPP_JR_TRAINER_M, 1
+ object_event 7, 10, SPRITE_GYM_GUIDE, STAY, DOWN, 3 ; person
def_warps_to PEWTER_GYM