diff options
author | yenatch <yenatch@gmail.com> | 2014-06-13 21:18:14 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-06-13 21:18:14 -0700 |
commit | eb9fc6676cfed0460d19ce441134dbcdfce49b0d (patch) | |
tree | c848f4046320a1dc1141bf454330f28eac992777 /wram.asm | |
parent | 560b892b2d24dc7d8766d59eb65337a07e7b3235 (diff) |
More battle code cleanup.
- Use more substatus constants.
- Reformat some code to be more atomic.
- Add constants for unused status prevention held item effects.
- Remove pointless or redundant comments.
Diffstat (limited to 'wram.asm')
-rw-r--r-- | wram.asm | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -552,7 +552,11 @@ LinkBattleRNCount:: ; c6e5 CurEnemyMoveNum:: ; c6e9 ds 1 - ds 10 + ds 2 + +wPayDayMoney:: ds 3 ; c6ec + + ds 5 AlreadyDisobeyed:: ; c6f4 ds 1 @@ -1176,8 +1180,12 @@ OTPartyMon6:: party_struct OTPartyMon6 ; d378 OTPartyMonOT:: ds NAME_LENGTH * PARTY_LENGTH ; d3a8 OTPartyMonNicknames:: ds PKMN_NAME_LENGTH * PARTY_LENGTH ; d3ea + ds 4 + +wBattleAction:: ds 1 ; d430 + + ds 1 -SECTION "Map Events", WRAMX[$d432], BANK[1] MapStatus:: ; d432 ds 1 MapEventStatus:: ; d433 |