Skip to content

Commit

Permalink
Bugfix - Rematches do not always trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
SoupPotato committed Jan 29, 2024
1 parent d7d50a4 commit de6c289
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions engine/phone/scripts/brent.asm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BrentPhoneCalleeScript:
readvar VAR_WEEKDAY
ifnotequal MONDAY, .NotMonday
checktime MORN
iftrue BrentMondayMorning
iftrue BrentWantsBattle

.NotMonday:
farsjump BrentHangUpScript
Expand All @@ -32,9 +32,6 @@ BrentPhoneCallerScript:
.Generic:
farsjump Phone_GenericCall_Male

BrentMondayMorning:
setflag ENGINE_BRENT_MONDAY_MORNING

BrentWantsBattle:
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_43
setflag ENGINE_BRENT_READY_FOR_REMATCH
Expand Down
5 changes: 1 addition & 4 deletions engine/phone/scripts/joey.asm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ JoeyPhoneCalleeScript:
readvar VAR_WEEKDAY
ifnotequal MONDAY, .NotMonday
checktime DAY
iftrue JoeyMondayAfternoon
iftrue JoeyWantsBattle

.NotMonday:
special RandomPhoneMon
Expand All @@ -32,9 +32,6 @@ JoeyPhoneCallerScript:
.Generic:
farsjump Phone_GenericCall_Male

JoeyMondayAfternoon:
setflag ENGINE_JOEY_MONDAY_AFTERNOON

JoeyWantsBattle:
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_30
setflag ENGINE_JOEY_READY_FOR_REMATCH
Expand Down

0 comments on commit de6c289

Please sign in to comment.