Applied more Attr defines

This commit is contained in:
dbalatoni13 2024-11-04 00:05:52 +01:00
parent c9f46f9418
commit f1c171b33f
51 changed files with 336 additions and 344 deletions

View file

@ -1379,7 +1379,7 @@ s16 fn_1_4B14(s16 arg0, s16 arg1, s16 *arg2)
temp_r31->unk18 = 0;
temp_r31->unk20 = 1;
Hu3DMotionTimeSet(lbl_1_bss_2C->model[arg0 + 1], 0);
Hu3DModelAttrReset(lbl_1_bss_2C->model[arg0 + 1], 0x40000002);
Hu3DModelAttrReset(lbl_1_bss_2C->model[arg0 + 1], HU3D_MOTATTR_PAUSE);
HuAudFXPlay(9);
break;
}

View file

@ -2,7 +2,6 @@
#include "game/hsfman.h"
#include "game/hsfmotion.h"
#include "game/audio.h"
#include "game/gamework_data.h"
#include "game/minigame_seq.h"
@ -12,11 +11,9 @@
#include "game/sprite.h"
#include "game/wipe.h"
#include "REL/m431Dll.h"
#include "ext_math.h"
typedef struct bss_struct_62C {
u8 unk0;
float unk4;
@ -1215,7 +1212,7 @@ void fn_1_B18C(omObjData *object)
}
}
else {
Hu3DModelAttrReset(object->model[0], 0x40000007);
Hu3DModelAttrReset(object->model[0], HU3D_MOTATTR_LOOP | HU3D_MOTATTR_PAUSE | HU3D_MOTATTR_REV);
switch (temp_r31->unk0 & 0xC) {
case 0:
temp_r28 = HU3D_MOTATTR_PAUSE;