pokered/engine/trade2.asm

49 lines
944 B
NASM
Raw Normal View History

2016-06-12 00:24:04 +00:00
Trade_PrintPlayerMonInfoText:
2015-07-18 20:52:03 +00:00
coord hl, 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
2015-07-18 20:52:03 +00:00
coord hl, 9, 0
ld de,wd11e
2015-07-28 01:48:44 +00:00
lb bc, LEADING_ZEROES | 1, 3
2014-05-22 22:13:20 +00:00
call PrintNumber
2015-07-18 20:52:03 +00:00
coord hl, 5, 2
ld de,wcf4b
2014-05-22 22:13:20 +00:00
call PlaceString
2015-07-18 20:52:03 +00:00
coord hl, 8, 4
2015-02-07 10:43:08 +00:00
ld de,wTradedPlayerMonOT
2014-05-22 22:13:20 +00:00
call PlaceString
2015-07-18 20:52:03 +00:00
coord hl, 8, 6
2015-02-07 10:43:08 +00:00
ld de,wTradedPlayerMonOTID
2015-07-28 01:48:44 +00:00
lb bc, LEADING_ZEROES | 2, 5
2014-05-22 22:13:20 +00:00
jp PrintNumber
2016-06-12 00:24:04 +00:00
Trade_PrintEnemyMonInfoText:
2015-07-18 20:52:03 +00:00
coord hl, 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
2015-07-18 20:52:03 +00:00
coord hl, 9, 10
ld de,wd11e
2015-07-28 01:48:44 +00:00
lb bc, LEADING_ZEROES | 1, 3
2014-05-22 22:13:20 +00:00
call PrintNumber
2015-07-18 20:52:03 +00:00
coord hl, 5, 12
ld de,wcd6d
2014-05-22 22:13:20 +00:00
call PlaceString
2015-07-18 20:52:03 +00:00
coord hl, 8, 14
2015-02-07 10:43:08 +00:00
ld de,wTradedEnemyMonOT
2014-05-22 22:13:20 +00:00
call PlaceString
2015-07-18 20:52:03 +00:00
coord hl, 8, 16
2015-02-07 10:43:08 +00:00
ld de,wTradedEnemyMonOTID
2015-07-28 01:48:44 +00:00
lb bc, LEADING_ZEROES | 2, 5
2014-05-22 22:13:20 +00:00
jp PrintNumber
2016-06-12 00:24:04 +00:00
Trade_MonInfoText:
2016-07-18 06:17:03 +00:00
db "──№⠄",$4E
next "OT/"
next $73,"№⠄","@"