summaryrefslogtreecommitdiff
path: root/engine/phone/scripts/chad.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-06-16 14:11:49 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-06-16 14:32:57 -0400
commit7b2515d1e47198322407081dfe57c7ca49f22c5f (patch)
tree05e8978aa4d0fee85b7b31678253b34ccc950a44 /engine/phone/scripts/chad.asm
parent2354c41a96bdf80861338add2f0b3a67b18f160e (diff)
[in progress] Harmonize more constant and data files with pokegold
Diffstat (limited to 'engine/phone/scripts/chad.asm')
-rw-r--r--engine/phone/scripts/chad.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/phone/scripts/chad.asm b/engine/phone/scripts/chad.asm
index db24e0aa5..8e3384fdc 100644
--- a/engine/phone/scripts/chad.asm
+++ b/engine/phone/scripts/chad.asm
@@ -1,6 +1,6 @@
ChadPhoneCalleeScript:
gettrainername STRING_BUFFER_3, SCHOOLBOY, CHAD1
- checkflag ENGINE_CHAD
+ checkflag ENGINE_CHAD_READY_FOR_REMATCH
iftrue .WantsBattle
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_CHAD_FRIDAY_MORNING
@@ -22,7 +22,7 @@ ChadPhoneCallerScript:
farscall PhoneScript_GreetPhone_Male
farscall PhoneScript_Random2
ifequal 0, ChadOakGossip
- checkflag ENGINE_CHAD
+ checkflag ENGINE_CHAD_READY_FOR_REMATCH
iftrue .Generic
checkflag ENGINE_CHAD_FRIDAY_MORNING
iftrue .Generic
@@ -39,7 +39,7 @@ ChadFridayMorning:
ChadWantsBattle:
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_38
- setflag ENGINE_CHAD
+ setflag ENGINE_CHAD_READY_FOR_REMATCH
farsjump PhoneScript_WantsToBattle_Male
ChadFoundRare: