pokered/engine/trade2.asm

49 lines
958 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
ld de, Trade_MonInfoText
2014-05-22 22:13:20 +00:00
call PlaceString
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
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
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
ld de, Trade_MonInfoText
2014-05-22 22:13:20 +00:00
call PlaceString
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
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
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,"№⠄","@"