summaryrefslogtreecommitdiff
path: root/data/battle
diff options
context:
space:
mode:
authorentrpntr <entrpntr@gmail.com>2020-04-19 15:25:51 -0400
committerentrpntr <entrpntr@gmail.com>2020-04-19 15:25:51 -0400
commit7b63a9c032a130a08fc554b9b6790fe47d170530 (patch)
treec5a5169c8c3946154cf846f0c61d87516bb0c87d /data/battle
parente953302d3f81f080fd5d8423000496ce2fad36d3 (diff)
Finish disassembling effect commands.
Diffstat (limited to 'data/battle')
-rw-r--r--data/battle/stat_multipliers.asm20
-rw-r--r--data/battle/stat_names.asm10
2 files changed, 30 insertions, 0 deletions
diff --git a/data/battle/stat_multipliers.asm b/data/battle/stat_multipliers.asm
new file mode 100644
index 00000000..bbb1cadd
--- /dev/null
+++ b/data/battle/stat_multipliers.asm
@@ -0,0 +1,20 @@
+; Multiplier ratios for all stats from modifier -6 to +6
+; (except accuracy, see data/battle/accuracy_multipliers.asm).
+
+; This table is identical to data/battle/stat_multipliers_2.asm.
+; This one is used by CalcBattleStats.
+
+StatLevelMultipliers:
+ db 25, 100 ; -6 = 25%
+ db 28, 100 ; -5 = 28%
+ db 33, 100 ; -4 = 33%
+ db 40, 100 ; -3 = 40%
+ db 50, 100 ; -2 = 50%
+ db 66, 100 ; -1 = 66%
+ db 1, 1 ; 0 = 100%
+ db 15, 10 ; +1 = 150%
+ db 2, 1 ; +2 = 200%
+ db 25, 10 ; +3 = 250%
+ db 3, 1 ; +4 = 300%
+ db 35, 10 ; +5 = 350%
+ db 4, 1 ; +6 = 400%
diff --git a/data/battle/stat_names.asm b/data/battle/stat_names.asm
new file mode 100644
index 00000000..a144a225
--- /dev/null
+++ b/data/battle/stat_names.asm
@@ -0,0 +1,10 @@
+StatNames:
+; entries correspond to stat ids
+ db "ATTACK@"
+ db "DEFENSE@"
+ db "SPEED@"
+ db "SPCL.ATK@"
+ db "SPCL.DEF@"
+ db "ACCURACY@"
+ db "EVASION@"
+ db "ABILITY@" ; used for BattleCommand_Curse