Move events and scripts into map dirs
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
BirthIsland_Harbor_EventObjects: @ 853D828
|
||||
object_event 1, EVENT_OBJ_GFX_SAILOR, 0, 8, 5, 0, 7, 1, 1, 0, 0, BirthIsland_Harbor_EventScript_26805D, 0
|
||||
object_event 2, EVENT_OBJ_GFX_SS_TIDAL, 0, 8, 7, 1, 10, 1, 1, 0, 0, 0x0, 0
|
||||
|
||||
BirthIsland_Harbor_MapWarps: @ 853D858
|
||||
warp_def 8, 2, 0, 0, MAP_BIRTH_ISLAND_EXTERIOR
|
||||
|
||||
BirthIsland_Harbor_MapEvents:: @ 853D860
|
||||
map_events BirthIsland_Harbor_EventObjects, BirthIsland_Harbor_MapWarps, 0x0, 0x0
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
BirthIsland_Harbor_MapScripts:: @ 826805C
|
||||
.byte 0
|
||||
|
||||
BirthIsland_Harbor_EventScript_26805D:: @ 826805D
|
||||
lock
|
||||
faceplayer
|
||||
msgbox BirthIsland_Harbor_Text_2C6B90, 5
|
||||
compare VAR_RESULT, 0
|
||||
goto_eq BirthIsland_Harbor_EventScript_2680A2
|
||||
msgbox BirthIsland_Harbor_Text_2A6A5D, 4
|
||||
closemessage
|
||||
applymovement VAR_LAST_TALKED, BirthIsland_Harbor_Movement_2725AA
|
||||
waitmovement 0
|
||||
delay 30
|
||||
hideobjectat 1, MAP_BIRTH_ISLAND_HARBOR
|
||||
setvar VAR_0x8004, 2
|
||||
call BirthIsland_Harbor_EventScript_272250
|
||||
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
|
||||
waitstate
|
||||
release
|
||||
end
|
||||
|
||||
BirthIsland_Harbor_EventScript_2680A2:: @ 82680A2
|
||||
msgbox BirthIsland_Harbor_Text_2A6A82, 4
|
||||
release
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user