Move events and scripts into map dirs
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
MtPyre_Exterior_EventObjects: @ 85350DC
|
||||
object_event 1, EVENT_OBJ_GFX_ITEM_BALL, 0, 27, 15, 3, 1, 0, 0, 0, 0, MtPyre_Exterior_EventScript_29133E, 1073
|
||||
object_event 2, EVENT_OBJ_GFX_ITEM_BALL, 0, 19, 40, 3, 1, 0, 0, 0, 0, MtPyre_Exterior_EventScript_29134B, 1074
|
||||
|
||||
MtPyre_Exterior_MapWarps: @ 853510C
|
||||
warp_def 10, 42, 3, 1, MAP_MT_PYRE_1F
|
||||
warp_def 19, 10, 3, 1, MAP_MT_PYRE_SUMMIT
|
||||
warp_def 20, 10, 3, 1, MAP_MT_PYRE_SUMMIT
|
||||
|
||||
MtPyre_Exterior_MapCoordEvents: @ 8535124
|
||||
coord_event 24, 21, 3, 0, 0, 0, 0, MtPyre_Exterior_EventScript_231FED
|
||||
coord_event 25, 21, 3, 0, 0, 0, 0, MtPyre_Exterior_EventScript_231FED
|
||||
coord_event 22, 27, 3, 0, 0, 0, 0, MtPyre_Exterior_EventScript_231FF2
|
||||
coord_event 23, 28, 3, 0, 0, 0, 0, MtPyre_Exterior_EventScript_231FF2
|
||||
coord_event 26, 21, 3, 0, 0, 0, 0, MtPyre_Exterior_EventScript_231FED
|
||||
|
||||
MtPyre_Exterior_MapBGEvents: @ 8535174
|
||||
bg_event 9, 8, 0, 7, 0, ITEM_ULTRA_BALL, 29, 0
|
||||
bg_event 16, 22, 0, 7, 0, ITEM_MAX_ETHER, 78, 0
|
||||
|
||||
MtPyre_Exterior_MapEvents:: @ 853518C
|
||||
map_events MtPyre_Exterior_EventObjects, MtPyre_Exterior_MapWarps, MtPyre_Exterior_MapCoordEvents, MtPyre_Exterior_MapBGEvents
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
MtPyre_Exterior_MapScripts:: @ 8231FCC
|
||||
map_script 3, MtPyre_Exterior_MapScript1_231FD2
|
||||
.byte 0
|
||||
|
||||
MtPyre_Exterior_MapScript1_231FD2: @ 8231FD2
|
||||
call MtPyre_Exterior_EventScript_231FD8
|
||||
end
|
||||
|
||||
MtPyre_Exterior_EventScript_231FD8:: @ 8231FD8
|
||||
getplayerxy VAR_TEMP_0, VAR_TEMP_1
|
||||
compare VAR_TEMP_1, 12
|
||||
goto_if 0, MtPyre_Exterior_EventScript_231FE9
|
||||
return
|
||||
|
||||
MtPyre_Exterior_EventScript_231FE9:: @ 8231FE9
|
||||
setweather 6
|
||||
return
|
||||
|
||||
MtPyre_Exterior_EventScript_231FED:: @ 8231FED
|
||||
setweather 6
|
||||
doweather
|
||||
end
|
||||
|
||||
MtPyre_Exterior_EventScript_231FF2:: @ 8231FF2
|
||||
setweather 2
|
||||
doweather
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user