You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Refresh 13
This commit is contained in:
@@ -373,11 +373,7 @@ static void level_cmd_end_area(void) {
|
||||
|
||||
static void level_cmd_load_model_from_dl(void) {
|
||||
s16 val1 = CMD_GET(s16, 2) & 0x0FFF;
|
||||
#ifdef VERSION_EU
|
||||
s16 val2 = (CMD_GET(s16, 2) & 0xFFFF) >> 12;
|
||||
#else
|
||||
s16 val2 = CMD_GET(u16, 2) >> 12;
|
||||
#endif
|
||||
s16 val2 = ((u16)CMD_GET(s16, 2)) >> 12;
|
||||
void *val3 = CMD_GET(void *, 4);
|
||||
|
||||
if (val1 < 256) {
|
||||
@@ -406,11 +402,7 @@ static void level_cmd_23(void) {
|
||||
} arg2;
|
||||
|
||||
s16 model = CMD_GET(s16, 2) & 0x0FFF;
|
||||
#ifdef VERSION_EU
|
||||
s16 arg0H = (CMD_GET(s16, 2) & 0xFFFF) >> 12;
|
||||
#else
|
||||
s16 arg0H = CMD_GET(u16, 2) >> 12;
|
||||
#endif
|
||||
s16 arg0H = ((u16)CMD_GET(s16, 2)) >> 12;
|
||||
void *arg1 = CMD_GET(void *, 4);
|
||||
// load an f32, but using an integer load instruction for some reason (hence the union)
|
||||
arg2.i = CMD_GET(s32, 8);
|
||||
@@ -648,7 +640,7 @@ static void level_cmd_load_area(void) {
|
||||
s16 areaIndex = CMD_GET(u8, 2);
|
||||
UNUSED void *unused = (u8 *) sCurrentCmd + 4;
|
||||
|
||||
func_80320890();
|
||||
stop_sounds_in_continuous_banks();
|
||||
load_area(areaIndex);
|
||||
|
||||
sCurrentCmd = CMD_NEXT;
|
||||
|
||||
Reference in New Issue
Block a user