mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-07 16:45:24 +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
48
engine/phone/scripts/derek.asm
Normal file
48
engine/phone/scripts/derek.asm
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
DerekPhoneCalleeScript:
|
||||
gettrainername STRING_BUFFER_3, POKEFANM, DEREK1
|
||||
farscall PhoneScript_AnswerPhone_Male
|
||||
checkflag ENGINE_DEREK_HAS_NUGGET
|
||||
iftrue .Nugget
|
||||
farscall PhoneScript_Random2
|
||||
ifequal 0, .NoContest
|
||||
checkflag ENGINE_DAILY_BUG_CONTEST
|
||||
iftrue .NoContest
|
||||
readvar VAR_WEEKDAY
|
||||
ifequal TUESDAY, .ContestToday
|
||||
ifequal THURSDAY, .ContestToday
|
||||
ifequal SATURDAY, .ContestToday
|
||||
|
||||
.NoContest:
|
||||
farsjump DerekHangUpScript
|
||||
|
||||
.ContestToday:
|
||||
farsjump PhoneScript_BugCatchingContest
|
||||
|
||||
.Nugget:
|
||||
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_39
|
||||
farsjump DerekComePickUpScript
|
||||
|
||||
DerekPhoneCallerScript:
|
||||
gettrainername STRING_BUFFER_3, POKEFANM, DEREK1
|
||||
farscall PhoneScript_GreetPhone_Male
|
||||
farscall PhoneScript_Random2
|
||||
ifequal 0, .NoContest
|
||||
checkflag ENGINE_DAILY_BUG_CONTEST
|
||||
iftrue .NoContest
|
||||
readvar VAR_WEEKDAY
|
||||
ifequal TUESDAY, .ContestToday
|
||||
ifequal THURSDAY, .ContestToday
|
||||
ifequal SATURDAY, .ContestToday
|
||||
|
||||
.NoContest:
|
||||
farscall PhoneScript_Random4
|
||||
ifequal 0, .Nugget
|
||||
farsjump Phone_GenericCall_Male
|
||||
|
||||
.ContestToday:
|
||||
farsjump PhoneScript_BugCatchingContest
|
||||
|
||||
.Nugget:
|
||||
setflag ENGINE_DEREK_HAS_NUGGET
|
||||
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_39
|
||||
farsjump PhoneScript_FoundItem_Male
|
||||
Loading…
Add table
Add a link
Reference in a new issue