diff options
| author | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2014-05-19 10:38:20 -0400 |
|---|---|---|
| committer | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2014-05-19 16:05:19 -0400 |
| commit | 1a0992a2f16ba2026c7fbf9fcfd1576a0f81c329 (patch) | |
| tree | 0981af81f93d33b07cbfe47674d87ae4aa2d46b0 /macros.asm | |
| parent | Pull more data out of main.asm (diff) | |
| parent | Documented/Labeled Route 22 scripts. (diff) | |
| download | pokeyellow-1a0992a2f16ba2026c7fbf9fcfd1576a0f81c329.tar.gz pokeyellow-1a0992a2f16ba2026c7fbf9fcfd1576a0f81c329.tar.xz pokeyellow-1a0992a2f16ba2026c7fbf9fcfd1576a0f81c329.zip | |
Merge branch 'master' of https://github.com/huderlem/pokered into pull-data
Conflicts:
main.asm
text.asm
text/maps/route_22.asm
Diffstat (limited to 'macros.asm')
| -rw-r--r-- | macros.asm | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -11,6 +11,18 @@ page EQUS "db $49," ; Start a new Pokedex page. dex EQUS "db $5f, $50" ; End a Pokedex entry. +callba: MACRO + ld b, BANK(\1) + ld hl, \1 + call Bankswitch + ENDM + +callab: MACRO + ld hl, \1 + ld b, BANK(\1) + call Bankswitch + ENDM + ;\1 = X ;\2 = Y FuncCoord: MACRO |
