summaryrefslogtreecommitdiff
path: root/src/macros.asm
diff options
context:
space:
mode:
authoranmart <andrewrmartinek@gmail.com>2016-02-23 11:26:15 -0500
committeranmart <andrewrmartinek@gmail.com>2016-02-23 11:26:15 -0500
commit798a5c1a7d7cc8e02cd649241b357f00871d1290 (patch)
tree2ebf76024c58cb5d4b0e7c3f1cd7b6b6b62aaa6f /src/macros.asm
parentdeed2bb89f992404c1e63c9a75e9a3d99d9aec51 (diff)
Created wCardBuffer label macro
created macro for wCardBuffer labels and updated references
Diffstat (limited to 'src/macros.asm')
-rwxr-xr-xsrc/macros.asm38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/macros.asm b/src/macros.asm
index f1a850d..1405c8a 100755
--- a/src/macros.asm
+++ b/src/macros.asm
@@ -311,3 +311,41 @@ ENDM
tx: MACRO
dw \1_
ENDM
+
+card_data_struct: MACRO
+\1Type:: db
+\1Gfx:: dw
+\1Name:: dw
+\1Rarity:: db
+\1Set:: db
+\1ID:: db
+\1HP:: db
+\1Stage:: db
+\1PreEvoName:: dw
+\1Move1:: move_data_struct \1Move1
+\1Move2:: move_data_struct \1Move2
+\1RetreatCost:: db
+\1Weakness:: db
+\1Resistance:: db
+\1Kind:: dw
+\1PokedexNumber:: db
+\1Unknown1:: db
+\1Level:: db
+\1Length:: dw
+\1Weight:: dw
+\1Description:: dw
+\1Unknown2:: db
+ENDM
+
+move_data_struct: MACRO
+\1Energy:: ds $4
+\1Name:: dw
+\1Description:: ds $4
+\1Damage:: db
+\1Category:: db
+\1EffectCommands:: dw
+\1Flag1:: db
+\1Flag2:: db
+\1Flag3:: db
+\1Unknown:: ds $2
+ENDM