aboutsummaryrefslogtreecommitdiffstats
path: root/engine/cable_club.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-09-17 17:37:32 -0700
committerYamaArashi <shadow962@live.com>2016-09-17 17:37:32 -0700
commit6f1ac06e03cd046f61fb2370ff7379a29932bbb1 (patch)
treee67b9ff28af5ade3175a7df976b459cfb0d5d5ac /engine/cable_club.asm
parentname text destination pointer variable (diff)
downloadpokeyellow-6f1ac06e03cd046f61fb2370ff7379a29932bbb1.tar.gz
pokeyellow-6f1ac06e03cd046f61fb2370ff7379a29932bbb1.tar.xz
pokeyellow-6f1ac06e03cd046f61fb2370ff7379a29932bbb1.zip
pull some bank 1 code out of main.asm
Diffstat (limited to 'engine/cable_club.asm')
-rwxr-xr-xengine/cable_club.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/engine/cable_club.asm b/engine/cable_club.asm
index ab18f32b..137e8406 100755
--- a/engine/cable_club.asm
+++ b/engine/cable_club.asm
@@ -969,3 +969,9 @@ CableClub_DrawHorizontalLine:
dec d
jr nz, .loop
ret
+
+LoadTrainerInfoTextBoxTiles:
+ ld de, TrainerInfoTextBoxTileGraphics
+ ld hl, vChars2 + $760
+ lb bc, BANK(TrainerInfoTextBoxTileGraphics), (TrainerInfoTextBoxTileGraphicsEnd - TrainerInfoTextBoxTileGraphics) / $10
+ jp CopyVideoData