nature stat table

This commit is contained in:
YamaArashi 2015-10-13 06:59:37 -07:00
parent 654b3eef7c
commit f678112ce1
3 changed files with 32 additions and 5 deletions

View File

@ -195207,7 +195207,7 @@ nature_stat_mod: ; 806D8D4
adds r0, r3, 0
b @0806D92E
@0806D8F2:
ldr r0, =gUnknown_0831E818
ldr r0, =gNatureStatTable
lsls r1, r4, 2
adds r1, r4
subs r1, 0x1
@ -777048,7 +777048,7 @@ sub_81924E0: ; 81924E0
adds r0, r3
ldrb r2, [r0]
@08192B7E:
ldr r1, =gUnknown_0831E818
ldr r1, =gNatureStatTable
lsls r0, r2, 2
adds r0, r2
adds r0, r5, r0
@ -777222,7 +777222,7 @@ sub_81924E0: ; 81924E0
lsls r0, r2, 2
adds r0, r2
adds r0, r5, r0
ldr r1, =gUnknown_0831E818
ldr r1, =gNatureStatTable
adds r0, r1
ldrb r0, [r0]
lsls r0, 24

View File

@ -1645,8 +1645,8 @@ gUnknown_0831C89C: ; 831C89C
; 831E380
.include "data/item_effect_info.s"
gUnknown_0831E818: ; 831E818
.incbin "base_emerald.gba", 0x31e818, 0x80
; 831E818
.include "data/nature_stat_table.s"
; 831E898
.include "data/tm_hm_learnsets.s"

27
data/nature_stat_table.s Normal file
View File

@ -0,0 +1,27 @@
gNatureStatTable: ; 831E818
; Atk Def Spd Sp.Atk Sp.Def
.byte 0, 0, 0, 0, 0 ; Hardy
.byte 1, -1, 0, 0, 0 ; Lonely
.byte 1, 0, -1, 0, 0 ; Brave
.byte 1, 0, 0, -1, 0 ; Adamant
.byte 1, 0, 0, 0, -1 ; Naughty
.byte -1, 1, 0, 0, 0 ; Bold
.byte 0, 0, 0, 0, 0 ; Docile
.byte 0, 1, -1, 0, 0 ; Relaxed
.byte 0, 1, 0, -1, 0 ; Impish
.byte 0, 1, 0, 0, -1 ; Lax
.byte -1, 0, 1, 0, 0 ; Timid
.byte 0, -1, 1, 0, 0 ; Hasty
.byte 0, 0, 0, 0, 0 ; Serious
.byte 0, 0, 1, -1, 0 ; Jolly
.byte 0, 0, 1, 0, -1 ; Naive
.byte -1, 0, 0, 1, 0 ; Modest
.byte 0, -1, 0, 1, 0 ; Mild
.byte 0, 0, -1, 1, 0 ; Quiet
.byte 0, 0, 0, 0, 0 ; Bashful
.byte 0, 0, 0, 1, -1 ; Rash
.byte -1, 0, 0, 0, 1 ; Calm
.byte 0, -1, 0, 0, 1 ; Gentle
.byte 0, 0, -1, 0, 1 ; Sassy
.byte 0, 0, 0, -1, 1 ; Careful
.byte 0, 0, 0, 0, 0 ; Quirky