aboutsummaryrefslogtreecommitdiffstats
path: root/engine/movie/trade2.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-07-03 09:38:52 -0400
committerGitHub <noreply@github.com>2020-07-03 09:38:52 -0400
commitc85050497c1bd062e9cd40bf5b32fa3beca366cc (patch)
tree9593ddd3ab820223ab580d5fc0ae133b485b8315 /engine/movie/trade2.asm
parentActually run .travis/webhook.sh (diff)
parentAdd engine/movie/oak_speech/ subdirectory (diff)
downloadpokeyellow-c85050497c1bd062e9cd40bf5b32fa3beca366cc.tar.gz
pokeyellow-c85050497c1bd062e9cd40bf5b32fa3beca366cc.tar.xz
pokeyellow-c85050497c1bd062e9cd40bf5b32fa3beca366cc.zip
Merge pull request #256 from Rangi42/master
Add subdirectories to engine/ similar to pokecrystal
Diffstat (limited to 'engine/movie/trade2.asm')
-rwxr-xr-xengine/movie/trade2.asm48
1 files changed, 48 insertions, 0 deletions
diff --git a/engine/movie/trade2.asm b/engine/movie/trade2.asm
new file mode 100755
index 00000000..2c79e077
--- /dev/null
+++ b/engine/movie/trade2.asm
@@ -0,0 +1,48 @@
+Trade_PrintPlayerMonInfoText:
+ 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:
+ 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:
+ db "──№⠄",$4E
+ next "OT/"
+ next $73,"№⠄","@"