Document misc special houses

This commit is contained in:
GriffinR
2019-11-02 02:19:44 -04:00
committed by huderlem
parent 390d594e21
commit e4fe21786e
8 changed files with 365 additions and 364 deletions
+44 -44
View File
@@ -5,75 +5,75 @@ Route104_MrBrineysHouse_MapScripts:: @ 8229D2E
Route104_MrBrineysHouse_OnTransition: @ 8229D34
setflag FLAG_LANDMARK_MR_BRINEY_HOUSE
compare VAR_BRINEY_HOUSE_STATE, 1
call_if_eq Route104_MrBrineysHouse_EventScript_229D50
call_if_set FLAG_RECEIVED_POKENAV, Route104_MrBrineysHouse_EventScript_229D4C
call_if_eq Route104_MrBrineysHouse_EventScript_SetBrineyPeekoPos
call_if_set FLAG_RECEIVED_POKENAV, Route104_MrBrineysHouse_EventScript_HideRustboroRival
end
Route104_MrBrineysHouse_EventScript_229D4C:: @ 8229D4C
Route104_MrBrineysHouse_EventScript_HideRustboroRival:: @ 8229D4C
setflag FLAG_HIDE_RUSBORO_CITY_RIVAL
return
Route104_MrBrineysHouse_EventScript_229D50:: @ 8229D50
Route104_MrBrineysHouse_EventScript_SetBrineyPeekoPos:: @ 8229D50
setobjectxyperm 1, 9, 3
setobjectmovementtype 1, MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_LEFT_UP_RIGHT
setobjectxyperm 2, 9, 6
setobjectmovementtype 2, MOVEMENT_TYPE_WALK_SEQUENCE_LEFT_UP_RIGHT_DOWN
return
Route104_MrBrineysHouse_EventScript_229D67:: @ 8229D67
Route104_MrBrineysHouse_EventScript_Briney:: @ 8229D67
lock
faceplayer
call_if_unset FLAG_MR_BRINEY_SAILING_INTRO, Route104_MrBrineysHouse_EventScript_229D8A
goto_if_unset FLAG_DELIVERED_STEVEN_LETTER, Route104_MrBrineysHouse_EventScript_229DE1
goto_if_unset FLAG_DELIVERED_DEVON_GOODS, Route104_MrBrineysHouse_EventScript_229DFA
goto Route104_MrBrineysHouse_EventScript_229DAE
call_if_unset FLAG_MR_BRINEY_SAILING_INTRO, Route104_MrBrineysHouse_EventScript_SailingIntro
goto_if_unset FLAG_DELIVERED_STEVEN_LETTER, Route104_MrBrineysHouse_EventScript_SailBothDeliveries
goto_if_unset FLAG_DELIVERED_DEVON_GOODS, Route104_MrBrineysHouse_EventScript_SailDeliverPackage
goto Route104_MrBrineysHouse_EventScript_WhereAreWeBound
end
Route104_MrBrineysHouse_EventScript_229D8A:: @ 8229D8A
Route104_MrBrineysHouse_EventScript_SailingIntro:: @ 8229D8A
setflag FLAG_MR_BRINEY_SAILING_INTRO
msgbox Route104_MrBrineysHouse_Text_229E70, MSGBOX_DEFAULT
msgbox Route104_MrBrineysHouse_Text_229E9B, MSGBOX_YESNO
msgbox Route104_MrBrineysHouse_Text_WaitUpPeeko, MSGBOX_DEFAULT
msgbox Route104_MrBrineysHouse_Text_ItsYouLetsSailToDewford, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq Route104_MrBrineysHouse_EventScript_229E13
goto Route104_MrBrineysHouse_EventScript_229E27
goto_if_eq Route104_MrBrineysHouse_EventScript_DeclineDeliverySailing
goto Route104_MrBrineysHouse_EventScript_SailToDewford
end
Route104_MrBrineysHouse_EventScript_229DAE:: @ 8229DAE
message Route104_MrBrineysHouse_Text_22A268
Route104_MrBrineysHouse_EventScript_WhereAreWeBound:: @ 8229DAE
message Route104_MrBrineysHouse_Text_WhereAreWeBound
waitmessage
multichoicedefault 20, 8, MULTI_BRINEY_OFF_DEWFORD, 1, 0
switch VAR_RESULT
case 0, Route104_MrBrineysHouse_EventScript_229E27
case 1, Route104_MrBrineysHouse_EventScript_229E1D
case MULTI_B_PRESSED, Route104_MrBrineysHouse_EventScript_229E1D
case 0, Route104_MrBrineysHouse_EventScript_SailToDewford
case 1, Route104_MrBrineysHouse_EventScript_DeclineSailing
case MULTI_B_PRESSED, Route104_MrBrineysHouse_EventScript_DeclineSailing
end
Route104_MrBrineysHouse_EventScript_229DE1:: @ 8229DE1
msgbox Route104_MrBrineysHouse_Text_22A0AD, MSGBOX_YESNO
Route104_MrBrineysHouse_EventScript_SailBothDeliveries:: @ 8229DE1
msgbox Route104_MrBrineysHouse_Text_NeedToMakeDeliveriesSailToDewford, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq Route104_MrBrineysHouse_EventScript_229E13
goto Route104_MrBrineysHouse_EventScript_229E27
goto_if_eq Route104_MrBrineysHouse_EventScript_DeclineDeliverySailing
goto Route104_MrBrineysHouse_EventScript_SailToDewford
end
Route104_MrBrineysHouse_EventScript_229DFA:: @ 8229DFA
msgbox Route104_MrBrineysHouse_Text_22A18F, MSGBOX_YESNO
Route104_MrBrineysHouse_EventScript_SailDeliverPackage:: @ 8229DFA
msgbox Route104_MrBrineysHouse_Text_NeedToDeliverPackageSailToDewford, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq Route104_MrBrineysHouse_EventScript_229E13
goto Route104_MrBrineysHouse_EventScript_229E27
goto_if_eq Route104_MrBrineysHouse_EventScript_DeclineDeliverySailing
goto Route104_MrBrineysHouse_EventScript_SailToDewford
end
Route104_MrBrineysHouse_EventScript_229E13:: @ 8229E13
msgbox Route104_MrBrineysHouse_Text_22A041, MSGBOX_DEFAULT
Route104_MrBrineysHouse_EventScript_DeclineDeliverySailing:: @ 8229E13
msgbox Route104_MrBrineysHouse_Text_DeclineDeliverySail, MSGBOX_DEFAULT
release
end
Route104_MrBrineysHouse_EventScript_229E1D:: @ 8229E1D
msgbox Route104_MrBrineysHouse_Text_22A2C3, MSGBOX_DEFAULT
Route104_MrBrineysHouse_EventScript_DeclineSailing:: @ 8229E1D
msgbox Route104_MrBrineysHouse_Text_TellMeWheneverYouWantToSail, MSGBOX_DEFAULT
release
end
Route104_MrBrineysHouse_EventScript_229E27:: @ 8229E27
msgbox Route104_MrBrineysHouse_Text_229FE9, MSGBOX_DEFAULT
Route104_MrBrineysHouse_EventScript_SailToDewford:: @ 8229E27
msgbox Route104_MrBrineysHouse_Text_SetSailForDewford, MSGBOX_DEFAULT
call EventScript_BackupMrBrineyLocation
setvar VAR_BOARD_BRINEY_BOAT_STATE, 1
clearflag FLAG_HIDE_ROUTE_104_MR_BRINEY
@@ -88,21 +88,21 @@ Route104_MrBrineysHouse_EventScript_229E27:: @ 8229E27
releaseall
end
Route104_MrBrineysHouse_EventScript_229E5D:: @ 8229E5D
Route104_MrBrineysHouse_EventScript_Peeko:: @ 8229E5D
lock
faceplayer
waitse
playmoncry SPECIES_WINGULL, 0
msgbox Route104_MrBrineysHouse_Text_22A337, MSGBOX_DEFAULT
msgbox Route104_MrBrineysHouse_Text_Peeko, MSGBOX_DEFAULT
waitmoncry
release
end
Route104_MrBrineysHouse_Text_229E70: @ 8229E70
Route104_MrBrineysHouse_Text_WaitUpPeeko: @ 8229E70
.string "MR. BRINEY: Hold on, lass!\n"
.string "Wait up, PEEKO!$"
Route104_MrBrineysHouse_Text_229E9B: @ 8229E9B
Route104_MrBrineysHouse_Text_ItsYouLetsSailToDewford: @ 8229E9B
.string "Hm? You're {PLAYER}{KUN}!\n"
.string "You saved my darling PEEKO!\l"
.string "We owe so much to you!\p"
@@ -117,18 +117,18 @@ Route104_MrBrineysHouse_Text_229E9B: @ 8229E9B
.string "You've come to the right man!\n"
.string "We'll set sail for DEWFORD.$"
Route104_MrBrineysHouse_Text_229FE9: @ 8229FE9
Route104_MrBrineysHouse_Text_SetSailForDewford: @ 8229FE9
.string "MR. BRINEY: DEWFORD it is, then!\p"
.string "Anchors aweigh!\n"
.string "PEEKO, we're setting sail, my darling!$"
Route104_MrBrineysHouse_Text_22A041: @ 822A041
Route104_MrBrineysHouse_Text_DeclineDeliverySail: @ 822A041
.string "MR. BRINEY: Is that so?\n"
.string "Your deliveries can wait?\p"
.string "You just go on and tell me whenever\n"
.string "you want to set sail!$"
Route104_MrBrineysHouse_Text_22A0AD: @ 822A0AD
Route104_MrBrineysHouse_Text_NeedToMakeDeliveriesSailToDewford: @ 822A0AD
.string "MR. BRINEY: Ahoy!\n"
.string "I know exactly what you want to say!\p"
.string "You're to deliver a LETTER to DEWFORD\n"
@@ -137,7 +137,7 @@ Route104_MrBrineysHouse_Text_22A0AD: @ 822A0AD
.string "at all--I'm the man for the job!\p"
.string "First, we'll set sail for DEWFORD.$"
Route104_MrBrineysHouse_Text_22A18F: @ 822A18F
Route104_MrBrineysHouse_Text_NeedToDeliverPackageSailToDewford: @ 822A18F
.string "MR. BRINEY: Ahoy!\n"
.string "I know exactly what you want to say!\p"
.string "You're to deliver a package to\n"
@@ -146,17 +146,17 @@ Route104_MrBrineysHouse_Text_22A18F: @ 822A18F
.string "at all--I'm the man for the job!\p"
.string "First, we'll set sail for DEWFORD.$"
Route104_MrBrineysHouse_Text_22A268: @ 822A268
Route104_MrBrineysHouse_Text_WhereAreWeBound: @ 822A268
.string "MR. BRINEY: Ahoy!\n"
.string "For you, I'll go out to sea anytime!\p"
.string "Now, my friend, where are we bound?$"
Route104_MrBrineysHouse_Text_22A2C3: @ 822A2C3
Route104_MrBrineysHouse_Text_TellMeWheneverYouWantToSail: @ 822A2C3
.string "MR. BRINEY: Is that so?\n"
.string "Well, PEEKO owes her life to you.\p"
.string "You just go on and tell me whenever\n"
.string "you want to set sail!$"
Route104_MrBrineysHouse_Text_22A337: @ 822A337
Route104_MrBrineysHouse_Text_Peeko: @ 822A337
.string "PEEKO: Pii piihyoro!$"