Add EU variant

This commit is contained in:
octorock
2021-06-21 23:27:11 +02:00
parent 57ab4df1a0
commit 833d48b735
189 changed files with 13608 additions and 247 deletions
+8 -2
View File
@@ -172,7 +172,13 @@ void sub_08054570(void) {
gRoomVars.filler[2] = 0;
}
#ifdef EU
NAKED u32 sub_0805457C(u32 arg0, u32 arg1) {
asm(".incbin \"baserom_eu.gba\", 0x054114, 0x1c0"); // TODO disassemble
}
#else
ASM_FUNC("asm/non_matching/sub_0805457C.inc", u32 sub_0805457C(u32 arg0, u32 arg1));
#endif
NONMATCH("asm/non_matching/CreateItemDrop.inc", u32 CreateItemDrop(Entity* arg0, u32 itemID, u32 itemParameter)) {
// TODO see below
@@ -265,7 +271,7 @@ u32 CreateItemDrop(Entity* arg0, u32 itemID, u32 itemParameter) {
*/
void sub_08054870(void) {
#ifndef DEMO
#ifndef DEMO
gUnk_080FE2A0[gMenu.menuType]();
#endif
#endif
}