diff options
author | Dennis <dhilhorst2000@gmail.com> | 2021-07-12 21:10:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-12 14:10:32 -0500 |
commit | da7b30612f2cac57da0ffe09d1d7c42e309d15f2 (patch) | |
tree | e82dbc33b112798b308e8c001eb3979cab69aa05 /data | |
parent | 2104c4f7623f2bfc94130d25f2c903fa54991676 (diff) |
More work on item related functions (#44)
* decompile sub_8091290
* decompile sub_80912c8
* rename functions / struct field
* more names
* decompile 80913A0
* decompile GetItemMove
* decompile sub_80913E0
* rename function
* decompile CanSellItem function
* rename inventory struct
* add some item check functions
* fix renaming stuff
* this file shouldnt have been here
* forgot merge conflict
* decompile more item functions
* rename some stuff
* fix HM/TM naming
* Update src/code_801AFA4.c
Use enum value for USED_TM
* Fix incorrect value
* decompile sub_80915F4
* decompile HasGummiItem
* decompiled another function and renamed stuff
* decompile 2 smaller functions
* more functions
* more decompiling and renaming
* redo change that was undone in the merge
Diffstat (limited to 'data')
-rw-r--r-- | data/data_80F4278.s | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/data/data_80F4278.s b/data/data_80F4278.s index 7682671..ce6db28 100644 --- a/data/data_80F4278.s +++ b/data/data_80F4278.s @@ -8101,13 +8101,13 @@ gUnknown_81097C5: @ 81097C5 @ replacing .incbin "baserom.gba", 0x001097c5, 0x1b .byte 0x9f, 0x83, 0xa0, 0x83, 0xa1, 0x83, 0xa2, 0x83, 0xa3, 0x83, 0xa4, 0x83, 0xa5, 0x83, 0xa6, 0x83, 0xa7, 0x83, 0xa8, 0x00, 0x00, 0x00, 0x00, 0xc4, 0x97, 0x10, 0x08 - .global gUnknown_81097E0 -gUnknown_81097E0: @ 81097E0 + .global gGummiStatBoostLUT +gGummiStatBoostLUT: @ 81097E0 @ replacing .incbin "baserom.gba", 0x001097e0, 0x8 - .byte 0x01, 0x00 - .byte 0x02, 0x00 - .byte 0x04, 0x00 - .byte 0x08, 0x00 + .2byte 0x0001 + .2byte 0x0002 + .2byte 0x0004 + .2byte 0x0008 .global gUnknown_81097E8 gUnknown_81097E8: @ 81097E8 @@ -8331,8 +8331,10 @@ gUnknown_810A3F0: @ 810A3F0 (money related according to PMDe @ LUT for money item stack size -> money amount .incbin "baserom.gba", 0x10A3F0, 0x190 - .global gUnknown_810A580 -gUnknown_810A580: @ 810A580 + .global gTypeGummiIQBoost +gTypeGummiIQBoost: @ 810A580 + // s16[0x12][NUMBER_OF_GUMMIS = 18] + // relates [type][gummi tyep] -> iq boost amount .incbin "baserom.gba", 0x10A580, 0x288 .global gUnknown_810A808 |