2022-06-06 14:25:42 -07:00
|
|
|
MACRO add_stdscript
|
2020-07-22 17:21:26 -07:00
|
|
|
\1StdScript::
|
|
|
|
dba \1
|
|
|
|
ENDM
|
|
|
|
|
|
|
|
StdScripts::
|
|
|
|
add_stdscript PokecenterNurseScript
|
|
|
|
add_stdscript DifficultBookshelfScript
|
|
|
|
add_stdscript PictureBookshelfScript
|
|
|
|
add_stdscript MagazineBookshelfScript
|
|
|
|
add_stdscript TeamRocketOathScript
|
|
|
|
add_stdscript IncenseBurnerScript
|
|
|
|
add_stdscript MerchandiseShelfScript
|
|
|
|
add_stdscript TownMapScript
|
|
|
|
add_stdscript WindowScript
|
|
|
|
add_stdscript TVScript
|
|
|
|
add_stdscript HomepageScript ; unused
|
|
|
|
add_stdscript Radio1Script
|
|
|
|
add_stdscript Radio2Script
|
|
|
|
add_stdscript TrashCanScript
|
|
|
|
add_stdscript StrengthBoulderScript
|
|
|
|
add_stdscript SmashRockScript
|
|
|
|
add_stdscript PokecenterSignScript
|
|
|
|
add_stdscript MartSignScript
|
|
|
|
add_stdscript GoldenrodRocketsScript
|
|
|
|
add_stdscript RadioTowerRocketsScript
|
|
|
|
add_stdscript ElevatorButtonScript
|
|
|
|
add_stdscript DayToTextScript
|
|
|
|
add_stdscript BugContestResultsWarpScript
|
|
|
|
add_stdscript BugContestResultsScript
|
|
|
|
add_stdscript InitializeEventsScript
|
|
|
|
add_stdscript AskNumber1MScript
|
|
|
|
add_stdscript AskNumber2MScript
|
|
|
|
add_stdscript RegisteredNumberMScript
|
|
|
|
add_stdscript NumberAcceptedMScript
|
|
|
|
add_stdscript NumberDeclinedMScript
|
|
|
|
add_stdscript PhoneFullMScript
|
|
|
|
add_stdscript RematchMScript
|
|
|
|
add_stdscript GiftMScript
|
|
|
|
add_stdscript PackFullMScript
|
|
|
|
add_stdscript RematchGiftMScript
|
|
|
|
add_stdscript AskNumber1FScript
|
|
|
|
add_stdscript AskNumber2FScript
|
|
|
|
add_stdscript RegisteredNumberFScript
|
|
|
|
add_stdscript NumberAcceptedFScript
|
|
|
|
add_stdscript NumberDeclinedFScript
|
|
|
|
add_stdscript PhoneFullFScript
|
|
|
|
add_stdscript RematchFScript
|
|
|
|
add_stdscript GiftFScript
|
|
|
|
add_stdscript PackFullFScript
|
|
|
|
add_stdscript RematchGiftFScript
|
|
|
|
add_stdscript GymStatue1Script
|
|
|
|
add_stdscript GymStatue2Script
|
|
|
|
add_stdscript ReceiveItemScript
|
|
|
|
add_stdscript ReceiveTogepiEggScript
|
|
|
|
add_stdscript PCScript
|
|
|
|
add_stdscript GameCornerCoinVendorScript
|
|
|
|
add_stdscript HappinessCheckScript
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2017-12-10 19:34:42 -08:00
|
|
|
PokecenterNurseScript:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-02-02 18:20:13 -08:00
|
|
|
checktime MORN
|
2013-09-07 12:30:07 -07:00
|
|
|
iftrue .morn
|
2018-02-02 18:20:13 -08:00
|
|
|
checktime DAY
|
2013-09-07 12:30:07 -07:00
|
|
|
iftrue .day
|
2023-07-31 03:27:53 -07:00
|
|
|
checktime EVE
|
|
|
|
iftrue .eve
|
2018-02-02 18:20:13 -08:00
|
|
|
checktime NITE
|
2013-09-07 12:30:07 -07:00
|
|
|
iftrue .nite
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .ok
|
2013-09-07 12:30:07 -07:00
|
|
|
|
|
|
|
.morn
|
2015-12-17 12:03:36 -08:00
|
|
|
farwritetext NurseMornText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .ok
|
2013-09-07 12:30:07 -07:00
|
|
|
|
|
|
|
.day
|
2015-12-17 12:03:36 -08:00
|
|
|
farwritetext NurseDayText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .ok
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2023-07-31 03:27:53 -07:00
|
|
|
.eve
|
|
|
|
farwritetext NurseEveText
|
|
|
|
promptbutton
|
|
|
|
sjump .ok
|
|
|
|
|
2013-09-07 12:30:07 -07:00
|
|
|
.nite
|
2015-12-17 12:03:36 -08:00
|
|
|
farwritetext NurseNiteText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .ok
|
2015-06-26 23:17:10 -07:00
|
|
|
|
|
|
|
.ok
|
2015-12-17 12:03:36 -08:00
|
|
|
farwritetext NurseAskHealText
|
2013-09-07 12:30:07 -07:00
|
|
|
yesorno
|
2015-06-26 23:17:10 -07:00
|
|
|
iffalse .done
|
|
|
|
|
2015-12-17 12:03:36 -08:00
|
|
|
farwritetext NurseTakePokemonText
|
2013-09-07 12:30:07 -07:00
|
|
|
pause 20
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject LAST_TALKED, LEFT
|
2013-09-07 12:30:07 -07:00
|
|
|
pause 10
|
2015-06-26 23:24:55 -07:00
|
|
|
special HealParty
|
2014-08-22 20:36:10 -07:00
|
|
|
playmusic MUSIC_NONE
|
2019-03-10 12:31:59 -07:00
|
|
|
setval HEALMACHINE_POKECENTER
|
2018-01-24 08:17:05 -08:00
|
|
|
special HealMachineAnim
|
2013-09-07 12:30:07 -07:00
|
|
|
pause 30
|
2015-02-11 15:03:42 -08:00
|
|
|
special RestartMapMusic
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject LAST_TALKED, DOWN
|
2013-09-07 12:30:07 -07:00
|
|
|
pause 10
|
2015-06-26 23:17:10 -07:00
|
|
|
|
|
|
|
checkphonecall ; elm already called about pokerus
|
|
|
|
iftrue .no
|
2018-01-22 12:40:43 -08:00
|
|
|
checkflag ENGINE_CAUGHT_POKERUS
|
2015-06-26 23:17:10 -07:00
|
|
|
iftrue .no
|
2018-01-24 08:17:05 -08:00
|
|
|
special CheckPokerus
|
2013-09-07 12:30:07 -07:00
|
|
|
iftrue .pokerus
|
2015-06-26 23:17:10 -07:00
|
|
|
.no
|
|
|
|
|
2015-12-17 12:03:36 -08:00
|
|
|
farwritetext NurseReturnPokemonText
|
2013-09-07 12:30:07 -07:00
|
|
|
pause 20
|
2015-06-26 23:17:10 -07:00
|
|
|
|
|
|
|
.done
|
2015-12-17 12:03:36 -08:00
|
|
|
farwritetext NurseGoodbyeText
|
2015-06-26 23:17:10 -07:00
|
|
|
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject LAST_TALKED, UP
|
2013-09-07 12:30:07 -07:00
|
|
|
pause 10
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject LAST_TALKED, DOWN
|
2013-09-07 12:30:07 -07:00
|
|
|
pause 10
|
2015-06-26 23:17:10 -07:00
|
|
|
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-09-07 12:30:07 -07:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
|
|
|
.pokerus
|
2015-12-17 12:03:36 -08:00
|
|
|
farwritetext NursePokerusText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-09-07 12:30:07 -07:00
|
|
|
closetext
|
2018-01-22 12:40:43 -08:00
|
|
|
setflag ENGINE_CAUGHT_POKERUS
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2015-06-23 13:21:54 -07:00
|
|
|
DifficultBookshelfScript:
|
|
|
|
farjumptext DifficultBookshelfText
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2015-06-23 13:21:54 -07:00
|
|
|
PictureBookshelfScript:
|
|
|
|
farjumptext PictureBookshelfText
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2015-06-23 13:21:54 -07:00
|
|
|
MagazineBookshelfScript:
|
|
|
|
farjumptext MagazineBookshelfText
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2015-06-23 13:21:54 -07:00
|
|
|
TeamRocketOathScript:
|
|
|
|
farjumptext TeamRocketOathText
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2015-06-23 13:21:54 -07:00
|
|
|
IncenseBurnerScript:
|
|
|
|
farjumptext IncenseBurnerText
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2015-06-23 13:21:54 -07:00
|
|
|
MerchandiseShelfScript:
|
|
|
|
farjumptext MerchandiseShelfText
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2015-06-23 13:21:54 -07:00
|
|
|
TownMapScript:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2019-10-20 15:24:17 -07:00
|
|
|
farwritetext LookTownMapText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2018-01-24 08:17:05 -08:00
|
|
|
special OverworldTownMap
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2015-06-23 13:21:54 -07:00
|
|
|
WindowScript:
|
|
|
|
farjumptext WindowText
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2015-06-23 13:21:54 -07:00
|
|
|
TVScript:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-06-23 13:21:54 -07:00
|
|
|
farwritetext TVText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-09-07 12:30:07 -07:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-23 13:21:54 -07:00
|
|
|
HomepageScript:
|
|
|
|
farjumptext HomepageText
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2015-06-23 14:02:58 -07:00
|
|
|
Radio1Script:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2019-03-10 12:31:59 -07:00
|
|
|
setval MAPRADIO_POKEMON_CHANNEL
|
2018-01-24 08:17:05 -08:00
|
|
|
special MapRadio
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2015-06-23 14:02:58 -07:00
|
|
|
Radio2Script:
|
|
|
|
; Lucky Channel
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2019-03-10 12:31:59 -07:00
|
|
|
setval MAPRADIO_LUCKY_CHANNEL
|
2018-01-24 08:17:05 -08:00
|
|
|
special MapRadio
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
TrashCanScript:
|
2015-06-23 14:02:58 -07:00
|
|
|
farjumptext TrashCanText
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
PCScript:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-01-24 08:17:05 -08:00
|
|
|
special PokemonCenterPC
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2015-06-23 14:02:58 -07:00
|
|
|
ElevatorButtonScript:
|
2014-08-22 20:36:10 -07:00
|
|
|
playsound SFX_READ_TEXT_2
|
2013-09-07 12:30:07 -07:00
|
|
|
pause 15
|
2014-08-22 20:36:10 -07:00
|
|
|
playsound SFX_ELEVATOR_END
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
StrengthBoulderScript:
|
2019-03-10 13:39:31 -07:00
|
|
|
farsjump AskStrengthScript
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
SmashRockScript:
|
2019-03-10 13:39:31 -07:00
|
|
|
farsjump AskRockSmashScript
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2017-12-10 19:34:42 -08:00
|
|
|
PokecenterSignScript:
|
|
|
|
farjumptext PokecenterSignText
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2018-05-05 00:19:04 -07:00
|
|
|
MartSignScript:
|
2015-06-23 14:02:58 -07:00
|
|
|
farjumptext MartSignText
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
DayToTextScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_WEEKDAY
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal MONDAY, .Monday
|
|
|
|
ifequal TUESDAY, .Tuesday
|
|
|
|
ifequal WEDNESDAY, .Wednesday
|
|
|
|
ifequal THURSDAY, .Thursday
|
|
|
|
ifequal FRIDAY, .Friday
|
|
|
|
ifequal SATURDAY, .Saturday
|
2019-03-10 12:31:59 -07:00
|
|
|
getstring STRING_BUFFER_3, .SundayText
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
2016-04-10 11:42:14 -07:00
|
|
|
.Monday:
|
2019-03-10 12:31:59 -07:00
|
|
|
getstring STRING_BUFFER_3, .MondayText
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
2016-04-10 11:42:14 -07:00
|
|
|
.Tuesday:
|
2019-03-10 12:31:59 -07:00
|
|
|
getstring STRING_BUFFER_3, .TuesdayText
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
2016-04-10 11:42:14 -07:00
|
|
|
.Wednesday:
|
2019-03-10 12:31:59 -07:00
|
|
|
getstring STRING_BUFFER_3, .WednesdayText
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
2016-04-10 11:42:14 -07:00
|
|
|
.Thursday:
|
2019-03-10 12:31:59 -07:00
|
|
|
getstring STRING_BUFFER_3, .ThursdayText
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
2016-04-10 11:42:14 -07:00
|
|
|
.Friday:
|
2019-03-10 12:31:59 -07:00
|
|
|
getstring STRING_BUFFER_3, .FridayText
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
2016-04-10 11:42:14 -07:00
|
|
|
.Saturday:
|
2019-03-10 12:31:59 -07:00
|
|
|
getstring STRING_BUFFER_3, .SaturdayText
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
2016-04-10 11:42:14 -07:00
|
|
|
.SundayText:
|
2013-09-07 12:30:07 -07:00
|
|
|
db "SUNDAY@"
|
2016-04-10 11:42:14 -07:00
|
|
|
.MondayText:
|
2013-09-07 12:30:07 -07:00
|
|
|
db "MONDAY@"
|
2016-04-10 11:42:14 -07:00
|
|
|
.TuesdayText:
|
2013-09-07 12:30:07 -07:00
|
|
|
db "TUESDAY@"
|
2016-04-10 11:42:14 -07:00
|
|
|
.WednesdayText:
|
2013-09-07 12:30:07 -07:00
|
|
|
db "WEDNESDAY@"
|
2016-04-10 11:42:14 -07:00
|
|
|
.ThursdayText:
|
2013-09-07 12:30:07 -07:00
|
|
|
db "THURSDAY@"
|
2016-04-10 11:42:14 -07:00
|
|
|
.FridayText:
|
2013-09-07 12:30:07 -07:00
|
|
|
db "FRIDAY@"
|
2016-04-10 11:42:14 -07:00
|
|
|
.SaturdayText:
|
2013-09-07 12:30:07 -07:00
|
|
|
db "SATURDAY@"
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
GoldenrodRocketsScript:
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
RadioTowerRocketsScript:
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
BugContestResultsWarpScript:
|
2015-11-11 20:38:57 -08:00
|
|
|
special ClearBGPalettes
|
2015-07-18 12:46:38 -07:00
|
|
|
scall BugContestResults_CopyContestantsToResults
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, Movement_ContestResults_WalkAfterWarp
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
BugContestResultsScript:
|
2015-07-11 23:00:17 -07:00
|
|
|
clearflag ENGINE_BUG_CONTEST_TIMER
|
2015-07-15 12:48:44 -07:00
|
|
|
clearevent EVENT_CONTEST_OFFICER_HAS_SUN_STONE
|
|
|
|
clearevent EVENT_CONTEST_OFFICER_HAS_EVERSTONE
|
|
|
|
clearevent EVENT_CONTEST_OFFICER_HAS_GOLD_BERRY
|
|
|
|
clearevent EVENT_CONTEST_OFFICER_HAS_BERRY
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext ContestResults_ReadyToJudgeText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2018-01-24 08:17:05 -08:00
|
|
|
special BugContestJudging
|
2019-03-10 12:31:59 -07:00
|
|
|
getnum STRING_BUFFER_3
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal 1, BugContestResults_FirstPlace
|
|
|
|
ifequal 2, BugContestResults_SecondPlace
|
|
|
|
ifequal 3, BugContestResults_ThirdPlace
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext ContestResults_ConsolationPrizeText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2015-11-04 17:20:14 -08:00
|
|
|
verbosegiveitem BERRY
|
2015-07-15 12:48:44 -07:00
|
|
|
iffalse BugContestResults_NoRoomForBerry
|
2014-07-22 22:05:41 -07:00
|
|
|
|
2018-05-05 00:19:04 -07:00
|
|
|
BugContestResults_DidNotWin:
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext ContestResults_DidNotWinText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump BugContestResults_FinishUp
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
BugContestResults_ReturnAfterWinnersPrize:
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext ContestResults_JoinUsNextTimeText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2014-07-22 22:05:41 -07:00
|
|
|
|
2018-05-05 00:19:04 -07:00
|
|
|
BugContestResults_FinishUp:
|
2015-07-15 12:48:44 -07:00
|
|
|
checkevent EVENT_LEFT_MONS_WITH_CONTEST_OFFICER
|
|
|
|
iffalse BugContestResults_DidNotLeaveMons
|
|
|
|
farwritetext ContestResults_ReturnPartyText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2018-01-24 08:17:05 -08:00
|
|
|
special ContestReturnMons
|
2018-05-05 00:19:04 -07:00
|
|
|
BugContestResults_DidNotLeaveMons:
|
2018-01-24 08:17:05 -08:00
|
|
|
special CheckPartyFullAfterContest
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal BUGCONTEST_CAUGHT_MON, BugContestResults_CleanUp
|
|
|
|
ifequal BUGCONTEST_NO_CATCH, BugContestResults_CleanUp
|
2018-01-11 22:40:20 -08:00
|
|
|
; BUGCONTEST_BOXED_MON
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext ContestResults_PartyFullText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2018-05-05 00:19:04 -07:00
|
|
|
BugContestResults_CleanUp:
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2015-07-16 15:10:10 -07:00
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_1A
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_2A
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_3A
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_4A
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_5A
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_6A
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_7A
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_8A
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_9A
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_10A
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_1B
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_2B
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_3B
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_4B
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_5B
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_6B
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_7B
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_8B
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_9B
|
|
|
|
setevent EVENT_BUG_CATCHING_CONTESTANT_10B
|
2015-07-15 12:48:44 -07:00
|
|
|
setflag ENGINE_DAILY_BUG_CONTEST
|
2015-02-11 15:03:42 -08:00
|
|
|
special PlayMapMusic
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
BugContestResults_FirstPlace:
|
2018-01-24 07:46:49 -08:00
|
|
|
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
2019-03-10 12:31:59 -07:00
|
|
|
getitemname STRING_BUFFER_4, SUN_STONE
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext ContestResults_PlayerWonAPrizeText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2015-11-04 17:20:14 -08:00
|
|
|
verbosegiveitem SUN_STONE
|
2015-07-15 12:48:44 -07:00
|
|
|
iffalse BugContestResults_NoRoomForSunStone
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump BugContestResults_ReturnAfterWinnersPrize
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
BugContestResults_SecondPlace:
|
2019-03-10 12:31:59 -07:00
|
|
|
getitemname STRING_BUFFER_4, EVERSTONE
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext ContestResults_PlayerWonAPrizeText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2015-11-04 17:20:14 -08:00
|
|
|
verbosegiveitem EVERSTONE
|
2015-07-15 12:48:44 -07:00
|
|
|
iffalse BugContestResults_NoRoomForEverstone
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump BugContestResults_ReturnAfterWinnersPrize
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
BugContestResults_ThirdPlace:
|
2019-03-10 12:31:59 -07:00
|
|
|
getitemname STRING_BUFFER_4, GOLD_BERRY
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext ContestResults_PlayerWonAPrizeText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2015-11-04 17:20:14 -08:00
|
|
|
verbosegiveitem GOLD_BERRY
|
2015-07-15 12:48:44 -07:00
|
|
|
iffalse BugContestResults_NoRoomForGoldBerry
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump BugContestResults_ReturnAfterWinnersPrize
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
BugContestResults_NoRoomForSunStone:
|
2015-12-17 12:03:36 -08:00
|
|
|
farwritetext BugContestPrizeNoRoomText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-07-15 12:48:44 -07:00
|
|
|
setevent EVENT_CONTEST_OFFICER_HAS_SUN_STONE
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump BugContestResults_ReturnAfterWinnersPrize
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
BugContestResults_NoRoomForEverstone:
|
2015-12-17 12:03:36 -08:00
|
|
|
farwritetext BugContestPrizeNoRoomText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-07-15 12:48:44 -07:00
|
|
|
setevent EVENT_CONTEST_OFFICER_HAS_EVERSTONE
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump BugContestResults_ReturnAfterWinnersPrize
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
BugContestResults_NoRoomForGoldBerry:
|
2015-12-17 12:03:36 -08:00
|
|
|
farwritetext BugContestPrizeNoRoomText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-07-15 12:48:44 -07:00
|
|
|
setevent EVENT_CONTEST_OFFICER_HAS_GOLD_BERRY
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump BugContestResults_ReturnAfterWinnersPrize
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
BugContestResults_NoRoomForBerry:
|
2015-12-17 12:03:36 -08:00
|
|
|
farwritetext BugContestPrizeNoRoomText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-07-15 12:48:44 -07:00
|
|
|
setevent EVENT_CONTEST_OFFICER_HAS_BERRY
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump BugContestResults_DidNotWin
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
BugContestResults_CopyContestantsToResults:
|
2015-07-16 15:10:10 -07:00
|
|
|
checkevent EVENT_BUG_CATCHING_CONTESTANT_1A
|
2013-09-07 12:30:07 -07:00
|
|
|
iftrue .skip1
|
2015-07-16 15:10:10 -07:00
|
|
|
clearevent EVENT_BUG_CATCHING_CONTESTANT_1B
|
2013-09-07 12:30:07 -07:00
|
|
|
.skip1
|
2015-07-16 15:10:10 -07:00
|
|
|
checkevent EVENT_BUG_CATCHING_CONTESTANT_2A
|
2013-09-07 12:30:07 -07:00
|
|
|
iftrue .skip2
|
2015-07-16 15:10:10 -07:00
|
|
|
clearevent EVENT_BUG_CATCHING_CONTESTANT_2B
|
2013-09-07 12:30:07 -07:00
|
|
|
.skip2
|
2015-07-16 15:10:10 -07:00
|
|
|
checkevent EVENT_BUG_CATCHING_CONTESTANT_3A
|
2013-09-07 12:30:07 -07:00
|
|
|
iftrue .skip3
|
2015-07-16 15:10:10 -07:00
|
|
|
clearevent EVENT_BUG_CATCHING_CONTESTANT_3B
|
2013-09-07 12:30:07 -07:00
|
|
|
.skip3
|
2015-07-16 15:10:10 -07:00
|
|
|
checkevent EVENT_BUG_CATCHING_CONTESTANT_4A
|
2013-09-07 12:30:07 -07:00
|
|
|
iftrue .skip4
|
2015-07-16 15:10:10 -07:00
|
|
|
clearevent EVENT_BUG_CATCHING_CONTESTANT_4B
|
2013-09-07 12:30:07 -07:00
|
|
|
.skip4
|
2015-07-16 15:10:10 -07:00
|
|
|
checkevent EVENT_BUG_CATCHING_CONTESTANT_5A
|
2013-09-07 12:30:07 -07:00
|
|
|
iftrue .skip5
|
2015-07-16 15:10:10 -07:00
|
|
|
clearevent EVENT_BUG_CATCHING_CONTESTANT_5B
|
2013-09-07 12:30:07 -07:00
|
|
|
.skip5
|
2015-07-16 15:10:10 -07:00
|
|
|
checkevent EVENT_BUG_CATCHING_CONTESTANT_6A
|
2013-09-07 12:30:07 -07:00
|
|
|
iftrue .skip6
|
2015-07-16 15:10:10 -07:00
|
|
|
clearevent EVENT_BUG_CATCHING_CONTESTANT_6B
|
2013-09-07 12:30:07 -07:00
|
|
|
.skip6
|
2015-07-16 15:10:10 -07:00
|
|
|
checkevent EVENT_BUG_CATCHING_CONTESTANT_7A
|
2013-09-07 12:30:07 -07:00
|
|
|
iftrue .skip7
|
2015-07-16 15:10:10 -07:00
|
|
|
clearevent EVENT_BUG_CATCHING_CONTESTANT_7B
|
2013-09-07 12:30:07 -07:00
|
|
|
.skip7
|
2015-07-16 15:10:10 -07:00
|
|
|
checkevent EVENT_BUG_CATCHING_CONTESTANT_8A
|
2013-09-07 12:30:07 -07:00
|
|
|
iftrue .skip8
|
2015-07-16 15:10:10 -07:00
|
|
|
clearevent EVENT_BUG_CATCHING_CONTESTANT_8B
|
2013-09-07 12:30:07 -07:00
|
|
|
.skip8
|
2015-07-16 15:10:10 -07:00
|
|
|
checkevent EVENT_BUG_CATCHING_CONTESTANT_9A
|
2013-09-07 12:30:07 -07:00
|
|
|
iftrue .skip9
|
2015-07-16 15:10:10 -07:00
|
|
|
clearevent EVENT_BUG_CATCHING_CONTESTANT_9B
|
2013-09-07 12:30:07 -07:00
|
|
|
.skip9
|
2015-07-16 15:10:10 -07:00
|
|
|
checkevent EVENT_BUG_CATCHING_CONTESTANT_10A
|
2013-09-07 12:30:07 -07:00
|
|
|
iftrue .skip10
|
2015-07-16 15:10:10 -07:00
|
|
|
clearevent EVENT_BUG_CATCHING_CONTESTANT_10B
|
2013-09-07 12:30:07 -07:00
|
|
|
.skip10
|
|
|
|
end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
InitializeEventsScript:
|
2015-07-19 01:58:31 -07:00
|
|
|
setevent EVENT_INITIALIZED_EVENTS
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
AskNumber1MScript:
|
2018-01-24 08:17:05 -08:00
|
|
|
special RandomPhoneMon
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_SCHOOLBOY_JACK, .Jack
|
|
|
|
; ifequal PHONE_SAILOR_HUEY, .Huey
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Jack:
|
|
|
|
; farwritetext JackAskNumber1Text
|
|
|
|
; end
|
|
|
|
; .Huey:
|
|
|
|
; farwritetext HueyAskNumber1Text
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
AskNumber2MScript:
|
2018-01-24 08:17:05 -08:00
|
|
|
special RandomPhoneMon
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_SCHOOLBOY_JACK, .Jack
|
|
|
|
; ifequal PHONE_SAILOR_HUEY, .Huey
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Jack:
|
|
|
|
; farwritetext JackAskNumber2Text
|
|
|
|
; end
|
|
|
|
; .Huey:
|
|
|
|
; farwritetext HueyAskNumber2Text
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
RegisteredNumberMScript:
|
|
|
|
farwritetext RegisteredNumber1Text
|
2014-08-22 20:36:10 -07:00
|
|
|
playsound SFX_REGISTER_PHONE_NUMBER
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
NumberAcceptedMScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_SCHOOLBOY_JACK, .Jack
|
|
|
|
; ifequal PHONE_SAILOR_HUEY, .Huey
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Jack:
|
|
|
|
; farwritetext JackNumberAcceptedText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
; .Huey:
|
|
|
|
; farwritetext HueyNumberAcceptedText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
NumberDeclinedMScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_SCHOOLBOY_JACK, .Jack
|
|
|
|
; ifequal PHONE_SAILOR_HUEY, .Huey
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Jack:
|
|
|
|
; farwritetext JackNumberDeclinedText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
; .Huey:
|
|
|
|
; farwritetext HueyNumberDeclinedText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
PhoneFullMScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_SCHOOLBOY_JACK, .Jack
|
|
|
|
; ifequal PHONE_SAILOR_HUEY, .Huey
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Jack:
|
|
|
|
; farwritetext JackPhoneFullText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
; .Huey:
|
|
|
|
; farwritetext HueyPhoneFullText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
RematchMScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_SCHOOLBOY_JACK, .Jack
|
|
|
|
; ifequal PHONE_SAILOR_HUEY, .Huey
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Jack:
|
|
|
|
; farwritetext JackRematchText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
; .Huey:
|
|
|
|
; farwritetext HueyRematchText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
GiftMScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_BIRDKEEPER_JOSE, .Jose
|
|
|
|
; ifequal PHONE_BUG_CATCHER_WADE, .Wade
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Jose:
|
|
|
|
; farwritetext JoseGiftText
|
|
|
|
; promptbutton
|
|
|
|
; end
|
|
|
|
; .Wade:
|
|
|
|
; farwritetext WadeGiftText
|
|
|
|
; promptbutton
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
PackFullMScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_SAILOR_HUEY, .Huey
|
|
|
|
; ifequal PHONE_BIRDKEEPER_JOSE, .Jose
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Huey:
|
|
|
|
; farwritetext HueyPackFullText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
; .Jose:
|
|
|
|
; farwritetext JosePackFullText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
RematchGiftMScript:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_SAILOR_HUEY, .Huey
|
|
|
|
; ifequal PHONE_YOUNGSTER_JOEY, .Joey
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Huey:
|
|
|
|
; farwritetext HueyRematchGiftText
|
|
|
|
; promptbutton
|
|
|
|
; end
|
|
|
|
; .Joey:
|
|
|
|
; farwritetext JoeyRematchGiftText
|
|
|
|
; promptbutton
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
AskNumber1FScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_POKEFAN_BEVERLY, .Beverly
|
|
|
|
; ifequal PHONE_COOLTRAINERF_BETH, .Beth
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Beverly:
|
|
|
|
; farwritetext BeverlyAskNumber1Text
|
|
|
|
; end
|
|
|
|
; .Beth:
|
|
|
|
; farwritetext BethAskNumber1Text
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
AskNumber2FScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_POKEFAN_BEVERLY, .Beverly
|
|
|
|
; ifequal PHONE_COOLTRAINERF_BETH, .Beth
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Beverly:
|
|
|
|
; farwritetext BeverlyAskNumber2Text
|
|
|
|
; end
|
|
|
|
; .Beth:
|
|
|
|
; farwritetext BethAskNumber2Text
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
RegisteredNumberFScript:
|
|
|
|
farwritetext RegisteredNumber2Text
|
2014-07-22 22:05:41 -07:00
|
|
|
playsound SFX_REGISTER_PHONE_NUMBER
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
NumberAcceptedFScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_POKEFAN_BEVERLY, .Beverly
|
|
|
|
; ifequal PHONE_COOLTRAINERF_BETH, .Beth
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Beverly:
|
|
|
|
; farwritetext BeverlyNumberAcceptedText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
; .Beth:
|
|
|
|
; farwritetext BethNumberAcceptedText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
NumberDeclinedFScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_POKEFAN_BEVERLY, .Beverly
|
|
|
|
; ifequal PHONE_COOLTRAINERF_BETH, .Beth
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Beverly:
|
|
|
|
; farwritetext BeverlyNumberDeclinedText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
; .Beth:
|
|
|
|
; farwritetext BethNumberDeclinedText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
PhoneFullFScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_POKEFAN_BEVERLY, .Beverly
|
|
|
|
; ifequal PHONE_COOLTRAINERF_BETH, .Beth
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Beverly:
|
|
|
|
; farwritetext BeverlyPhoneFullText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
; .Beth:
|
|
|
|
; farwritetext BethPhoneFullText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
RematchFScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_COOLTRAINERF_BETH, .Beth
|
|
|
|
; ifequal PHONE_COOLTRAINERF_REENA, .Reena
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Beth:
|
|
|
|
; farwritetext BethRematchText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
; .Reena:
|
|
|
|
; farwritetext ReenaRematchText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
GiftFScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_POKEFAN_BEVERLY, .Beverly
|
|
|
|
; ifequal PHONE_PICNICKER_GINA, .Gina
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Beverly:
|
|
|
|
; farwritetext BeverlyGiftText
|
|
|
|
; promptbutton
|
|
|
|
; end
|
|
|
|
; .Gina:
|
|
|
|
; farwritetext GinaGiftText
|
|
|
|
; promptbutton
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
PackFullFScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_POKEFAN_BEVERLY, .Beverly
|
|
|
|
; ifequal PHONE_PICNICKER_GINA, .Gina
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Beverly:
|
|
|
|
; farwritetext BeverlyPackFullText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
; .Gina:
|
|
|
|
; farwritetext GinaPackFullText
|
|
|
|
; waitbutton
|
|
|
|
; closetext
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
RematchGiftFScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_CALLERID
|
2023-07-25 07:39:30 -07:00
|
|
|
; ifequal PHONE_PICNICKER_ERIN, .Erin
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2023-07-25 07:39:30 -07:00
|
|
|
; .Erin:
|
|
|
|
; opentext
|
|
|
|
; farwritetext ErinRematchGiftText
|
|
|
|
; promptbutton
|
|
|
|
; end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
GymStatue1Script:
|
2019-03-10 12:31:59 -07:00
|
|
|
getcurlandmarkname STRING_BUFFER_3
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext GymStatue_CityGymText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-09-07 12:30:07 -07:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
GymStatue2Script:
|
2019-03-10 12:31:59 -07:00
|
|
|
getcurlandmarkname STRING_BUFFER_3
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext GymStatue_CityGymText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext GymStatue_WinningTrainersText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-09-07 12:30:07 -07:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
ReceiveItemScript:
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext ReceivedItemText
|
2014-07-22 22:05:41 -07:00
|
|
|
playsound SFX_ITEM
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
ReceiveTogepiEggScript:
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext ReceivedItemText
|
2019-09-23 10:03:19 -07:00
|
|
|
playsound SFX_GET_EGG
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2013-09-07 12:30:07 -07:00
|
|
|
end
|
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
GameCornerCoinVendorScript:
|
2013-09-07 12:30:07 -07:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext CoinVendor_WelcomeText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2013-09-07 12:30:07 -07:00
|
|
|
checkitem COIN_CASE
|
2015-07-15 12:48:44 -07:00
|
|
|
iftrue CoinVendor_IntroScript
|
|
|
|
farwritetext CoinVendor_NoCoinCaseText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-09-07 12:30:07 -07:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
CoinVendor_IntroScript:
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext CoinVendor_IntroText
|
2014-07-22 22:05:41 -07:00
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
.loop
|
2018-01-24 08:17:05 -08:00
|
|
|
special DisplayMoneyAndCoinBalance
|
2018-02-25 17:05:37 -08:00
|
|
|
loadmenu .MenuHeader
|
2015-12-15 15:59:49 -08:00
|
|
|
verticalmenu
|
2015-12-24 19:58:42 -08:00
|
|
|
closewindow
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal 1, .Buy50
|
|
|
|
ifequal 2, .Buy500
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .Cancel
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
.Buy50:
|
2018-01-10 22:45:27 -08:00
|
|
|
checkcoins MAX_COINS - 50
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal HAVE_MORE, .CoinCaseFull
|
2018-01-11 22:40:20 -08:00
|
|
|
checkmoney YOUR_MONEY, 1000
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal HAVE_LESS, .NotEnoughMoney
|
2013-09-07 12:30:07 -07:00
|
|
|
givecoins 50
|
2018-01-11 22:40:20 -08:00
|
|
|
takemoney YOUR_MONEY, 1000
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2014-07-22 22:05:41 -07:00
|
|
|
playsound SFX_TRANSACTION
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext CoinVendor_Buy50CoinsText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .loop
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
.Buy500:
|
2018-01-10 22:45:27 -08:00
|
|
|
checkcoins MAX_COINS - 500
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal HAVE_MORE, .CoinCaseFull
|
2018-01-11 22:40:20 -08:00
|
|
|
checkmoney YOUR_MONEY, 10000
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal HAVE_LESS, .NotEnoughMoney
|
2013-09-07 12:30:07 -07:00
|
|
|
givecoins 500
|
2018-01-11 22:40:20 -08:00
|
|
|
takemoney YOUR_MONEY, 10000
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2014-07-22 22:05:41 -07:00
|
|
|
playsound SFX_TRANSACTION
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext CoinVendor_Buy500CoinsText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .loop
|
2013-09-07 12:30:07 -07:00
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
.NotEnoughMoney:
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext CoinVendor_NotEnoughMoneyText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-09-07 12:30:07 -07:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
.CoinCaseFull:
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext CoinVendor_CoinCaseFullText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-09-07 12:30:07 -07:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
.Cancel:
|
2015-07-15 12:48:44 -07:00
|
|
|
farwritetext CoinVendor_CancelText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-09-07 12:30:07 -07:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-01-23 13:08:43 -08:00
|
|
|
.MenuHeader:
|
2018-01-14 02:59:56 -08:00
|
|
|
db MENU_BACKUP_TILES ; flags
|
2018-01-13 13:38:14 -08:00
|
|
|
menu_coords 0, 4, 15, TEXTBOX_Y - 1
|
2018-01-23 13:08:43 -08:00
|
|
|
dw .MenuData
|
2013-09-07 12:30:07 -07:00
|
|
|
db 1 ; default option
|
|
|
|
|
2018-01-23 13:08:43 -08:00
|
|
|
.MenuData:
|
2018-01-14 02:59:56 -08:00
|
|
|
db STATICMENU_CURSOR ; flags
|
2013-09-07 12:30:07 -07:00
|
|
|
db 3 ; items
|
|
|
|
db " 50 : ¥1000@"
|
|
|
|
db "500 : ¥10000@"
|
|
|
|
db "CANCEL@"
|
|
|
|
|
2015-06-24 18:26:24 -07:00
|
|
|
HappinessCheckScript:
|
2013-09-07 12:30:07 -07:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-01-24 08:17:05 -08:00
|
|
|
special GetFirstPokemonHappiness
|
2018-02-02 18:09:17 -08:00
|
|
|
ifless 50, .Unhappy
|
|
|
|
ifless 150, .KindaHappy
|
2015-06-24 18:26:24 -07:00
|
|
|
farwritetext HappinessText3
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-09-07 12:30:07 -07:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.KindaHappy:
|
2015-06-24 18:26:24 -07:00
|
|
|
farwritetext HappinessText2
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-09-07 12:30:07 -07:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.Unhappy:
|
2015-06-24 18:26:24 -07:00
|
|
|
farwritetext HappinessText1
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-09-07 12:30:07 -07:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
Movement_ContestResults_WalkAfterWarp:
|
2016-05-14 10:46:14 -07:00
|
|
|
step RIGHT
|
|
|
|
step DOWN
|
|
|
|
turn_head UP
|
2013-09-07 12:30:07 -07:00
|
|
|
step_end
|