diff options
author | xCrystal <rgr.crystal@gmail.com> | 2018-02-07 20:18:24 +0100 |
---|---|---|
committer | xCrystal <rgr.crystal@gmail.com> | 2018-02-07 20:18:24 +0100 |
commit | b9f2f4ee8e9218436b7ce36804bf404901f87d0f (patch) | |
tree | 1637f4a18b03c9b682f060320e34d606d13c73e8 /src/engine/home.asm | |
parent | 15a837c3a8a3f15bd0901de17582755f75437852 (diff) |
Use const to enumerate constants
Diffstat (limited to 'src/engine/home.asm')
-rwxr-xr-x | src/engine/home.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/home.asm b/src/engine/home.asm index 2946235..01a66d0 100755 --- a/src/engine/home.asm +++ b/src/engine/home.asm @@ -5431,7 +5431,7 @@ LoadOpponentDeck: ; 2b78 (0:2b78) inc a call LoadDeck ld a, [wOpponentDeckId] - cp NUMBER_OF_DECKS + cp DECKS_END jr c, .valid_deck ld a, PRACTICE_PLAYER_DECK - 2 ld [wOpponentDeckId], a |