summaryrefslogtreecommitdiff
path: root/data/maps/DesertRuins
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-07-13 18:53:27 -0700
committerGitHub <noreply@github.com>2018-07-13 18:53:27 -0700
commit24f6484643ed3d7115fd4ebd92f254f224f1ca97 (patch)
treefab2a2a4bf5a338be050b24e59994d47d1d89e9d /data/maps/DesertRuins
parentabc1905caba10eadcbcb271d8188e5d16444a655 (diff)
parent94650495c669f673c59f4912b805b51360c0797a (diff)
Merge pull request #274 from huderlem/movement_constants
Move and use movement constants
Diffstat (limited to 'data/maps/DesertRuins')
-rw-r--r--data/maps/DesertRuins/events.inc8
-rw-r--r--data/maps/DesertRuins/header.inc8
2 files changed, 8 insertions, 8 deletions
diff --git a/data/maps/DesertRuins/events.inc b/data/maps/DesertRuins/events.inc
index b7ccd35b0..036127ca8 100644
--- a/data/maps/DesertRuins/events.inc
+++ b/data/maps/DesertRuins/events.inc
@@ -1,5 +1,5 @@
DesertRuins_EventObjects: @ 8534354
- object_event 1, EVENT_OBJ_GFX_REGIROCK, 0, 8, 7, 3, 8, 0, 0, 0, 0, DesertRuins_EventScript_22DA02, 935
+ object_event 1, EVENT_OBJ_GFX_REGIROCK, 0, 8, 7, 3, MOVEMENT_TYPE_FACE_DOWN, 0, 0, 0, 0, DesertRuins_EventScript_22DA02, 935
DesertRuins_MapWarps: @ 853436C
warp_def 8, 29, 3, 1, MAP_ROUTE111
@@ -7,9 +7,9 @@ DesertRuins_MapWarps: @ 853436C
warp_def 8, 11, 3, 1, MAP_DESERT_RUINS
DesertRuins_MapBGEvents: @ 8534384
- bg_event 8, 20, 0, 0, 0, DesertRuins_EventScript_22D9DB
- bg_event 7, 20, 0, 0, 0, DesertRuins_EventScript_22D9F8
- bg_event 9, 20, 0, 0, 0, DesertRuins_EventScript_22D9F8
+ bg_event 8, 20, 0, BG_EVENT_PLAYER_FACING_ANY, DesertRuins_EventScript_22D9DB
+ bg_event 7, 20, 0, BG_EVENT_PLAYER_FACING_ANY, DesertRuins_EventScript_22D9F8
+ bg_event 9, 20, 0, BG_EVENT_PLAYER_FACING_ANY, DesertRuins_EventScript_22D9F8
DesertRuins_MapEvents:: @ 85343A8
map_events DesertRuins_EventObjects, DesertRuins_MapWarps, 0x0, DesertRuins_MapBGEvents
diff --git a/data/maps/DesertRuins/header.inc b/data/maps/DesertRuins/header.inc
index 8f076bf77..16e2ce55a 100644
--- a/data/maps/DesertRuins/header.inc
+++ b/data/maps/DesertRuins/header.inc
@@ -5,11 +5,11 @@ DesertRuins: @ 8483F68
.4byte 0x0
.2byte MUS_MABOROSI
.2byte 131
- .byte 82
+ .byte MAPSEC_DESERT_RUINS
.byte 0
- .byte 0
- .byte 4
+ .byte WEATHER_NONE
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
- .byte 0
+ .byte MAP_BATTLE_SCENE_NORMAL