mirror of
https://github.com/pret/pmd-red.git
synced 2026-09-27 11:28:33 -05:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user