2018-12-31 13:32:04 -08:00
|
|
|
ElmPhoneCalleeScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_SPECIALPHONECALL
|
2018-12-30 14:15:52 -08:00
|
|
|
ifequal SPECIALCALL_POKERUS, .pokerus
|
|
|
|
checkevent EVENT_SHOWED_TOGEPI_TO_ELM
|
|
|
|
iftrue .discovery
|
|
|
|
checkevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE
|
|
|
|
iffalse .next
|
|
|
|
checkevent EVENT_TOGEPI_HATCHED
|
|
|
|
iftrue .egghatched
|
|
|
|
.next
|
|
|
|
checkevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE
|
|
|
|
iftrue .eggunhatched
|
|
|
|
checkevent EVENT_ELMS_AIDE_IN_LAB
|
|
|
|
iftrue .assistant
|
|
|
|
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
|
|
|
iftrue .checkingegg
|
|
|
|
checkevent EVENT_ELM_CALLED_ABOUT_STOLEN_POKEMON
|
|
|
|
iftrue .stolen
|
|
|
|
checkevent EVENT_GOT_MYSTERY_EGG_FROM_MR_POKEMON
|
|
|
|
iftrue .sawmrpokemon
|
2019-10-20 15:24:17 -07:00
|
|
|
farwritetext ElmPhoneHealYourMonText
|
2018-12-30 14:15:52 -08:00
|
|
|
end
|
|
|
|
|
|
|
|
.sawmrpokemon
|
|
|
|
farwritetext ElmPhoneSawMrPokemonText
|
|
|
|
end
|
|
|
|
|
|
|
|
.stolen
|
|
|
|
farwritetext ElmPhonePokemonStolenText
|
|
|
|
end
|
|
|
|
|
|
|
|
.checkingegg
|
2019-10-20 15:24:17 -07:00
|
|
|
farwritetext ElmPhoneCheckingTheEggText
|
2018-12-30 14:15:52 -08:00
|
|
|
end
|
|
|
|
|
|
|
|
.assistant
|
|
|
|
farwritetext ElmPhoneAssistantText
|
|
|
|
end
|
|
|
|
|
|
|
|
.eggunhatched
|
2019-10-20 15:24:17 -07:00
|
|
|
farwritetext ElmPhoneHowIsTheEggText
|
2018-12-30 14:15:52 -08:00
|
|
|
end
|
|
|
|
|
|
|
|
.egghatched
|
|
|
|
farwritetext ElmPhoneEggHatchedText
|
|
|
|
setevent EVENT_TOLD_ELM_ABOUT_TOGEPI_OVER_THE_PHONE
|
|
|
|
end
|
|
|
|
|
|
|
|
.discovery
|
|
|
|
random 2
|
|
|
|
ifequal 0, .nextdiscovery
|
2019-10-20 15:24:17 -07:00
|
|
|
farwritetext ElmPhoneDiscoveredHatchTimeText
|
2018-12-30 14:15:52 -08:00
|
|
|
end
|
|
|
|
|
|
|
|
.nextdiscovery
|
2019-10-20 15:24:17 -07:00
|
|
|
farwritetext ElmPhoneInvestigatingEggMovesText
|
2018-12-30 14:15:52 -08:00
|
|
|
end
|
|
|
|
|
|
|
|
.pokerus
|
2019-10-20 15:24:17 -07:00
|
|
|
farwritetext ElmPhoneDiscoveredPokerusText
|
2018-12-30 14:15:52 -08:00
|
|
|
specialphonecall SPECIALCALL_NONE
|
|
|
|
end
|
|
|
|
|
2018-12-31 13:32:04 -08:00
|
|
|
ElmPhoneCallerScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_SPECIALPHONECALL
|
2018-12-30 14:15:52 -08:00
|
|
|
ifequal SPECIALCALL_ROBBED, .disaster
|
|
|
|
ifequal SPECIALCALL_ASSISTANT, .assistant
|
|
|
|
ifequal SPECIALCALL_WEIRDBROADCAST, .rocket
|
|
|
|
ifequal SPECIALCALL_SSTICKET, .gift
|
|
|
|
ifequal SPECIALCALL_MASTERBALL, .gift
|
2019-10-20 15:24:17 -07:00
|
|
|
farwritetext ElmPhoneDiscoveredPokerusText
|
2018-12-30 14:15:52 -08:00
|
|
|
specialphonecall SPECIALCALL_NONE
|
|
|
|
end
|
|
|
|
|
|
|
|
.disaster
|
|
|
|
farwritetext ElmPhoneDisasterText
|
|
|
|
specialphonecall SPECIALCALL_NONE
|
|
|
|
setevent EVENT_ELM_CALLED_ABOUT_STOLEN_POKEMON
|
|
|
|
end
|
|
|
|
|
|
|
|
.assistant
|
|
|
|
farwritetext ElmPhoneEggAssistantText
|
|
|
|
specialphonecall SPECIALCALL_NONE
|
|
|
|
clearevent EVENT_ELMS_AIDE_IN_VIOLET_POKEMON_CENTER
|
|
|
|
setevent EVENT_ELMS_AIDE_IN_LAB
|
|
|
|
end
|
|
|
|
|
|
|
|
.rocket
|
2019-10-20 15:24:17 -07:00
|
|
|
farwritetext ElmPhoneRadioTowerRocketTakeoverText
|
2018-12-30 14:15:52 -08:00
|
|
|
specialphonecall SPECIALCALL_NONE
|
|
|
|
end
|
|
|
|
|
|
|
|
.gift
|
|
|
|
farwritetext ElmPhoneGiftText
|
|
|
|
specialphonecall SPECIALCALL_NONE
|
|
|
|
end
|
|
|
|
|
2020-10-26 12:45:57 -07:00
|
|
|
.neat ; unreferenced
|
2019-10-20 15:24:17 -07:00
|
|
|
farwritetext ElmPhoneGotAholdOfSomethingNeatText
|
2018-12-30 14:15:52 -08:00
|
|
|
specialphonecall SPECIALCALL_NONE
|
|
|
|
end
|