diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-01-23 10:56:36 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-01-23 10:56:36 -0500 |
commit | 7c0553b2d25b8e76615afd83e2d6a65d4df9c4fd (patch) | |
tree | 142074a15e57efde82e63ff120cac7c77cedea75 | |
parent | 94ae404732b512c60cf82111bb2f65013fdfbf39 (diff) |
x is the standard temp variable
-rwxr-xr-x | engine/events/battle_tower/battle_tower.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/events/battle_tower/battle_tower.asm b/engine/events/battle_tower/battle_tower.asm index 94a29cdab..b1d12bc5f 100755 --- a/engine/events/battle_tower/battle_tower.asm +++ b/engine/events/battle_tower/battle_tower.asm @@ -407,11 +407,11 @@ ValidateBTParty: ; 170394 ld c, l ld a, [hl] and a -idx = $ff +x = $ff rept ($ff +- NUM_POKEMON) jr z, .invalid - cp idx -idx = idx +- 1 + cp x +x = x +- 1 endr jr nz, .valid |