summaryrefslogtreecommitdiff
path: root/src/macros/wram.asm
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2018-02-10 15:52:58 -0600
committerGitHub <noreply@github.com>2018-02-10 15:52:58 -0600
commit24f40989d472407dc51653f2a671348126c6e816 (patch)
tree3aa0db9181a57a8dd5456955f7957a1950fe1400 /src/macros/wram.asm
parent9b373dbff462614e484c0a5584e089e668bfd469 (diff)
parentf541f5e03adadf0b9315cc642da9a5b377b52c12 (diff)
Merge pull request #34 from xCrystal/master
Some Home disasm ; Misc style fixes, constants and labeling ; Split macros ; Create linkerscript and arrange Sections ; Bump extras
Diffstat (limited to 'src/macros/wram.asm')
-rw-r--r--src/macros/wram.asm42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/macros/wram.asm b/src/macros/wram.asm
new file mode 100644
index 0000000..cea20fa
--- /dev/null
+++ b/src/macros/wram.asm
@@ -0,0 +1,42 @@
+card_data_struct: MACRO
+\1Type:: db
+\1Gfx:: dw
+\1Name:: dw
+\1Rarity:: db
+\1Set:: db
+\1ID:: db
+\1EnergyCardEffectCommands:: ; dw
+\1TrainerCardEffectCommands:: ; dw
+\1HP:: db
+\1Stage:: db
+\1EnergyCardDescription:: ; dw
+\1TrainerCardDescription:: ; dw
+\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
+\1Unknown1:: db
+\1Animation:: db
+ENDM