diff options
| author | xCrystal <rgr.crystal@gmail.com> | 2017-12-30 01:54:27 +0100 |
|---|---|---|
| committer | xCrystal <rgr.crystal@gmail.com> | 2017-12-30 01:54:27 +0100 |
| commit | 237aeb8fbdb204948d611830565d4a00c6b0ab70 (patch) | |
| tree | 94dea41b4af4a3374a1a1e2f56665cff2ea5baa9 /engine/trade2.asm | |
| parent | Uppercase battle status constants (diff) | |
| download | pokeyellow-237aeb8fbdb204948d611830565d4a00c6b0ab70.tar.gz pokeyellow-237aeb8fbdb204948d611830565d4a00c6b0ab70.tar.xz pokeyellow-237aeb8fbdb204948d611830565d4a00c6b0ab70.zip | |
Add space between arguments in assembly instructions and remove redundant a in instructions like add a, x
Diffstat (limited to 'engine/trade2.asm')
| -rwxr-xr-x | engine/trade2.asm | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/engine/trade2.asm b/engine/trade2.asm index 062d5285..2c79e077 100755 --- a/engine/trade2.asm +++ b/engine/trade2.asm @@ -1,44 +1,44 @@ Trade_PrintPlayerMonInfoText: coord hl, 5, 0 - ld de,Trade_MonInfoText + ld de, Trade_MonInfoText call PlaceString - ld a,[wTradedPlayerMonSpecies] - ld [wd11e],a + ld a, [wTradedPlayerMonSpecies] + ld [wd11e], a predef IndexToPokedex coord hl, 9, 0 - ld de,wd11e + ld de, wd11e lb bc, LEADING_ZEROES | 1, 3 call PrintNumber coord hl, 5, 2 - ld de,wcf4b + ld de, wcf4b call PlaceString coord hl, 8, 4 - ld de,wTradedPlayerMonOT + ld de, wTradedPlayerMonOT call PlaceString coord hl, 8, 6 - ld de,wTradedPlayerMonOTID + ld de, wTradedPlayerMonOTID lb bc, LEADING_ZEROES | 2, 5 jp PrintNumber Trade_PrintEnemyMonInfoText: coord hl, 5, 10 - ld de,Trade_MonInfoText + ld de, Trade_MonInfoText call PlaceString - ld a,[wTradedEnemyMonSpecies] - ld [wd11e],a + ld a, [wTradedEnemyMonSpecies] + ld [wd11e], a predef IndexToPokedex coord hl, 9, 10 - ld de,wd11e + ld de, wd11e lb bc, LEADING_ZEROES | 1, 3 call PrintNumber coord hl, 5, 12 - ld de,wcd6d + ld de, wcd6d call PlaceString coord hl, 8, 14 - ld de,wTradedEnemyMonOT + ld de, wTradedEnemyMonOT call PlaceString coord hl, 8, 16 - ld de,wTradedEnemyMonOTID + ld de, wTradedEnemyMonOTID lb bc, LEADING_ZEROES | 2, 5 jp PrintNumber |
