Move events and scripts into map dirs
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
NavelRock_Harbor_EventObjects: @ 853DA24
|
||||
object_event 1, EVENT_OBJ_GFX_SAILOR, 0, 8, 5, 0, 7, 1, 1, 0, 0, NavelRock_Harbor_EventScript_2690BD, 0
|
||||
object_event 2, EVENT_OBJ_GFX_SS_TIDAL, 0, 8, 7, 1, 10, 1, 1, 0, 0, 0x0, 0
|
||||
|
||||
NavelRock_Harbor_MapWarps: @ 853DA54
|
||||
warp_def 8, 2, 0, 0, MAP_NAVEL_ROCK_EXTERIOR
|
||||
|
||||
NavelRock_Harbor_MapEvents:: @ 853DA5C
|
||||
map_events NavelRock_Harbor_EventObjects, NavelRock_Harbor_MapWarps, 0x0, 0x0
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
NavelRock_Harbor_MapScripts:: @ 82690BC
|
||||
.byte 0
|
||||
|
||||
NavelRock_Harbor_EventScript_2690BD:: @ 82690BD
|
||||
lock
|
||||
faceplayer
|
||||
msgbox NavelRock_Harbor_Text_2C6CE6, 5
|
||||
compare VAR_RESULT, 0
|
||||
goto_eq NavelRock_Harbor_EventScript_269102
|
||||
msgbox NavelRock_Harbor_Text_2A6A5D, 4
|
||||
closemessage
|
||||
applymovement VAR_LAST_TALKED, NavelRock_Harbor_Movement_2725AA
|
||||
waitmovement 0
|
||||
delay 30
|
||||
hideobjectat 1, MAP_NAVEL_ROCK_HARBOR
|
||||
setvar VAR_0x8004, 2
|
||||
call NavelRock_Harbor_EventScript_272250
|
||||
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
|
||||
waitstate
|
||||
release
|
||||
end
|
||||
|
||||
NavelRock_Harbor_EventScript_269102:: @ 8269102
|
||||
msgbox NavelRock_Harbor_Text_2A6A82, 4
|
||||
release
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user