Use constant for number of times needed to beat mewtwo bonus stage for mew

This commit is contained in:
Marcus Huderle
2017-07-02 14:43:51 -05:00
parent 7fc29c831b
commit 470e41e585
2 changed files with 4 additions and 1 deletions

View File

@@ -6,3 +6,6 @@ EVOLUTION_MODE_SLOT_REWARD EQU 2
SPECIAL_MODE_CATCHEM EQU 1
SPECIAL_MODE_EVOLUTION EQU 2
SPECIAL_MODE_MAP_MOVE EQU 2 ; shares value with SPECIAL_MODE_EVOLUTION
; To encounter Mew, you must first beat Mewtwo's bonus stage 2 times.
NUM_MEWTWO_COMPLETIONS_FOR_MEW EQU 2

View File

@@ -368,7 +368,7 @@ CheckForMew:
cp $8
jr nz, .asm_10155
ld a, [wNumMewtwoBonusCompletions]
cp $2
cp NUM_MEWTWO_COMPLETIONS_FOR_MEW
jr nz, .asm_10155
pop af
xor a