summaryrefslogtreecommitdiff
path: root/macros/wram.asm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/wram.asm')
-rw-r--r--macros/wram.asm65
1 files changed, 32 insertions, 33 deletions
diff --git a/macros/wram.asm b/macros/wram.asm
index ba1e52dc..419c8397 100644
--- a/macros/wram.asm
+++ b/macros/wram.asm
@@ -51,7 +51,7 @@ red_box_struct: MACRO
\1Type2:: db
\1CatchRate:: db
\1Moves:: ds NUM_MOVES
-\1OTID:: dw
+\1ID:: dw
\1Exp:: ds 3
\1HPExp:: dw
\1AttackExp:: dw
@@ -97,13 +97,13 @@ battle_struct: MACRO
ENDM
curbox: MACRO
-\1Count:: db
-\1Species:: ds MONS_PER_BOX + 1
+\1Count:: db
+\1Species:: ds MONS_PER_BOX + 1
\1Mons::
-\1Mon1:: box_struct \1Mon1
-\1Mon2:: ds BOXMON_STRUCT_LENGTH * (MONS_PER_BOX - 1)
-\1MonOT:: ds NAME_LENGTH * MONS_PER_BOX
-\1MonNicknames:: ds MON_NAME_LENGTH * MONS_PER_BOX
+\1Mon1:: box_struct \1Mon1
+\1Mon2:: ds BOXMON_STRUCT_LENGTH * (MONS_PER_BOX - 1)
+\1MonOTs:: ds NAME_LENGTH * MONS_PER_BOX
+\1MonNicknames:: ds MON_NAME_LENGTH * MONS_PER_BOX
\1MonNicknamesEnd::
\1End::
ENDM
@@ -155,7 +155,7 @@ channel_struct: MACRO
\1VibratoRate:: db ; hi:frames for each alt lo:frames to the next alt
\1PitchSlideTarget:: dw ; frequency endpoint for pitch slide
\1PitchSlideAmount:: db
-\1PitchSlideAmountFraction:: db
+\1PitchSlideAmountFraction:: db
\1Field25:: db
ds 1
\1PitchOffset:: dw
@@ -170,13 +170,13 @@ channel_struct: MACRO
ENDM
mailmsg: MACRO
-\1Message:: ds MAIL_MSG_LENGTH
-\1MessageEnd:: ds 1
-\1Author:: ds PLAYER_NAME_LENGTH
-\1AuthorNationality:: ds 2
-\1AuthorID:: dw
-\1Species:: db
-\1Type:: db
+\1Message:: ds MAIL_MSG_LENGTH
+\1MessageEnd:: db
+\1Author:: ds PLAYER_NAME_LENGTH
+\1Nationality:: dw
+\1AuthorID:: dw
+\1Species:: db
+\1Type:: db
\1End::
ENDM
@@ -348,24 +348,23 @@ sprite_anim_struct: MACRO
ENDM
battle_anim_struct: MACRO
-; Placeholder until we can figure out what it all means
-\1Index:: db
-\1OAMFlags:: db
-\1Field02:: ds 1
-\1FramesetID:: db
-\1Function:: db
-\1Palette:: db
-\1TileID:: db
-\1XCoord:: db
-\1YCoord:: db
-\1XOffset:: db
-\1YOffset:: db
-\1Param:: db
-\1Duration:: db
-\1Frame:: db
-\1JumptableIndex:: db
-\1Var1:: db
-\1Var2:: db
+\1Index:: db
+\1OAMFlags:: db
+\1FixY:: db
+\1FramesetID:: db
+\1Function:: db
+\1Palette:: db
+\1TileID:: db
+\1XCoord:: db
+\1YCoord:: db
+\1XOffset:: db
+\1YOffset:: db
+\1Param:: db
+\1Duration:: db
+\1Frame:: db
+\1JumptableIndex:: db
+\1Var1:: db
+\1Var2:: db
ds 7
ENDM