pokeyellow/engine/trade2.asm
luckytyphlosion 043e932765 engine/trade.asm, trade2.asm, intro.asm, overworld/emotion_bubbles.asm
Also document Func_1681 (GetFarByte) and fix Missingno's dex entry
2015-12-23 15:40:59 -05:00

50 lines
1012 B
NASM
Executable File

Trade_PrintPlayerMonInfoText: ; 41be6 (10:5be6)
coord hl, 5, 0
ld de,Trade_MonInfoText
call PlaceString
ld a,[wTradedPlayerMonSpecies]
ld [wd11e],a
predef IndexToPokedex
coord hl, 9, 0
ld de,wd11e
lb bc, LEADING_ZEROES | 1, 3
call PrintNumber
coord hl, 5, 2
ld de,wcf4b
call PlaceString
coord hl, 8, 4
ld de,wTradedPlayerMonOT
call PlaceString
coord hl, 8, 6
ld de,wTradedPlayerMonOTID
lb bc, LEADING_ZEROES | 2, 5
jp PrintNumber
Trade_PrintEnemyMonInfoText: ; 41c24 (10:5c24)
coord hl, 5, 10
ld de,Trade_MonInfoText
call PlaceString
ld a,[wTradedEnemyMonSpecies]
ld [wd11e],a
predef IndexToPokedex
coord hl, 9, 10
ld de,wd11e
lb bc, LEADING_ZEROES | 1, 3
call PrintNumber
coord hl, 5, 12
ld de,wcd6d
call PlaceString
coord hl, 8, 14
ld de,wTradedEnemyMonOT
call PlaceString
coord hl, 8, 16
ld de,wTradedEnemyMonOTID
lb bc, LEADING_ZEROES | 2, 5
jp PrintNumber
Trade_MonInfoText: ; 41c62 (10:5c62)
db "──",$74,$F2
db $4e ; next
next "OT/"
next $73,"№",$F2,"@"