Move events and scripts into map dirs
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
Route110_TrickHousePuzzle6_EventObjects: @ 853E6D0
|
||||
object_event 1, EVENT_OBJ_GFX_PICNICKER, 0, 7, 9, 3, 10, 0, 0, 1, 1, Route110_TrickHousePuzzle6_EventScript_26DDE1, 0
|
||||
object_event 2, EVENT_OBJ_GFX_MAN_6, 0, 11, 10, 3, 10, 0, 0, 1, 3, Route110_TrickHousePuzzle6_EventScript_26DDF8, 0
|
||||
object_event 3, EVENT_OBJ_GFX_CAMPER, 0, 4, 5, 3, 7, 0, 0, 1, 1, Route110_TrickHousePuzzle6_EventScript_26DE0F, 0
|
||||
object_event 4, EVENT_OBJ_GFX_ITEM_BALL, 0, 11, 21, 3, 1, 0, 0, 0, 0, Route110_TrickHousePuzzle6_EventScript_29145C, 1067
|
||||
|
||||
Route110_TrickHousePuzzle6_MapWarps: @ 853E730
|
||||
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_TrickHousePuzzle6_MapBGEvents: @ 853E748
|
||||
bg_event 0, 10, 3, 0, 0, Route110_TrickHousePuzzle6_EventScript_26DDC4
|
||||
|
||||
Route110_TrickHousePuzzle6_MapEvents:: @ 853E754
|
||||
map_events Route110_TrickHousePuzzle6_EventObjects, Route110_TrickHousePuzzle6_MapWarps, 0x0, Route110_TrickHousePuzzle6_MapBGEvents
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
Route110_TrickHousePuzzle6_MapScripts:: @ 826DDA7
|
||||
map_script 3, Route110_TrickHousePuzzle6_MapScript1_26DDB2
|
||||
map_script 4, Route110_TrickHousePuzzle6_MapScript2_26DDB6
|
||||
.byte 0
|
||||
|
||||
Route110_TrickHousePuzzle6_MapScript1_26DDB2: @ 826DDB2
|
||||
special RotatingGate_InitPuzzle
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle6_MapScript2_26DDB6: @ 826DDB6
|
||||
map_script_2 VAR_TEMP_0, 16384, Route110_TrickHousePuzzle6_EventScript_26DDC0
|
||||
.2byte 0
|
||||
|
||||
Route110_TrickHousePuzzle6_EventScript_26DDC0:: @ 826DDC0
|
||||
special RotatingGate_InitPuzzleAndGraphics
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle6_EventScript_26DDC4:: @ 826DDC4
|
||||
lockall
|
||||
compare VAR_0x40B0, 0
|
||||
goto_eq Route110_TrickHousePuzzle6_EventScript_26DDD6
|
||||
goto Route110_TrickHousePuzzle6_EventScript_26A3DB
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle6_EventScript_26DDD6:: @ 826DDD6
|
||||
setvar VAR_0x40B0, 1
|
||||
goto Route110_TrickHousePuzzle6_EventScript_26A3E5
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle6_EventScript_26DDE1:: @ 826DDE1
|
||||
trainerbattle 0, TRAINER_SOPHIA, 0, Route110_TrickHousePuzzle6_Text_26DE93, Route110_TrickHousePuzzle6_Text_26DED2
|
||||
msgbox Route110_TrickHousePuzzle6_Text_26DEF3, 6
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle6_EventScript_26DDF8:: @ 826DDF8
|
||||
trainerbattle 0, TRAINER_BENNY, 0, Route110_TrickHousePuzzle6_Text_26DF55, Route110_TrickHousePuzzle6_Text_26DF8D
|
||||
msgbox Route110_TrickHousePuzzle6_Text_26DFA0, 6
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle6_EventScript_26DE0F:: @ 826DE0F
|
||||
trainerbattle 0, TRAINER_SEBASTIAN, 0, Route110_TrickHousePuzzle6_Text_26DFD7, Route110_TrickHousePuzzle6_Text_26E004
|
||||
msgbox Route110_TrickHousePuzzle6_Text_26E048, 6
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_26DE26: @ 826DE26
|
||||
.string "{PLAYER} wrote down the secret code\n"
|
||||
.string "on the door.\p"
|
||||
.string "“TRICK MASTER is my life.”\n"
|
||||
.string "… … … … … … … …\p"
|
||||
.string "The lock clicked open!$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_26DE93: @ 826DE93
|
||||
.string "When I heard there was a strange\n"
|
||||
.string "house, I had to check it out.$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_26DED2: @ 826DED2
|
||||
.string "I’ve discovered a tough TRAINER!$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_26DEF3: @ 826DEF3
|
||||
.string "I’m sure having a good time checking\n"
|
||||
.string "this place out.\p"
|
||||
.string "It’s a challenge I’ve found worth\n"
|
||||
.string "repeating!$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_26DF55: @ 826DF55
|
||||
.string "Maybe I could get my BIRD POKéMON\n"
|
||||
.string "to fly over the wall…$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_26DF8D: @ 826DF8D
|
||||
.string "Gwaaah! I blew it!$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_26DFA0: @ 826DFA0
|
||||
.string "Ehehehe… I guess I lost because\n"
|
||||
.string "I was trying to cheat.$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_26DFD7: @ 826DFD7
|
||||
.string "I’m getting dizzy from these rotating\n"
|
||||
.string "doors…$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_26E004: @ 826E004
|
||||
.string "Everything’s spinning around and\n"
|
||||
.string "around. I can’t take this anymore…$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_26E048: @ 826E048
|
||||
.string "You don’t seem to be affected at all.\n"
|
||||
.string "Or do you have your poker face on?$"
|
||||
|
||||
Reference in New Issue
Block a user