@@ -4466,12 +4466,11 @@ BOOL daAlink_c::checkHorseStart(u32 pLastMode, int pStartMode) {
44664466}
44674467
44684468/* 800A551C-800A5CC8 09FE5C 07AC+00 1/1 0/0 0/0 .text setStartProcInit__9daAlink_cFv */
4469- // small regalloc, equivalent
44704469int daAlink_c::setStartProcInit() {
44714470 BOOL sp10 = 0;
44724471 int start_mode = getStartMode();
44734472 u32 last_mode = getLastSceneMode();
4474- daHorse_c* horsep = dComIfGp_getHorseActor();
4473+ daHorse_c* horsep = (daHorse_c*) dComIfGp_getHorseActor();
44754474 BOOL horse_start = checkHorseStart(last_mode, start_mode);
44764475
44774476 setDamagePoint(getLastSceneDamage(), last_mode == 4, 0, 1);
@@ -6616,15 +6615,14 @@ void daAlink_c::setFrameCtrl(daPy_frameCtrl_c* i_ctrl, u8 i_attr, s16 i_start, s
66166615 i_ctrl->setFrameCtrl(i_attr, i_start, i_end, i_rate, i_frame);
66176616}
66186617
6619- /* 80453278-80453280 001878 0008+00 1/1 0/0 0/0 .sdata2 kandelaarAnm$62207 */
6620- static const daAlink_BckData kandelaarAnm[2] = {
6621- {0x026A, 0x0268}, // waits, waitk
6622- {0x0266, 0x0264}, // waiths, waithk
6623- };
6624-
66256618/* 800AC450-800AC558 0A6D90 0108+00 23/23 0/0 0/0 .text
66266619 * getMainBckData__9daAlink_cCFQ29daAlink_c11daAlink_ANM */
66276620const daAlink_BckData* daAlink_c::getMainBckData(daAlink_c::daAlink_ANM i_anmID) const {
6621+ static const daAlink_BckData kandelaarAnm[2] = {
6622+ {0x026A, 0x0268}, // waits, waitk
6623+ {0x0266, 0x0264}, // waiths, waithk
6624+ };
6625+
66286626 if (mEquipItem == fpcNm_ITEM_KANTERA) {
66296627 if (i_anmID == ANM_WAIT) {
66306628 return &kandelaarAnm[0];
@@ -11178,11 +11176,10 @@ void daAlink_c::orderPeep() {
1117811176 }
1117911177}
1118011178
11181- /* 804532B0-804532B4 0018B0 0004+00 1/1 0/0 0/0 .sdata2 itemTalkType$67468 */
11182- static const u16 itemTalkType[2] = {6, 7};
11183-
1118411179/* 800B7BF8-800B7D4C 0B2538 0154+00 13/13 0/0 0/0 .text orderTalk__9daAlink_cFi */
1118511180int daAlink_c::orderTalk(int i_checkZTalk) {
11181+ static const u16 itemTalkType[2] = {6, 7};
11182+
1118611183 if (notTalk()) {
1118711184 return 0;
1118811185 }
@@ -18712,7 +18709,6 @@ bool daAlink_c::checkItemDraw() {
1871218709
1871318710/* 800CB694-800CBA38 0C5FD4 03A4+00 0/0 0/0 1/1 .text initShadowScaleLight__9daAlink_cFv
1871418711 */
18715- // NONMATCHING - float stuff
1871618712int daAlink_c::initShadowScaleLight() {
1871718713 dKy_shadow_mode_set(4);
1871818714
@@ -18770,8 +18766,10 @@ int daAlink_c::initShadowScaleLight() {
1877018766 field_0x375c.x = current.pos.x - (var_f31 * temp_f29);
1877118767 field_0x375c.z = current.pos.z - (var_f31 * temp_f28);
1877218768 } else {
18773- field_0x375c.x = current.pos.x - (-30.0f * temp_f29) - (65.0f * temp_f28);
18774- field_0x375c.z = current.pos.z - (-30.0f * temp_f28) + (65.0f * temp_f29);
18769+ field_0x375c.x = current.pos.x - (temp_f29 * -30.0f) - (temp_f28 * 65.0f);
18770+ // likely fakematch - debug indicates there probably isn't a temp
18771+ f32 temp = current.pos.z - (temp_f28 * -30.0f);
18772+ field_0x375c.z = temp + (temp_f29 * 65.0f);
1877518773 }
1877618774
1877718775 if (checkReinRide()) {
0 commit comments