mirror of
https://github.com/zeldaret/tmc
synced 2026-07-08 14:36:41 -04:00
remove fake global gUnk_02022130
part of gBG1Buffer
This commit is contained in:
@@ -56,7 +56,6 @@ SECTIONS {
|
||||
. = 0x00021F00; gUnk_02021F00 = .;
|
||||
. = 0x00021F20; gUnk_02021F20 = .;
|
||||
. = 0x00021F30; gBG1Buffer = .;
|
||||
. = 0x00022130; gUnk_02022130 = .;
|
||||
. = 0x00022730; gVBlankDMA = .;
|
||||
. = 0x00022740; gFuseInfo = .;
|
||||
. = 0x00022750; gPlayerScriptExecutionContext = .;
|
||||
|
||||
+2
-3
@@ -97,11 +97,10 @@ void sub_080A6FB4(u32 param_1, u32 param_2) {
|
||||
|
||||
void sub_080A7040(u32 param_1) {
|
||||
extern Font gUnk_08129004;
|
||||
extern u8 gUnk_02022130[];
|
||||
if (gGenericMenu.unk2e.HWORD != param_1) {
|
||||
gGenericMenu.unk2e.HWORD = param_1;
|
||||
MemClear(gUnk_02022130, 0x300);
|
||||
MemCopy(gUnk_02022130 - 0x200, (void*)0x600e000, 0x800);
|
||||
MemClear(&gBG1Buffer[0x100], 0x300);
|
||||
MemCopy(gBG1Buffer, (void*)0x600e000, 0x800);
|
||||
if (GetInventoryValue(gUnk_08128D70[param_1].item) != 0) {
|
||||
ShowTextBox(gUnk_08128D70[param_1].textIndex, &gUnk_08129004);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user