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 | 82ffb336a975fe8cf9c3953fc380339feaae65b3 (diff) | |
parent | d218d1972a9be5b9d0025a17842239e1fbf5b622 (diff) |
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 |