mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-07 08:35:23 +13:00
First Commit
Upload literally everything from the pokecrystal16 expand-move-ID branch
This commit is contained in:
commit
2f8a41f833
4618 changed files with 480386 additions and 0 deletions
39
engine/phone/scripts/reena.asm
Normal file
39
engine/phone/scripts/reena.asm
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
ReenaPhoneCalleeScript:
|
||||
gettrainername STRING_BUFFER_3, COOLTRAINERF, REENA1
|
||||
checkflag ENGINE_REENA_READY_FOR_REMATCH
|
||||
iftrue .WantsBattle
|
||||
farscall PhoneScript_AnswerPhone_Female
|
||||
checkflag ENGINE_REENA_SUNDAY_MORNING
|
||||
iftrue .NotSunday
|
||||
readvar VAR_WEEKDAY
|
||||
ifnotequal SUNDAY, .NotSunday
|
||||
checktime MORN
|
||||
iftrue ReenaSundayMorning
|
||||
|
||||
.NotSunday:
|
||||
farsjump ReenaForwardScript
|
||||
|
||||
.WantsBattle:
|
||||
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_27
|
||||
farsjump ReenaHurryScript
|
||||
|
||||
ReenaPhoneCallerScript:
|
||||
gettrainername STRING_BUFFER_3, COOLTRAINERF, REENA1
|
||||
farscall PhoneScript_GreetPhone_Female
|
||||
checkflag ENGINE_REENA_READY_FOR_REMATCH
|
||||
iftrue .Generic
|
||||
checkflag ENGINE_REENA_SUNDAY_MORNING
|
||||
iftrue .Generic
|
||||
farscall PhoneScript_Random2
|
||||
ifequal 0, ReenaWantsBattle
|
||||
|
||||
.Generic:
|
||||
farsjump Phone_GenericCall_Female
|
||||
|
||||
ReenaSundayMorning:
|
||||
setflag ENGINE_REENA_SUNDAY_MORNING
|
||||
|
||||
ReenaWantsBattle:
|
||||
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_27
|
||||
setflag ENGINE_REENA_READY_FOR_REMATCH
|
||||
farsjump PhoneScript_WantsToBattle_Female
|
||||
Loading…
Add table
Add a link
Reference in a new issue