mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 13:24:12 -04:00
Cleanup
This commit is contained in:
@@ -279,7 +279,7 @@ BOOL daObjMknjD::Act_c::Create() {
|
||||
attention_info.distances[fopAc_Attn_TYPE_SPEAK_e] = 0x3D;
|
||||
cLib_onBit<u32>(attention_info.flags, fopAc_Attn_ACTION_SPEAK_e | fopAc_Attn_TALKFLAG_CHECK_e);
|
||||
|
||||
if (!checkItemGet(mGiveItemNo, 1)) {
|
||||
if (!checkItemGet(mGiveItemNo, TRUE)) {
|
||||
m043F = 8;
|
||||
eventInfo.setXyCheckCB(daObjMknjD_XyCheckCB);
|
||||
eventInfo.setXyEventCB(daObjMknjD_XyEventCB);
|
||||
@@ -895,7 +895,7 @@ BOOL daObjMknjD::Act_c::Execute(Mtx** i_mtx) {
|
||||
privateCut();
|
||||
|
||||
if (!dComIfGp_event_runCheck()) {
|
||||
if (checkItemGet(mGiveItemNo, 1)) {
|
||||
if (checkItemGet(mGiveItemNo, TRUE)) {
|
||||
m043F = 0;
|
||||
}
|
||||
else {
|
||||
@@ -913,7 +913,7 @@ BOOL daObjMknjD::Act_c::Execute(Mtx** i_mtx) {
|
||||
player->offPlayerNoDraw();
|
||||
dComIfGp_event_reset();
|
||||
|
||||
if (checkItemGet(mGiveItemNo, 1)) {
|
||||
if (checkItemGet(mGiveItemNo, TRUE)) {
|
||||
m043F = 0;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user