pokered/engine/trade2.asm

50 lines
921 B
NASM
Raw Normal View History

2015-02-07 10:43:08 +00:00
Trade_PrintPlayerMonInfoText: ; 42769 (10:6769)
hlCoord 5, 0
2015-02-07 10:43:08 +00:00
ld de,Trade_MonInfoText
2014-05-22 22:13:20 +00:00
call PlaceString
2015-02-07 10:43:08 +00:00
ld a,[wTradedPlayerMonSpecies]
ld [wd11e],a
predef IndexToPokedex
hlCoord 9, 0
ld de,wd11e
2014-05-22 22:13:20 +00:00
ld bc,$8103
call PrintNumber
hlCoord 5, 2
ld de,wcf4b
2014-05-22 22:13:20 +00:00
call PlaceString
hlCoord 8, 4
2015-02-07 10:43:08 +00:00
ld de,wTradedPlayerMonOT
2014-05-22 22:13:20 +00:00
call PlaceString
hlCoord 8, 6
2015-02-07 10:43:08 +00:00
ld de,wTradedPlayerMonOTID
2014-05-22 22:13:20 +00:00
ld bc,$8205
jp PrintNumber
2015-02-07 10:43:08 +00:00
Trade_PrintEnemyMonInfoText: ; 427a7 (10:67a7)
hlCoord 5, 10
2015-02-07 10:43:08 +00:00
ld de,Trade_MonInfoText
2014-05-22 22:13:20 +00:00
call PlaceString
2015-02-07 10:43:08 +00:00
ld a,[wTradedEnemyMonSpecies]
ld [wd11e],a
predef IndexToPokedex
hlCoord 9, 10
ld de,wd11e
2014-05-22 22:13:20 +00:00
ld bc,$8103
call PrintNumber
hlCoord 5, 12
ld de,wcd6d
2014-05-22 22:13:20 +00:00
call PlaceString
hlCoord 8, 14
2015-02-07 10:43:08 +00:00
ld de,wTradedEnemyMonOT
2014-05-22 22:13:20 +00:00
call PlaceString
hlCoord 8, 16
2015-02-07 10:43:08 +00:00
ld de,wTradedEnemyMonOTID
2014-05-22 22:13:20 +00:00
ld bc,$8205
jp PrintNumber
2015-02-07 10:43:08 +00:00
Trade_MonInfoText: ; 427e5 (10:67e5)
2014-05-22 22:13:20 +00:00
db "──",$74,$F2,$4E
db $4E
db "OT/",$4E
db $73,"№",$F2,"@"