mirror of
https://github.com/pret/pokefirered.git
synced 2026-06-02 22:04:27 -05:00
260 lines
5.7 KiB
PHP
260 lines
5.7 KiB
PHP
SixIsland_DottedHole_SapphireRoom_MapScripts:: @ 81641B4
|
|
.byte 0
|
|
|
|
SixIsland_DottedHole_SapphireRoom_EventScript_1641B5:: @ 81641B5
|
|
lock
|
|
faceplayer
|
|
textcolor 3
|
|
playfanfare MUS_FAN5
|
|
message Text_17BD82
|
|
waitmessage
|
|
waitfanfare
|
|
closemessage
|
|
setobjectxyperm 2, 5, 0
|
|
addobject 2
|
|
playse SE_RU_HYUU
|
|
applymovement 2, Movement_16440F
|
|
waitmovement 0
|
|
playse SE_W070
|
|
compare VAR_FACING, DIR_NORTH
|
|
call_if_eq EventScript_16430F
|
|
compare VAR_FACING, DIR_SOUTH
|
|
call_if_eq EventScript_16430F
|
|
compare VAR_FACING, DIR_EAST
|
|
call_if_eq EventScript_16431A
|
|
compare VAR_FACING, DIR_WEST
|
|
call_if_eq EventScript_16431A
|
|
setvar VAR_0x8004, 3
|
|
setvar VAR_0x8005, 0
|
|
setvar VAR_0x8006, 12
|
|
setvar VAR_0x8007, 3
|
|
special Special_ShakeScreen
|
|
delay 60
|
|
compare VAR_FACING, DIR_NORTH
|
|
call_if_eq EventScript_164325
|
|
compare VAR_FACING, DIR_SOUTH
|
|
call_if_eq EventScript_164330
|
|
compare VAR_FACING, DIR_EAST
|
|
call_if_eq EventScript_16433B
|
|
compare VAR_FACING, DIR_WEST
|
|
call_if_eq EventScript_164346
|
|
textcolor 0
|
|
msgbox gUnknown_817BD97
|
|
closemessage
|
|
compare VAR_FACING, DIR_NORTH
|
|
call_if_eq EventScript_164351
|
|
compare VAR_FACING, DIR_SOUTH
|
|
call_if_eq EventScript_164366
|
|
compare VAR_FACING, DIR_EAST
|
|
call_if_eq EventScript_16437B
|
|
compare VAR_FACING, DIR_WEST
|
|
call_if_eq EventScript_164390
|
|
removeobject 1
|
|
compare VAR_FACING, DIR_NORTH
|
|
call_if_eq EventScript_1642F9
|
|
compare VAR_FACING, DIR_SOUTH
|
|
call_if_eq EventScript_1642F9
|
|
compare VAR_FACING, DIR_EAST
|
|
call_if_eq EventScript_164304
|
|
compare VAR_FACING, DIR_WEST
|
|
call_if_eq EventScript_164304
|
|
msgbox gUnknown_817BDD4
|
|
closemessage
|
|
compare VAR_FACING, DIR_NORTH
|
|
call_if_eq EventScript_1643A5
|
|
compare VAR_FACING, DIR_SOUTH
|
|
call_if_eq EventScript_1643B7
|
|
compare VAR_FACING, DIR_EAST
|
|
call_if_eq EventScript_1643C9
|
|
compare VAR_FACING, DIR_WEST
|
|
call_if_eq EventScript_1643DB
|
|
playse SE_KAIDAN
|
|
delay 35
|
|
removeobject 2
|
|
setflag FLAG_LEARNED_YES_NAH_CHANSEY
|
|
release
|
|
end
|
|
|
|
EventScript_1642F9:: @ 81642F9
|
|
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestLeft
|
|
waitmovement 0
|
|
return
|
|
|
|
EventScript_164304:: @ 8164304
|
|
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestDown
|
|
waitmovement 0
|
|
return
|
|
|
|
EventScript_16430F:: @ 816430F
|
|
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestLeft
|
|
waitmovement 0
|
|
return
|
|
|
|
EventScript_16431A:: @ 816431A
|
|
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestDown
|
|
waitmovement 0
|
|
return
|
|
|
|
EventScript_164325:: @ 8164325
|
|
applymovement 2, Movement_1643ED
|
|
waitmovement 0
|
|
return
|
|
|
|
EventScript_164330:: @ 8164330
|
|
applymovement 2, Movement_1643ED
|
|
waitmovement 0
|
|
return
|
|
|
|
EventScript_16433B:: @ 816433B
|
|
applymovement 2, Movement_1643F1
|
|
waitmovement 0
|
|
return
|
|
|
|
EventScript_164346:: @ 8164346
|
|
applymovement 2, Movement_1643F1
|
|
waitmovement 0
|
|
return
|
|
|
|
EventScript_164351:: @ 8164351
|
|
applymovement 2, Movement_1643F5
|
|
waitmovement 0
|
|
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestUp
|
|
waitmovement 0
|
|
return
|
|
|
|
EventScript_164366:: @ 8164366
|
|
applymovement 2, Movement_1643F5
|
|
waitmovement 0
|
|
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestDown
|
|
waitmovement 0
|
|
return
|
|
|
|
EventScript_16437B:: @ 816437B
|
|
applymovement 2, Movement_1643F7
|
|
waitmovement 0
|
|
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
|
|
waitmovement 0
|
|
return
|
|
|
|
EventScript_164390:: @ 8164390
|
|
applymovement 2, Movement_1643F7
|
|
waitmovement 0
|
|
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestLeft
|
|
waitmovement 0
|
|
return
|
|
|
|
EventScript_1643A5:: @ 81643A5
|
|
applymovement OBJ_EVENT_ID_PLAYER, Movement_16441C
|
|
applymovement 2, Movement_1643F9
|
|
waitmovement 0
|
|
return
|
|
|
|
EventScript_1643B7:: @ 81643B7
|
|
applymovement OBJ_EVENT_ID_PLAYER, Movement_16441C
|
|
applymovement 2, Movement_164401
|
|
waitmovement 0
|
|
return
|
|
|
|
EventScript_1643C9:: @ 81643C9
|
|
applymovement OBJ_EVENT_ID_PLAYER, Movement_16441C
|
|
applymovement 2, Movement_164409
|
|
waitmovement 0
|
|
return
|
|
|
|
EventScript_1643DB:: @ 81643DB
|
|
applymovement OBJ_EVENT_ID_PLAYER, Movement_16441C
|
|
applymovement 2, Movement_164409
|
|
waitmovement 0
|
|
return
|
|
|
|
Movement_1643ED:: @ 81643ED
|
|
walk_up
|
|
walk_up
|
|
walk_in_place_fastest_right
|
|
step_end
|
|
|
|
Movement_1643F1:: @ 81643F1
|
|
walk_right
|
|
walk_right
|
|
walk_in_place_fastest_up
|
|
step_end
|
|
|
|
Movement_1643F5:: @ 81643F5
|
|
walk_right
|
|
step_end
|
|
|
|
Movement_1643F7:: @ 81643F7
|
|
walk_up
|
|
step_end
|
|
|
|
Movement_1643F9:: @ 81643F9
|
|
walk_fast_up
|
|
walk_fast_right
|
|
walk_fast_right
|
|
walk_fast_right
|
|
walk_fast_down
|
|
walk_fast_right
|
|
walk_fast_right
|
|
step_end
|
|
|
|
Movement_164401:: @ 8164401
|
|
walk_fast_down
|
|
walk_fast_right
|
|
walk_fast_right
|
|
walk_fast_right
|
|
walk_fast_up
|
|
walk_fast_right
|
|
walk_fast_right
|
|
step_end
|
|
|
|
Movement_164409:: @ 8164409
|
|
walk_fast_right
|
|
walk_fast_right
|
|
walk_fast_right
|
|
walk_fast_right
|
|
walk_fast_up
|
|
step_end
|
|
|
|
Movement_16440F:: @ 816440F
|
|
face_down
|
|
disable_anim
|
|
slide_down
|
|
slide_down
|
|
slide_down
|
|
slide_down
|
|
slide_down
|
|
slide_down
|
|
slide_down
|
|
slide_down
|
|
slide_down
|
|
restore_anim
|
|
step_end
|
|
|
|
Movement_16441C:: @ 816441C
|
|
delay_16
|
|
walk_in_place_fastest_right
|
|
step_end
|
|
|
|
SixIsland_DottedHole_SapphireRoom_EventScript_16441F:: @ 816441F
|
|
lockall
|
|
setvar VAR_0x8005, 130
|
|
braillemessage_wait Braille_Text_LetTheTwo
|
|
braillemessage_wait Braille_Text_Glittering
|
|
braillemessage_wait Braille_Text_Stones
|
|
braillemessage_wait Braille_Text_OneInRed
|
|
braillemessage_wait Braille_Text_OneInBlue
|
|
braillemessage_wait Braille_Text_ConnectThe
|
|
braillemessage_wait Braille_Text_Past
|
|
braillemessage_wait Braille_Text_TwoFriends
|
|
braillemessage_wait Braille_Text_Sharing
|
|
braillemessage_wait Braille_Text_PowerOpen
|
|
braillemessage_wait Braille_Text_AWindowTo
|
|
braillemessage_wait Braille_Text_ANewWorld
|
|
braillemessage_wait Braille_Text_ThatGlows
|
|
braillemessage_wait Braille_Text_TheNext
|
|
braillemessage_wait Braille_Text_WorldWaits
|
|
braillemessage Braille_Text_ForYou
|
|
waitbuttonpress
|
|
releaseall
|
|
end
|