diff options
author | YamaArashi <shadow962@live.com> | 2016-08-30 02:12:29 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-08-30 02:12:29 -0700 |
commit | 7f083f4da70addc1c4402f34688a3e5b83ddb46a (patch) | |
tree | ec318aaaf690795866aa6a55009f68b8524f3e80 | |
parent | 526910785bf82a59cecf4ed039b09625dcc12f2e (diff) |
crit chance table
-rw-r--r-- | asm/rom3.s | 2 | ||||
-rw-r--r-- | data/data2.s | 11 |
2 files changed, 10 insertions, 3 deletions
diff --git a/asm/rom3.s b/asm/rom3.s index 28f3a4dec..735e17338 100644 --- a/asm/rom3.s +++ b/asm/rom3.s @@ -37782,7 +37782,7 @@ _0801C960: _0801C9BC: .4byte 0x02024c08 _0801C9C0: .4byte 0x02024c98 _0801C9C4: .4byte 0x020239f8 -_0801C9C8: .4byte gUnknown_081FAB50 +_0801C9C8: .4byte gCriticalHitChance _0801C9CC: .4byte 0x02024c0d _0801C9D0: ldr r1, _0801C9E4 diff --git a/data/data2.s b/data/data2.s index 79fddedbf..e98f96690 100644 --- a/data/data2.s +++ b/data/data2.s @@ -1350,9 +1350,16 @@ gAccuracyStageRatios:: @ 81FAB1C .byte 133, 50, 0, 0 @ +5 .byte 3, 1, 0, 0 @ +6 -gUnknown_081FAB50:: @ 81FAB50 - .incbin "baserom.gba", 0x001fab50, 0xc +@ The chance is 1/N for each stage. + .align 1 +gCriticalHitChance:: @ 81FAB50 + .2byte 16 @ +0 + .2byte 8 @ +1 + .2byte 4 @ +2 + .2byte 3 @ +3 + .2byte 2 @ +4 + .align 2 gUnknown_081FAB5C:: @ 81FAB5C .incbin "baserom.gba", 0x001fab5c, 0xf0 |