pokeemerald/data/maps/scripts/Route110_TrickHousePuzzle2.inc

147 lines
4.3 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Route110_TrickHousePuzzle2_MapScripts:: @ 826BB73
map_script 5, Route110_TrickHousePuzzle2_MapScript1_26BB7E
map_script 3, Route110_TrickHousePuzzle2_MapScript1_26BBAB
.byte 0
Route110_TrickHousePuzzle2_MapScript1_26BB7E: @ 826BB7E
compare_var_to_value VAR_0x4001, 1
call_if 1, Route110_TrickHousePuzzle2_EventScript_26BC29
compare_var_to_value VAR_0x4002, 1
call_if 1, Route110_TrickHousePuzzle2_EventScript_26BC3C
compare_var_to_value VAR_0x4003, 1
call_if 1, Route110_TrickHousePuzzle2_EventScript_26BC4F
compare_var_to_value VAR_0x4004, 1
call_if 1, Route110_TrickHousePuzzle2_EventScript_26BC62
end
Route110_TrickHousePuzzle2_MapScript1_26BBAB: @ 826BBAB
setvar VAR_0x4001, 0
setvar VAR_0x4002, 0
setvar VAR_0x4003, 0
setvar VAR_0x4004, 0
end
Route110_TrickHousePuzzle2_EventScript_26BBC0:: @ 826BBC0
lockall
compare_var_to_value VAR_0x40AC, 0
goto_eq Route110_TrickHousePuzzle2_EventScript_26BBD2
goto Route110_TrickHousePuzzle2_EventScript_26A3DB
end
Route110_TrickHousePuzzle2_EventScript_26BBD2:: @ 826BBD2
setvar VAR_0x40AC, 1
goto Route110_TrickHousePuzzle2_EventScript_26A3E5
end
Route110_TrickHousePuzzle2_EventScript_26BBDD:: @ 826BBDD
lockall
setvar VAR_0x4001, 1
playse SE_PIN
call Route110_TrickHousePuzzle2_EventScript_26BC29
special DrawWholeMapView
releaseall
end
Route110_TrickHousePuzzle2_EventScript_26BBF0:: @ 826BBF0
lockall
setvar VAR_0x4002, 1
playse SE_PIN
call Route110_TrickHousePuzzle2_EventScript_26BC3C
special DrawWholeMapView
releaseall
end
Route110_TrickHousePuzzle2_EventScript_26BC03:: @ 826BC03
lockall
setvar VAR_0x4003, 1
playse SE_PIN
call Route110_TrickHousePuzzle2_EventScript_26BC4F
special DrawWholeMapView
releaseall
end
Route110_TrickHousePuzzle2_EventScript_26BC16:: @ 826BC16
lockall
setvar VAR_0x4004, 1
playse SE_PIN
call Route110_TrickHousePuzzle2_EventScript_26BC62
special DrawWholeMapView
releaseall
end
Route110_TrickHousePuzzle2_EventScript_26BC29:: @ 826BC29
setmetatile 11, 12, 601, 0
setmetatile 1, 13, 618, 0
return
Route110_TrickHousePuzzle2_EventScript_26BC3C:: @ 826BC3C
setmetatile 0, 4, 601, 0
setmetatile 5, 6, 618, 0
return
Route110_TrickHousePuzzle2_EventScript_26BC4F:: @ 826BC4F
setmetatile 14, 5, 601, 0
setmetatile 7, 15, 618, 0
return
Route110_TrickHousePuzzle2_EventScript_26BC62:: @ 826BC62
setmetatile 7, 11, 601, 0
setmetatile 14, 12, 618, 0
return
Route110_TrickHousePuzzle2_EventScript_26BC75:: @ 826BC75
trainerbattle 0, TRAINER_TED, 0, Route110_TrickHousePuzzle2_Text_26BD25, Route110_TrickHousePuzzle2_Text_26BD45
msgbox Route110_TrickHousePuzzle2_Text_26BD70, 6
end
Route110_TrickHousePuzzle2_EventScript_26BC8C:: @ 826BC8C
trainerbattle 0, TRAINER_PAUL, 0, Route110_TrickHousePuzzle2_Text_26BD9E, Route110_TrickHousePuzzle2_Text_26BDCF
msgbox Route110_TrickHousePuzzle2_Text_26BDEC, 6
end
Route110_TrickHousePuzzle2_EventScript_26BCA3:: @ 826BCA3
trainerbattle 0, TRAINER_GEORGIA, 0, Route110_TrickHousePuzzle2_Text_26BE31, Route110_TrickHousePuzzle2_Text_26BE77
msgbox Route110_TrickHousePuzzle2_Text_26BE97, 6
end
Route110_TrickHousePuzzle2_Text_26BCBA: @ 826BCBA
.string "{PLAYER} wrote down the secret code\n"
.string "on the door.\p"
.string "“TRICK MASTER is smart.”\n"
.string "… … … … … … … …\p"
.string "The lock clicked open!$"
Route110_TrickHousePuzzle2_Text_26BD25: @ 826BD25
.string "Which switch closes which hole?$"
Route110_TrickHousePuzzle2_Text_26BD45: @ 826BD45
.string "After that battle, Im even more\n"
.string "confused!$"
Route110_TrickHousePuzzle2_Text_26BD70: @ 826BD70
.string "Can I get you to push all the buttons\n"
.string "for me?$"
Route110_TrickHousePuzzle2_Text_26BD9E: @ 826BD9E
.string "Oh! Youre on your second TRICK HOUSE\n"
.string "challenge!$"
Route110_TrickHousePuzzle2_Text_26BDCF: @ 826BDCF
.string "Youre good at battling too?$"
Route110_TrickHousePuzzle2_Text_26BDEC: @ 826BDEC
.string "The TRICK MASTER rigged all the tricks\n"
.string "in this house all by himself.$"
Route110_TrickHousePuzzle2_Text_26BE31: @ 826BE31
.string "I want to make my own GYM one day.\n"
.string "So, Im studying how to set traps.$"
Route110_TrickHousePuzzle2_Text_26BE77: @ 826BE77
.string "I didnt study battling enough!$"
Route110_TrickHousePuzzle2_Text_26BE97: @ 826BE97
.string "Youre strong, arent you?\n"
.string "Maybe even enough to be a GYM LEADER!$"