Move events and scripts into map dirs
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
Route110_TrickHousePuzzle1_EventObjects: @ 853DF88
|
||||
object_event 1, EVENT_OBJ_GFX_LASS, 0, 14, 20, 3, 9, 0, 0, 1, 6, Route110_TrickHousePuzzle1_EventScript_26B948, 0
|
||||
object_event 2, EVENT_OBJ_GFX_YOUNGSTER, 0, 14, 8, 3, 9, 0, 0, 1, 2, Route110_TrickHousePuzzle1_EventScript_26B95F, 0
|
||||
object_event 3, EVENT_OBJ_GFX_LASS, 0, 2, 15, 3, 8, 0, 0, 1, 2, Route110_TrickHousePuzzle1_EventScript_26B976, 0
|
||||
object_event 4, EVENT_OBJ_GFX_CUTTABLE_TREE, 0, 11, 16, 3, 1, 0, 0, 0, 0, Route110_TrickHousePuzzle1_EventScript_2906BB, 19
|
||||
object_event 5, EVENT_OBJ_GFX_CUTTABLE_TREE, 0, 13, 18, 3, 1, 0, 0, 0, 0, Route110_TrickHousePuzzle1_EventScript_2906BB, 18
|
||||
object_event 6, EVENT_OBJ_GFX_CUTTABLE_TREE, 0, 14, 14, 3, 1, 0, 0, 0, 0, Route110_TrickHousePuzzle1_EventScript_2906BB, 20
|
||||
object_event 7, EVENT_OBJ_GFX_CUTTABLE_TREE, 0, 11, 8, 3, 1, 0, 0, 0, 0, Route110_TrickHousePuzzle1_EventScript_2906BB, 23
|
||||
object_event 8, EVENT_OBJ_GFX_CUTTABLE_TREE, 0, 8, 10, 3, 1, 0, 0, 0, 0, Route110_TrickHousePuzzle1_EventScript_2906BB, 22
|
||||
object_event 9, EVENT_OBJ_GFX_CUTTABLE_TREE, 0, 11, 12, 3, 1, 0, 0, 0, 0, Route110_TrickHousePuzzle1_EventScript_2906BB, 21
|
||||
object_event 10, EVENT_OBJ_GFX_CUTTABLE_TREE, 0, 2, 4, 3, 1, 0, 0, 0, 0, Route110_TrickHousePuzzle1_EventScript_2906BB, 25
|
||||
object_event 11, EVENT_OBJ_GFX_CUTTABLE_TREE, 0, 13, 6, 3, 1, 0, 0, 0, 0, Route110_TrickHousePuzzle1_EventScript_2906BB, 24
|
||||
object_event 12, EVENT_OBJ_GFX_CUTTABLE_TREE, 0, 0, 6, 3, 1, 0, 0, 0, 0, Route110_TrickHousePuzzle1_EventScript_2906BB, 27
|
||||
object_event 13, EVENT_OBJ_GFX_ITEM_BALL, 0, 9, 4, 3, 1, 0, 0, 0, 0, Route110_TrickHousePuzzle1_EventScript_29140E, 1060
|
||||
object_event 14, EVENT_OBJ_GFX_CUTTABLE_TREE, 0, 4, 8, 3, 1, 0, 0, 0, 0, Route110_TrickHousePuzzle1_EventScript_2906BB, 28
|
||||
object_event 15, EVENT_OBJ_GFX_CUTTABLE_TREE, 0, 2, 12, 3, 1, 0, 0, 0, 0, Route110_TrickHousePuzzle1_EventScript_2906BB, 30
|
||||
|
||||
Route110_TrickHousePuzzle1_MapWarps: @ 853E0F0
|
||||
warp_def 0, 21, 3, 2, MAP_ROUTE110_TRICK_HOUSE_ENTRANCE
|
||||
warp_def 1, 21, 3, 2, MAP_ROUTE110_TRICK_HOUSE_ENTRANCE
|
||||
warp_def 13, 1, 3, 0, MAP_ROUTE110_TRICK_HOUSE_END
|
||||
|
||||
Route110_TrickHousePuzzle1_MapBGEvents: @ 853E108
|
||||
bg_event 3, 16, 0, 0, 0, Route110_TrickHousePuzzle1_EventScript_26B92B
|
||||
|
||||
Route110_TrickHousePuzzle1_MapEvents:: @ 853E114
|
||||
map_events Route110_TrickHousePuzzle1_EventObjects, Route110_TrickHousePuzzle1_MapWarps, 0x0, Route110_TrickHousePuzzle1_MapBGEvents
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
Route110_TrickHousePuzzle1_MapScripts:: @ 826B90F
|
||||
map_script 1, Route110_TrickHousePuzzle1_MapScript1_26B915
|
||||
.byte 0
|
||||
|
||||
Route110_TrickHousePuzzle1_MapScript1_26B915: @ 826B915
|
||||
compare VAR_0x40AB, 2
|
||||
goto_eq Route110_TrickHousePuzzle1_EventScript_26B921
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle1_EventScript_26B921:: @ 826B921
|
||||
setmetatile 13, 1, 523, 0
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle1_EventScript_26B92B:: @ 826B92B
|
||||
lockall
|
||||
compare VAR_0x40AB, 0
|
||||
goto_eq Route110_TrickHousePuzzle1_EventScript_26B93D
|
||||
goto Route110_TrickHousePuzzle1_EventScript_26A3DB
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle1_EventScript_26B93D:: @ 826B93D
|
||||
setvar VAR_0x40AB, 1
|
||||
goto Route110_TrickHousePuzzle1_EventScript_26A3E5
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle1_EventScript_26B948:: @ 826B948
|
||||
trainerbattle 0, TRAINER_SALLY, 0, Route110_TrickHousePuzzle1_Text_26B9FB, Route110_TrickHousePuzzle1_Text_26BA3F
|
||||
msgbox Route110_TrickHousePuzzle1_Text_26BA57, 6
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle1_EventScript_26B95F:: @ 826B95F
|
||||
trainerbattle 0, TRAINER_EDDIE, 0, Route110_TrickHousePuzzle1_Text_26BA82, Route110_TrickHousePuzzle1_Text_26BAB0
|
||||
msgbox Route110_TrickHousePuzzle1_Text_26BAC3, 6
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle1_EventScript_26B976:: @ 826B976
|
||||
trainerbattle 0, TRAINER_ROBIN, 0, Route110_TrickHousePuzzle1_Text_26BB10, Route110_TrickHousePuzzle1_Text_26BB2E
|
||||
msgbox Route110_TrickHousePuzzle1_Text_26BB52, 6
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle1_Text_26B98D:: @ 826B98D
|
||||
.string "{PLAYER} wrote down the secret code\n"
|
||||
.string "on the door.\p"
|
||||
.string "“TRICK MASTER is fabulous.”\n"
|
||||
.string "… … … … … … … …\p"
|
||||
.string "The lock clicked open!$"
|
||||
|
||||
Route110_TrickHousePuzzle1_Text_26B9FB: @ 826B9FB
|
||||
.string "I’ll hack and slash my way to victory\n"
|
||||
.string "with the CUT we just learned!$"
|
||||
|
||||
Route110_TrickHousePuzzle1_Text_26BA3F: @ 826BA3F
|
||||
.string "Why are you so serious?$"
|
||||
|
||||
Route110_TrickHousePuzzle1_Text_26BA57: @ 826BA57
|
||||
.string "I never get tired of hacking\n"
|
||||
.string "and slashing!$"
|
||||
|
||||
Route110_TrickHousePuzzle1_Text_26BA82: @ 826BA82
|
||||
.string "I wandered into this weird house\n"
|
||||
.string "by accident…$"
|
||||
|
||||
Route110_TrickHousePuzzle1_Text_26BAB0: @ 826BAB0
|
||||
.string "And now I’ve lost…$"
|
||||
|
||||
Route110_TrickHousePuzzle1_Text_26BAC3: @ 826BAC3
|
||||
.string "I lost my way, I lost a battle, and I’m\n"
|
||||
.string "now even more lost… I can’t get out…$"
|
||||
|
||||
Route110_TrickHousePuzzle1_Text_26BB10: @ 826BB10
|
||||
.string "Just who is the TRICK MASTER?$"
|
||||
|
||||
Route110_TrickHousePuzzle1_Text_26BB2E: @ 826BB2E
|
||||
.string "I lost while I was lost in thought!$"
|
||||
|
||||
Route110_TrickHousePuzzle1_Text_26BB52: @ 826BB52
|
||||
.string "You’re strong!\n"
|
||||
.string "Just who are you?$"
|
||||
|
||||
Reference in New Issue
Block a user