summaryrefslogtreecommitdiff
path: root/src/d/save
diff options
context:
space:
mode:
authorPheenoh <pheenoh@gmail.com>2023-03-07 18:03:46 -0700
committerGitHub <noreply@github.com>2023-03-07 18:03:46 -0700
commitf31ab5ae0be3de6e0910b2d5942e33458be043ac (patch)
tree4fbfdeda4e8bfac575a81ab9d4eaa79530ea35c5 /src/d/save
parent6c2e18af70dcc392b49cacf77fdb6ff8a164c0a5 (diff)
Misc Changes (#306)
Diffstat (limited to 'src/d/save')
-rw-r--r--src/d/save/d_save.cpp617
-rw-r--r--src/d/save/d_save_bit_labels.inc833
-rw-r--r--src/d/save/d_save_init.cpp24
-rw-r--r--src/d/save/d_save_temp_bit_labels.inc196
4 files changed, 1355 insertions, 315 deletions
diff --git a/src/d/save/d_save.cpp b/src/d/save/d_save.cpp
index 251b3dce4c..6a778ff5eb 100644
--- a/src/d/save/d_save.cpp
+++ b/src/d/save/d_save.cpp
@@ -1,7 +1,7 @@
-//
-// Generated By: dol2asm
-// Translation Unit: d/save/d_save
-//
+/**
+ * d_save.cpp
+ * Save File Manager
+ */
#include "d/save/d_save.h"
#include "Z2AudioLib/Z2AudioMgr.h"
@@ -15,167 +15,12 @@
// Forward References:
//
-extern "C" static void dSv_item_rename__FUc();
-extern "C" void init__21dSv_player_status_a_cFv();
-extern "C" void setSelectItemIndex__21dSv_player_status_a_cFiUc();
-extern "C" void getSelectItemIndex__21dSv_player_status_a_cCFi();
-extern "C" void setMixItemIndex__21dSv_player_status_a_cFiUc();
-extern "C" void getMixItemIndex__21dSv_player_status_a_cCFi();
-extern "C" void getRupeeMax__21dSv_player_status_a_cCFv();
-extern "C" void isMagicFlag__21dSv_player_status_a_cCFUc();
-extern "C" void init__21dSv_player_status_b_cFv();
-extern "C" void onDarkClearLV__21dSv_player_status_b_cFi();
-extern "C" void isDarkClearLV__21dSv_player_status_b_cCFi();
-extern "C" void onTransformLV__21dSv_player_status_b_cFi();
-extern "C" void isTransformLV__21dSv_player_status_b_cCFi();
-extern "C" void init__17dSv_horse_place_cFv();
-extern "C" void set__17dSv_horse_place_cFPCcRC4cXyzsSc();
-extern "C" void init__25dSv_player_return_place_cFv();
-extern "C" void set__25dSv_player_return_place_cFPCcScUc();
-extern "C" void init__33dSv_player_field_last_stay_info_cFv();
-extern "C" void set__33dSv_player_field_last_stay_info_cFPCcRC4cXyzsScUc();
-extern "C" void onRegionBit__33dSv_player_field_last_stay_info_cFi();
-extern "C" void isRegionBit__33dSv_player_field_last_stay_info_cCFi();
-extern "C" void init__27dSv_player_last_mark_info_cFv();
-extern "C" void setWarpItemData__27dSv_player_last_mark_info_cFPCcRC4cXyzsScUcUc();
-extern "C" void init__17dSv_player_item_cFv();
extern "C" void setItem__17dSv_player_item_cFiUc();
extern "C" void getItem__17dSv_player_item_cCFib();
-extern "C" void setLineUpItem__17dSv_player_item_cFv();
-extern "C" void getLineUpItem__17dSv_player_item_cCFi();
-extern "C" void setBottleItemIn__17dSv_player_item_cFUcUc();
-extern "C" void setEmptyBottleItemIn__17dSv_player_item_cFUc();
-extern "C" void setEmptyBottle__17dSv_player_item_cFv();
-extern "C" void setEmptyBottle__17dSv_player_item_cFUc();
-extern "C" void setEquipBottleItemIn__17dSv_player_item_cFUcUc();
-extern "C" void setEquipBottleItemEmpty__17dSv_player_item_cFUc();
-extern "C" void checkBottle__17dSv_player_item_cFUc();
-extern "C" void checkInsectBottle__17dSv_player_item_cFv();
-extern "C" void checkEmptyBottle__17dSv_player_item_cFv();
-extern "C" void setBombBagItemIn__17dSv_player_item_cFUcUcb();
-extern "C" void setBombBagItemIn__17dSv_player_item_cFUcUcUcb();
-extern "C" void setEmptyBombBagItemIn__17dSv_player_item_cFUcb();
-extern "C" void setEmptyBombBagItemIn__17dSv_player_item_cFUcUcb();
-extern "C" void setEmptyBombBag__17dSv_player_item_cFv();
-extern "C" void setEmptyBombBag__17dSv_player_item_cFUcUc();
-extern "C" void checkBombBag__17dSv_player_item_cFUc();
-extern "C" void setWarashibeItem__17dSv_player_item_cFUc();
-extern "C" void setRodTypeLevelUp__17dSv_player_item_cFv();
-extern "C" void setBaitItem__17dSv_player_item_cFUc();
-extern "C" void init__21dSv_player_get_item_cFv();
-extern "C" void onFirstBit__21dSv_player_get_item_cFUc();
-extern "C" void offFirstBit__21dSv_player_get_item_cFUc();
extern "C" void isFirstBit__21dSv_player_get_item_cCFUc();
-extern "C" void init__24dSv_player_item_record_cFv();
-extern "C" void setBombNum__24dSv_player_item_record_cFUcUc();
-extern "C" void getBombNum__24dSv_player_item_record_cCFUc();
-extern "C" void setBottleNum__24dSv_player_item_record_cFUcUc();
-extern "C" void addBottleNum__24dSv_player_item_record_cFUcs();
-extern "C" void getBottleNum__24dSv_player_item_record_cCFUc();
-extern "C" void init__21dSv_player_item_max_cFv();
-extern "C" void setBombNum__21dSv_player_item_max_cFUcUc();
-extern "C" void getBombNum__21dSv_player_item_max_cCFUc();
-extern "C" void init__20dSv_player_collect_cFv();
-extern "C" void setCollect__20dSv_player_collect_cFiUc();
-extern "C" void isCollect__20dSv_player_collect_cCFiUc();
-extern "C" void onCollectCrystal__20dSv_player_collect_cFUc();
-extern "C" void isCollectCrystal__20dSv_player_collect_cCFUc();
-extern "C" void onCollectMirror__20dSv_player_collect_cFUc();
-extern "C" void isCollectMirror__20dSv_player_collect_cCFUc();
-extern "C" void init__17dSv_player_wolf_cFv();
-extern "C" void init__16dSv_light_drop_cFv();
-extern "C" void setLightDropNum__16dSv_light_drop_cFUcUc();
-extern "C" void getLightDropNum__16dSv_light_drop_cCFUc();
-extern "C" void onLightDropGetFlag__16dSv_light_drop_cFUc();
-extern "C" void isLightDropGetFlag__16dSv_light_drop_cCFUc();
-extern "C" void init__17dSv_letter_info_cFv();
-extern "C" void onLetterGetFlag__17dSv_letter_info_cFi();
-extern "C" void isLetterGetFlag__17dSv_letter_info_cCFi();
-extern "C" void onLetterReadFlag__17dSv_letter_info_cFi();
-extern "C" void isLetterReadFlag__17dSv_letter_info_cCFi();
-extern "C" void init__18dSv_fishing_info_cFv();
-extern "C" void addFishCount__18dSv_fishing_info_cFUc();
-extern "C" void init__17dSv_player_info_cFv();
-extern "C" void init__19dSv_player_config_cFv();
-extern "C" void checkVibration__19dSv_player_config_cCFv();
-extern "C" void getSound__19dSv_player_config_cFv();
-extern "C" void setSound__19dSv_player_config_cFUc();
-extern "C" void getVibration__19dSv_player_config_cFv();
-extern "C" void setVibration__19dSv_player_config_cFUc();
-extern "C" void init__12dSv_player_cFv();
-extern "C" void init__12dSv_memBit_cFv();
-extern "C" void onTbox__12dSv_memBit_cFi();
-extern "C" void offTbox__12dSv_memBit_cFi();
-extern "C" void isTbox__12dSv_memBit_cCFi();
-extern "C" void onSwitch__12dSv_memBit_cFi();
-extern "C" void offSwitch__12dSv_memBit_cFi();
-extern "C" void isSwitch__12dSv_memBit_cCFi();
-extern "C" void revSwitch__12dSv_memBit_cFi();
-extern "C" void onItem__12dSv_memBit_cFi();
-extern "C" void isItem__12dSv_memBit_cCFi();
-extern "C" void onDungeonItem__12dSv_memBit_cFi();
-extern "C" void isDungeonItem__12dSv_memBit_cCFi();
-extern "C" void init__11dSv_event_cFv();
extern "C" void onEventBit__11dSv_event_cFUs();
extern "C" void offEventBit__11dSv_event_cFUs();
extern "C" void isEventBit__11dSv_event_cCFUs();
-extern "C" void setEventReg__11dSv_event_cFUsUc();
-extern "C" void getEventReg__11dSv_event_cCFUs();
-extern "C" void init__14dSv_MiniGame_cFv();
-extern "C" void init__12dSv_memory_cFv();
-extern "C" void init__13dSv_memory2_cFv();
-extern "C" void onVisitedRoom__13dSv_memory2_cFi();
-extern "C" void offVisitedRoom__13dSv_memory2_cFi();
-extern "C" void isVisitedRoom__13dSv_memory2_cFi();
-extern "C" void init__12dSv_danBit_cFSc();
-extern "C" void onSwitch__12dSv_danBit_cFi();
-extern "C" void offSwitch__12dSv_danBit_cFi();
-extern "C" void isSwitch__12dSv_danBit_cCFi();
-extern "C" void revSwitch__12dSv_danBit_cFi();
-extern "C" void onItem__12dSv_danBit_cFi();
-extern "C" void isItem__12dSv_danBit_cCFi();
-extern "C" void init__13dSv_zoneBit_cFv();
-extern "C" void clearRoomSwitch__13dSv_zoneBit_cFv();
-extern "C" void clearRoomItem__13dSv_zoneBit_cFv();
-extern "C" void onSwitch__13dSv_zoneBit_cFi();
-extern "C" void offSwitch__13dSv_zoneBit_cFi();
-extern "C" void isSwitch__13dSv_zoneBit_cCFi();
-extern "C" void revSwitch__13dSv_zoneBit_cFi();
-extern "C" void onOneSwitch__13dSv_zoneBit_cFi();
-extern "C" void offOneSwitch__13dSv_zoneBit_cFi();
-extern "C" void isOneSwitch__13dSv_zoneBit_cCFi();
-extern "C" void revOneSwitch__13dSv_zoneBit_cFi();
-extern "C" void onItem__13dSv_zoneBit_cFi();
-extern "C" void isItem__13dSv_zoneBit_cCFi();
-extern "C" void onOneItem__13dSv_zoneBit_cFi();
-extern "C" void isOneItem__13dSv_zoneBit_cCFi();
-extern "C" void init__15dSv_zoneActor_cFv();
-extern "C" void on__15dSv_zoneActor_cFi();
-extern "C" void off__15dSv_zoneActor_cFi();
-extern "C" void is__15dSv_zoneActor_cCFi();
-extern "C" void init__10dSv_zone_cFi();
-extern "C" void setRoom__13dSv_restart_cFRC4cXyzsSc();
-extern "C" void set__17dSv_turnRestart_cFRC4cXyzsScUl();
-extern "C" void init__10dSv_info_cFv();
-extern "C" void init__10dSv_save_cFv();
-extern "C" void getSave2__10dSv_save_cFi();
-extern "C" void getSave__10dSv_info_cFi();
-extern "C" void putSave__10dSv_info_cFi();
-extern "C" void initZone__10dSv_info_cFv();
-extern "C" void createZone__10dSv_info_cFi();
-extern "C" void onSwitch__10dSv_info_cFii();
-extern "C" void offSwitch__10dSv_info_cFii();
-extern "C" void isSwitch__10dSv_info_cCFii();
-extern "C" void revSwitch__10dSv_info_cFii();
-extern "C" void onItem__10dSv_info_cFii();
-extern "C" void isItem__10dSv_info_cCFii();
-extern "C" void onActor__10dSv_info_cFii();
-extern "C" void offActor__10dSv_info_cFii();
-extern "C" void isActor__10dSv_info_cCFii();
-extern "C" void memory_to_card__10dSv_info_cFPci();
-extern "C" void card_to_memory__10dSv_info_cFPci();
-extern "C" void initdata_to_card__10dSv_info_cFPci();
-extern "C" u8 const tempBitLabels__20dSv_event_tmp_flag_c[370 + 2 /* padding */];
extern "C" extern char const* const d_save_d_save__stringBase0;
extern "C" u8 saveBitLabels__16dSv_event_flag_c[1644 + 4 /* padding */];
@@ -183,43 +28,16 @@ extern "C" u8 saveBitLabels__16dSv_event_flag_c[1644 + 4 /* padding */];
// External References:
//
-extern "C" void setNowVibration__14dComIfG_play_cFUc();
-extern "C" void getNowVibration__14dComIfG_play_cFv();
-extern "C" void getZoneNo__20dStage_roomControl_cFi();
-extern "C" void dComIfGs_setSelectItemIndex__FiUc(int, u8);
-extern "C" void dComIfGs_setMixItemIndex__FiUc(int, u8);
-extern "C" u8 dComIfGs_getMixItemIndex__Fi(int);
-extern "C" void dComIfGp_setSelectItem__Fi(int);
-extern "C" u8 dComIfGs_getBottleMax__Fv();
-extern "C" void dComIfGs_setKeyNum__FiUc();
-extern "C" void __ct__13dSv_memory2_cFv();
-extern "C" void __ct__12dSv_memory_cFv();
-extern "C" void clrSaveFlag__12daObjCarry_cFv();
-extern "C" void setSaveFlag__12daObjCarry_cFv();
extern "C" void setInitEventBit__Fv();
-extern "C" void getString__13dMeter2Info_cFUlPcP14JMSMesgEntry_c();
-extern "C" void setHotSpringTimer__13dMeter2Info_cFUc();
-extern "C" void setSaveStageName__13dMeter2Info_cFPCc();
-extern "C" void setOutputMode__10Z2AudioMgrFUl();
-extern "C" void __construct_array();
extern "C" void _savegpr_22();
-extern "C" void _savegpr_26();
-extern "C" void _savegpr_27();
-extern "C" void _savegpr_28();
-extern "C" void _savegpr_29();
extern "C" void _restgpr_22();
-extern "C" void _restgpr_26();
-extern "C" void _restgpr_27();
-extern "C" void _restgpr_28();
-extern "C" void _restgpr_29();
extern "C" void __div2i();
-extern "C" u8 mAudioMgrPtr__10Z2AudioMgr[4 + 4 /* padding */];
-extern "C" u8 sRumbleSupported__10JUTGamePad[4];
//
// Declarations:
//
+/* 80032918-80032958 02D258 0040+00 4/4 0/0 0/0 .text dSv_item_rename__FUc */
static u8 dSv_item_rename(u8 i_itemNo) {
switch (i_itemNo) {
case OIL_BOTTLE_2:
@@ -233,6 +51,7 @@ static u8 dSv_item_rename(u8 i_itemNo) {
}
}
+/* 80032958-80032A48 02D298 00F0+00 1/1 0/0 0/0 .text init__21dSv_player_status_a_cFv */
void dSv_player_status_a_c::init() {
mMaxLife = 15;
mLife = 12;
@@ -268,12 +87,16 @@ void dSv_player_status_a_c::init() {
}
}
+/* 80032A48-80032A5C 02D388 0014+00 0/0 1/1 0/0 .text
+ * setSelectItemIndex__21dSv_player_status_a_cFiUc */
void dSv_player_status_a_c::setSelectItemIndex(int i_no, u8 i_slotNo) {
if (i_no < MAX_SELECT_ITEM) {
mSelectItem[i_no] = i_slotNo;
}
}
+/* 80032A5C-80032A78 02D39C 001C+00 7/7 20/20 0/0 .text
+ * getSelectItemIndex__21dSv_player_status_a_cCFi */
u8 dSv_player_status_a_c::getSelectItemIndex(int i_no) const {
if (i_no < MAX_SELECT_ITEM) {
return mSelectItem[i_no];
@@ -281,12 +104,16 @@ u8 dSv_player_status_a_c::getSelectItemIndex(int i_no) const {
return 0;
}
+/* 80032A78-80032A8C 02D3B8 0014+00 0/0 1/1 0/0 .text setMixItemIndex__21dSv_player_status_a_cFiUc
+ */
void dSv_player_status_a_c::setMixItemIndex(int i_no, u8 i_slotNo) {
if (i_no < MAX_SELECT_ITEM) {
mMixItem[i_no] = i_slotNo;
}
}
+/* 80032A8C-80032AA8 02D3CC 001C+00 0/0 1/1 0/0 .text getMixItemIndex__21dSv_player_status_a_cCFi
+ */
u8 dSv_player_status_a_c::getMixItemIndex(int i_no) const {
if (i_no < MAX_SELECT_ITEM) {
return mMixItem[i_no];
@@ -294,6 +121,7 @@ u8 dSv_player_status_a_c::getMixItemIndex(int i_no) const {
return 0;
}
+/* 80032AA8-80032AF8 02D3E8 0050+00 0/0 4/4 0/0 .text getRupeeMax__21dSv_player_status_a_cCFv */
u16 dSv_player_status_a_c::getRupeeMax() const {
if (mWalletSize < 3) { // if you make this a default, it wont match. Compiler, pls.
switch (mWalletSize) {
@@ -308,14 +136,16 @@ u16 dSv_player_status_a_c::getRupeeMax() const {
return 0;
}
+/* 80032AF8-80032B50 02D438 0058+00 0/0 1/1 0/0 .text isMagicFlag__21dSv_player_status_a_cCFUc */
BOOL dSv_player_status_a_c::isMagicFlag(u8 i_magic) const {
if (i_magic == 0) {
- return i_dComIfGs_isEventBit(0x2304); // Magic Unlocked
+ return i_dComIfGs_isEventBit(dSv_event_flag_c::M_097); // Magic Unlocked
}
return (mMagicFlag & (u8)(1 << i_magic)) ? TRUE : FALSE;
}
+/* 80032B50-80032B94 02D490 0044+00 1/1 0/0 0/0 .text init__21dSv_player_status_b_cFv */
void dSv_player_status_b_c::init() {
mDateIpl = 0;
mTransformLevelFlag = 0;
@@ -329,22 +159,27 @@ void dSv_player_status_b_c::init() {
}
}
+/* 80032B94-80032BB0 02D4D4 001C+00 0/0 1/1 0/0 .text onDarkClearLV__21dSv_player_status_b_cFi */
void dSv_player_status_b_c::onDarkClearLV(int i_no) {
mDarkClearLevelFlag |= (u8)(1 << i_no);
}
+/* 80032BB0-80032BD0 02D4F0 0020+00 0/0 4/4 8/8 .text isDarkClearLV__21dSv_player_status_b_cCFi */
BOOL dSv_player_status_b_c::isDarkClearLV(int i_no) const {
return mDarkClearLevelFlag & (u8)(1 << i_no) ? TRUE : FALSE;
}
+/* 80032BD0-80032BEC 02D510 001C+00 0/0 1/1 0/0 .text onTransformLV__21dSv_player_status_b_cFi */
void dSv_player_status_b_c::onTransformLV(int i_no) {
mTransformLevelFlag |= (u8)(1 << i_no);
}
+/* 80032BEC-80032C0C 02D52C 0020+00 0/0 8/8 9/9 .text isTransformLV__21dSv_player_status_b_cCFi */
BOOL dSv_player_status_b_c::isTransformLV(int i_no) const {
return mTransformLevelFlag & (u8)(1 << i_no) ? TRUE : FALSE;
}
+/* 80032C0C-80032C64 02D54C 0058+00 1/1 0/0 0/0 .text init__17dSv_horse_place_cFv */
void dSv_horse_place_c::init() {
strcpy(mName, "");
mPos.set(0.0f, 0.0f, 0.0f);
@@ -353,6 +188,7 @@ void dSv_horse_place_c::init() {
mRoomNo = 0;
}
+/* 80032C64-80032CC8 02D5A4 0064+00 0/0 0/0 1/1 .text set__17dSv_horse_place_cFPCcRC4cXyzsSc */
void dSv_horse_place_c::set(const char* i_name, const cXyz& i_pos, s16 i_angle, s8 i_roomNo) {
strcpy(mName, i_name);
mPos = i_pos;
@@ -360,6 +196,8 @@ void dSv_horse_place_c::set(const char* i_name, const cXyz& i_pos, s16 i_angle,
mRoomNo = i_roomNo;
}
+/* 80032CC8-80032D1C 02D608 0054+00 1/1 0/0 0/0 .text init__25dSv_player_return_place_cFv
+ */
void dSv_player_return_place_c::init() {
strcpy(mName, "F_SP108");
mRoomNo = 1;
@@ -368,12 +206,15 @@ void dSv_player_return_place_c::init() {
unk11 = 0;
}
+/* 80032D1C-80032D60 02D65C 0044+00 0/0 0/0 1/1 .text set__25dSv_player_return_place_cFPCcScUc */
void dSv_player_return_place_c::set(const char* i_name, s8 i_roomNo, u8 i_status) {
strcpy(mName, i_name);
mRoomNo = i_roomNo;
mPlayerStatus = i_status;
}
+/* 80032D60-80032DE0 02D6A0 0080+00 1/1 0/0 0/0 .text init__33dSv_player_field_last_stay_info_cFv
+ */
void dSv_player_field_last_stay_info_c::init() {
strcpy(mName, "");
mPos.set(0.0f, 0.0f, 0.0f);
@@ -388,6 +229,8 @@ void dSv_player_field_last_stay_info_c::init() {
}
}
+/* 80032DE0-80032E4C 02D720 006C+00 0/0 2/2 0/0 .text
+ * set__33dSv_player_field_last_stay_info_cFPCcRC4cXyzsScUc */
void dSv_player_field_last_stay_info_c::set(const char* i_name, const cXyz& i_pos, s16 i_angle,
s8 i_spawn, u8 i_regionNo) {
strcpy(mName, i_name);
@@ -397,12 +240,16 @@ void dSv_player_field_last_stay_info_c::set(const char* i_name, const cXyz& i_po
mRegionNo = i_regionNo;
}
+/* 80032E4C-80032E78 02D78C 002C+00 0/0 1/1 0/0 .text
+ * onRegionBit__33dSv_player_field_last_stay_info_cFi */
void dSv_player_field_last_stay_info_c::onRegionBit(int i_region) {
if (i_region >= 0 && i_region < 8) {
mRegion |= (u8)(1 << i_region);
}
}
+/* 80032E78-80032EB0 02D7B8 0038+00 0/0 2/2 0/0 .text
+ * isRegionBit__33dSv_player_field_last_stay_info_cCFi */
BOOL dSv_player_field_last_stay_info_c::isRegionBit(int i_region) const {
if (i_region >= 0 && i_region < 8) {
return (mRegion & (u8)(1 << i_region)) ? TRUE : FALSE;
@@ -410,6 +257,7 @@ BOOL dSv_player_field_last_stay_info_c::isRegionBit(int i_region) const {
return false;
}
+/* 80032EB0-80032F2C 02D7F0 007C+00 1/1 0/0 0/0 .text init__27dSv_player_last_mark_info_cFv */
void dSv_player_last_mark_info_c::init() {
strcpy(mName, "");
mPos.set(0.0f, 0.0f, 0.0f);
@@ -423,6 +271,8 @@ void dSv_player_last_mark_info_c::init() {
}
}
+/* 80032F2C-80032F90 02D86C 0064+00 0/0 1/1 0/0 .text
+ * setWarpItemData__27dSv_player_last_mark_info_cFPCcRC4cXyzsScUcUc */
void dSv_player_last_mark_info_c::setWarpItemData(const char* i_name, const cXyz& i_pos,
s16 i_angle, s8 i_roomNo, u8, u8) {
strcpy(mName, i_name);
@@ -431,6 +281,7 @@ void dSv_player_last_mark_info_c::setWarpItemData(const char* i_name, const cXyz
mRoomNo = i_roomNo;
}
+/* 80032F90-80032FB8 02D8D0 0028+00 1/1 0/0 0/0 .text init__17dSv_player_item_cFv */
void dSv_player_item_c::init() {
for (int i = 0; i < MAX_ITEM_SLOTS; i++) {
mItems[i] = NO_ITEM;
@@ -438,6 +289,7 @@ void dSv_player_item_c::init() {
}
}
+/* 80032FB8-80033030 02D8F8 0078+00 11/11 45/45 2/2 .text setItem__17dSv_player_item_cFiUc */
void dSv_player_item_c::setItem(int i_slotNo, u8 i_itemNo) {
if (i_slotNo < MAX_ITEM_SLOTS) {
mItems[i_slotNo] = i_itemNo;
@@ -451,6 +303,8 @@ void dSv_player_item_c::setItem(int i_slotNo, u8 i_itemNo) {
}
}
+/* 80033030-800332F8 02D970 02C8+00 7/7 70/70 2/2 .text getItem__17dSv_player_item_cCFib
+ */
u8 dSv_player_item_c::getItem(int i_slotNo, bool i_checkCombo) const {
if (i_slotNo < MAX_ITEM_SLOTS) {
if (i_checkCombo) {
@@ -523,6 +377,8 @@ u8 dSv_player_item_c::getItem(int i_slotNo, bool i_checkCombo) const {
return NO_ITEM;
}
+/* ############################################################################################## */
+/* 803A7270-803A7288 004390 0017+01 1/1 0/0 0/0 .data i_item_lst$4006 */
static u8 i_item_lst[23] = {
0x0A, 0x08, 0x06, 0x02, 0x09, 0x04, 0x03, 0x00, 0x01, 0x17, 0x14, 0x05,
0x0F, 0x10, 0x11, 0x0B, 0x0C, 0x0D, 0x0E, 0x13, 0x12, 0x16, 0x15,
@@ -545,6 +401,7 @@ void dSv_player_item_c::setLineUpItem() {
}
}
+/* 80033354-80033370 02DC94 001C+00 0/0 2/2 0/0 .text getLineUpItem__17dSv_player_item_cCFi */
u8 dSv_player_item_c::getLineUpItem(int i_slotNo) const {
if (i_slotNo < MAX_ITEM_SLOTS) {
return mItemSlots[i_slotNo];
@@ -582,6 +439,7 @@ void dSv_player_item_c::setEmptyBottleItemIn(u8 i_itemNo) {
setBottleItemIn(EMPTY_BOTTLE, i_itemNo);
}
+/* 80033494-80033514 02DDD4 0080+00 0/0 1/1 1/1 .text setEmptyBottle__17dSv_player_item_cFv */
void dSv_player_item_c::setEmptyBottle() {
for (int i = 0; i < 4; i++) {
if (dComIfGs_getItem((u8)(i + SLOT_11), true) == NO_ITEM) {
@@ -591,6 +449,7 @@ void dSv_player_item_c::setEmptyBottle() {
}
}
+/* 80033514-80033598 02DE54 0084+00 0/0 3/3 0/0 .text setEmptyBottle__17dSv_player_item_cFUc */
void dSv_player_item_c::setEmptyBottle(u8 i_itemNo) {
for (int i = 0; i < 4; i++) {
if (dComIfGs_getItem((u8)(i + SLOT_11), true) == NO_ITEM) {
@@ -618,10 +477,13 @@ void dSv_player_item_c::setEquipBottleItemIn(u8 curItemIn, u8 newItemIn) {
}
}
+/* 800336BC-800336E0 02DFFC 0024+00 0/0 4/4 0/0 .text
+ * setEquipBottleItemEmpty__17dSv_player_item_cFUc */
void dSv_player_item_c::setEquipBottleItemEmpty(u8 curItemIn) {
setEquipBottleItemIn(curItemIn, EMPTY_BOTTLE);
}
+/* 800336E0-80033754 02E020 0074+00 0/0 30/30 0/0 .text checkBottle__17dSv_player_item_cFUc */
u8 dSv_player_item_c::checkBottle(u8 i_itemNo) {
u8 num_bottles = 0;
u8 item_id = dSv_item_rename(i_itemNo);
@@ -637,77 +499,81 @@ u8 dSv_player_item_c::checkBottle(u8 i_itemNo) {
/* ############################################################################################## */
/* 803A7288-803A78F8 0043A8 066C+04 2/2 45/45 148/148 .data saveBitLabels__16dSv_event_flag_c */
u16 dSv_event_flag_c::saveBitLabels[822] = {
- 0xFFFF, 0x0080, 0x0040, 0x0020, 0x0010, 0x0008, 0x0004, 0x0002, 0x0001, 0x0180, 0x0140, 0x0120,
- 0x0110, 0x0108, 0x0104, 0x0102, 0x0101, 0x0280, 0x0240, 0x0220, 0x0210, 0x0208, 0x0204, 0x0202,
- 0x0201, 0x0380, 0x0340, 0x0320, 0x0310, 0x0308, 0x0304, 0x0302, 0x0301, 0x0480, 0x0440, 0x0420,
- 0x0410, 0x0408, 0x0404, 0x0402, 0x0401, 0x0580, 0x0540, 0x0520, 0x0510, 0x0508, 0x0504, 0x0502,
- 0x0501, 0x0680, 0x0640, 0x0620, 0x0610, 0x0608, 0x0604, 0x0602, 0x0601, 0x0780, 0x0740, 0x0720,
- 0x0710, 0x0708, 0x0704, 0x0702, 0x0701, 0x0880, 0x0840, 0x0820, 0x0810, 0x0808, 0x0804, 0x0802,
- 0x0801, 0x0980, 0x0940, 0x0920, 0x0910, 0x0908, 0x0904, 0x0902, 0x0901, 0x0A80, 0x0A40, 0x0A20,
- 0x0A10, 0x0A08, 0x0A04, 0x0A02, 0x0A01, 0x0B80, 0x0B40, 0x0B20, 0x0B10, 0x0B08, 0x0B04, 0x0B02,
- 0x0B01, 0x0C80, 0x0C40, 0x0C20, 0x0C10, 0x0C08, 0x0C04, 0x0C02, 0x0C01, 0x0D80, 0x0D40, 0x0D20,
- 0x0D10, 0x0D08, 0x0D04, 0x0D02, 0x0D01, 0x0E80, 0x0E40, 0x0E20, 0x0E10, 0x0E08, 0x0E04, 0x0E02,
- 0x0E01, 0x0F80, 0x0F40, 0x0F20, 0x0F10, 0x0F08, 0x0F04, 0x0F02, 0x0F01, 0x1080, 0x1040, 0x1020,
- 0x1010, 0x1008, 0x1004, 0x1002, 0x1001, 0x1180, 0x1140, 0x1120, 0x1110, 0x1108, 0x1104, 0x1102,
- 0x1101, 0x1280, 0x1240, 0x1220, 0x1210, 0x1208, 0x1204, 0x1202, 0x1201, 0x1380, 0x1340, 0x1320,
- 0x1310, 0x1308, 0x1304, 0x1302, 0x1301, 0x1480, 0x1440, 0x1420, 0x1410, 0x1408, 0x1404, 0x1402,
- 0x1401, 0x1580, 0x1540, 0x1520, 0x1510, 0x1508, 0x1504, 0x1502, 0x1501, 0x1680, 0x1640, 0x1620,
- 0x1610, 0x1608, 0x1604, 0x1602, 0x1601, 0xFF1F, 0x1780, 0x1740, 0x1720, 0x1710, 0x1708, 0x1704,
- 0x1702, 0x1701, 0x1880, 0x1840, 0x1820, 0x1810, 0xFEFF, 0xFDFF, 0xFCFF, 0xFBFF, 0x1808, 0x1804,
- 0x1802, 0x1801, 0x1980, 0x1940, 0x1920, 0x1910, 0x1908, 0x1904, 0x1902, 0x1901, 0x1A80, 0x1A40,
- 0x1A20, 0x1A10, 0x1A08, 0x1A04, 0x1A02, 0x1A01, 0x1B80, 0x1B40, 0x1B20, 0x1B10, 0x1B08, 0x1B04,
- 0x1B02, 0x1B01, 0x1C80, 0x1C40, 0x1C20, 0x1C10, 0x1C08, 0x1C04, 0x1C02, 0x1C01, 0x1D80, 0x1D40,
- 0x1D20, 0x1D10, 0x1D08, 0x1D04, 0x1D02, 0x1D01, 0x1E80, 0x1E40, 0x1E20, 0x1E10, 0x1E08, 0x1E04,
- 0x1E02, 0x1E01, 0x1F80, 0x1F40, 0x1F20, 0x1F10, 0x1F08, 0x1F04, 0x1F02, 0x1F01, 0x2080, 0x2040,
- 0x2020, 0x2010, 0x2008, 0x2004, 0x2002, 0x2001, 0x2180, 0x2140, 0x2120, 0x2110, 0x2108, 0x2104,
- 0x2102, 0x2101, 0x2280, 0x2240, 0x2220, 0x2210, 0x2208, 0x2204, 0x2202, 0x2201, 0x2380, 0x2340,
- 0x2320, 0x2310, 0x2308, 0x2304, 0x2302, 0x2301, 0x2480, 0x2440, 0x2420, 0x2410, 0x2408, 0x2404,
- 0x2402, 0x2401, 0x2580, 0x2540, 0x2520, 0x2510, 0x2508, 0x2504, 0x2502, 0x2501, 0x2680, 0x2640,
- 0x2620, 0x2610, 0x2608, 0x2604, 0x2602, 0x2601, 0x2780, 0x2740, 0x2720, 0x2710, 0x2708, 0x2704,
- 0x2702, 0x2701, 0x2880, 0x2840, 0x2820, 0x2810, 0x2808, 0x2804, 0x2802, 0x2801, 0x2980, 0x2940,
- 0x2920, 0x2910, 0x2908, 0x2904, 0x2902, 0x2901, 0x2A80, 0x2A40, 0x2A20, 0x2A10, 0x2A08, 0x2A04,
- 0x2A02, 0x2A01, 0x2B80, 0x2B40, 0x2B20, 0x2B10, 0x2B08, 0x2B04, 0x2B02, 0x2B01, 0x2C80, 0x2C40,
- 0x2C20, 0x2C10, 0x2C08, 0x2C04, 0x2C02, 0x2C01, 0x2D80, 0x2D40, 0x2D20, 0x2D10, 0x2D08, 0x2D04,
- 0x2D02, 0x2D01, 0x2E80, 0x2E40, 0x2E20, 0x2E10, 0x2E08, 0x2E04, 0x2E02, 0x2E01, 0x2F80, 0x2F40,
- 0x2F20, 0x2F10, 0x2F08, 0x2F04, 0x2F02, 0x2F01, 0x3080, 0x3040, 0x3020, 0x3010, 0x3008, 0x3004,
- 0x3002, 0x3001, 0x3180, 0x3140, 0x3120, 0x3110, 0x3108, 0x3104, 0x3102, 0x3101, 0x3280, 0x3240,
- 0x3220, 0x3210, 0x3208, 0x3204, 0x3202, 0x3201, 0x3380, 0x3340, 0x3320, 0x3310, 0x3308, 0x3304,
- 0x3302, 0x3301, 0x3480, 0x3440, 0x3420, 0x3410, 0x3408, 0x3404, 0x3402, 0x3401, 0x3580, 0x3540,
- 0x3520, 0x3510, 0x3508, 0x3504, 0x3502, 0x3501, 0x3680, 0x3640, 0x3620, 0x3610, 0x3608, 0x3604,
- 0x3602, 0x3601, 0x3780, 0x3740, 0x3720, 0x3710, 0x3708, 0xFAFF, 0xF9FF, 0x3704, 0x3702, 0x3701,
- 0x3880, 0x3840, 0x3820, 0x3810, 0x3808, 0x3804, 0x3802, 0x3801, 0x3980, 0x3940, 0x3920, 0x3910,
- 0x3908, 0x3904, 0x3902, 0x3901, 0x3A80, 0x3A40, 0x3A20, 0x3A10, 0x3A08, 0x3A04, 0x3A02, 0x3A01,
- 0x3B80, 0x3B40, 0x3B20, 0x3B10, 0x3B08, 0x3B04, 0x3B02, 0x3B01, 0x3C80, 0x3C40, 0x3C20, 0x3C10,
- 0x3C08, 0x3C04, 0x3C02, 0x3C01, 0x3D80, 0x3D40, 0x3D20, 0x3D10, 0x3D08, 0x3D04, 0x3D02, 0x3D01,
- 0x3E80, 0x3E40, 0x3E20, 0x3E10, 0x3E08, 0x3E04, 0x3E02, 0xF8FF, 0xF7FF, 0x3E01, 0x3F80, 0x3F40,
- 0x3F20, 0x3F10, 0x3F08, 0x3F04, 0x3F02, 0x3F01, 0x4080, 0x4040, 0x4020, 0x4010, 0x4008, 0x4004,
- 0x4002, 0x4001, 0x4180, 0x4140, 0x4120, 0x4110, 0x4108, 0x4104, 0x4102, 0x4101, 0x4280, 0x4240,
- 0x4220, 0x4210, 0x4208, 0x4204, 0x4202, 0x4201, 0x4380, 0x4340, 0x4320, 0x4310, 0x4308, 0x4304,
- 0x4302, 0x4301, 0x4480, 0x4440, 0x4420, 0x4410, 0x4408, 0x4404, 0x4402, 0x4401, 0x4580, 0x4540,
- 0x4520, 0x4510, 0x4508, 0x4504, 0x4502, 0x4501, 0x4680, 0x4640, 0x4620, 0x4610, 0x4608, 0x4604,
- 0x4602, 0x4601, 0x4780, 0x4740, 0x4720, 0x4710, 0x4708, 0x4704, 0x4702, 0x4701, 0x4880, 0x4840,
- 0x4820, 0x4810, 0x4808, 0x4804, 0x4802, 0x4801, 0x4980, 0x4940, 0x4920, 0x4910, 0x4908, 0x4904,
- 0x4902, 0x4901, 0xFFFF, 0x4A40, 0x4A20, 0x4A10, 0x4A08, 0x4A04, 0x4A02, 0x4A01, 0x4B80, 0x4B40,
- 0x4B20, 0x4B10, 0x4B08, 0x4B04, 0x4B02, 0x4B01, 0x4C80, 0x4C40, 0x4C20, 0x4C10, 0x4C08, 0x4C04,
- 0x4C02, 0x4C01, 0x4D80, 0x4D40, 0x4D20, 0x4D10, 0x4D08, 0x4A80, 0x4D04, 0x4D02, 0x4D01, 0x4E80,
- 0x4E40, 0x4E20, 0x4E10, 0x4E08, 0x4E04, 0x4E02, 0x4E01, 0x4F80, 0x4F40, 0x4F20, 0x4F10, 0x4F08,
- 0x4F04, 0x4F02, 0x4F01, 0x5080, 0x5040, 0x5020, 0x5010, 0x5008, 0x5004, 0x5002, 0x5001, 0x5180,
- 0x5140, 0x5120, 0x5110, 0x5108, 0x5104, 0x5102, 0x5101, 0x5280, 0x5240, 0x5220, 0x5210, 0x5208,
- 0x5204, 0x5202, 0x5201, 0x5380, 0x5340, 0x5320, 0x5310, 0x5308, 0x5304, 0x5302, 0x5301, 0x5480,
- 0x5440, 0x5420, 0x5410, 0x5408, 0x5404, 0x5402, 0x5401, 0x5580, 0x5540, 0x5520, 0x5510, 0x5508,
- 0x5504, 0x5502, 0x5501, 0x5680, 0x5640, 0x5620, 0x5610, 0x5608, 0x5604, 0x5602, 0x5601, 0x5780,
- 0x5740, 0x5720, 0xF63F, 0xF57F, 0xF47F, 0xF37F, 0xF27F, 0x5710, 0x5708, 0x5704, 0x5702, 0x5701,
- 0x5880, 0x5840, 0x5820, 0x5810, 0x5808, 0x5804, 0x5802, 0x5801, 0x5980, 0x5940, 0x5920, 0xF11F,
- 0x5910, 0x5908, 0x5904, 0x5902, 0x5901, 0x5A80, 0x5A40, 0x5A20, 0x5A10, 0x5A08, 0x5A04, 0x5A02,
- 0x5A01, 0x5B80, 0x5B40, 0x5B20, 0x5B10, 0x5B08, 0x5B04, 0x5B02, 0x5B01, 0x5C80, 0x5C40, 0x5C20,
- 0x5C10, 0x5C08, 0x5C04, 0x5C02, 0xF0FF, 0xEFFF, 0xEEFF, 0xEDFF, 0xECFF, 0xEBFF, 0x5C01, 0x5D80,
- 0x5D40, 0x5D20, 0x5D10, 0x5D08, 0x5D04, 0x5D02, 0x5D01, 0x5E80, 0x5E40, 0x5E20, 0x5E10, 0x5E08,
- 0x5E04, 0x5E02, 0x5E01, 0x5F80, 0x5F40, 0x5F20, 0x5F10, 0x5F08, 0x5F04, 0x5F02, 0x5F01, 0x6080,
- 0x6040, 0x6020, 0x6010, 0x6008, 0x6004, 0x6002, 0x6001, 0x6180, 0x6140, 0x6120, 0x6110, 0x6108,
- 0x6104, 0x6102, 0x6101, 0x6280, 0x6240, 0x6220, 0x6210, 0x6208, 0x6204, 0x6202, 0x6201, 0x6380,
- 0x6340, 0x6320, 0x6310, 0x6308, 0x6304, 0x6302,
+ UNUSED, TEST_001, TEST_002, TEST_003, TEST_004, F_0001, F_0002, F_0003, F_0004, F_0005, F_0006,
+ F_0007, F_0008, F_0009, F_0010, F_0011, F_0012, F_0013, F_0014, F_0015, F_0016, F_0017, F_0018,
+ F_0019, F_0020, D_0001, F_0021, F_0022, F_0023, F_0024, F_0025, F_0026, F_0027, F_0028, F_0029,
+ F_0030, F_0031, F_0032, F_0033, M_006, M_007, M_008, M_009, M_010, M_011, M_012, M_013,
+ M_014, M_015, M_016, M_017, M_018, M_019, M_020, M_021, M_022, M_023, M_024, M_025,
+ M_026, M_027, M_028, M_029, M_030, M_031, M_032, M_033, M_034, M_035, M_036, M_037,
+ M_038, M_039, M_040, M_041, M_042, M_043, M_044, M_045, M_046, M_047, M_048, M_049,
+ M_050, M_051, M_052, M_053, M_054, M_055, M_056, M_057, M_058, M_059, M_060, M_061,
+ M_062, M_063, M_064, M_065, M_066, M_067, M_068, M_069, M_070, M_071, M_072, M_073,
+ M_074, M_075, M_076, M_077, M_078, M_079, M_080, M_081, M_082, M_083, M_084, M_085,
+ M_086, M_087, M_088, M_089, M_090, M_091, M_092, M_093, M_094, M_095, M_096, F_0034,
+ F_0035, M_001, M_003, F_0036, F_0037, F_0038, F_0039, F_0040, F_0041, F_0042, F_0043, F_0044,
+ F_0045, F_0046, F_0047, F_0048, F_0049, F_0050, F_0051, F_0052, F_0053, F_0054, F_0055, F_0056,
+ F_0057, F_0058, F_0059, F_0060, F_0061, F_0062, F_0063, F_0064, F_0065, F_0066, F_0067, F_0068,
+ F_0069, F_0070, M_002, F_0071, F_0072, F_0073, F_0074, F_0075, F_0076, F_0077, F_0078, F_0079,
+ F_0080, F_0081, F_0082, F_0083, F_0084, F_0085, EREG_000, F_0086, F_0087, F_0088, F_0089,
+ F_0090, F_0091, F_0092, F_0093, F_0094, F_0095, F_0096, F_0097, TOTAL_PRICE_HIGH, TOTAL_PRICE_LOW,
+ TOTAL_PAYMENT_HIGH, TOTAL_PAYMENT_LOW, F_0202, F_0203, F_0204, F_0205, F_0206, F_0207,
+ F_0208, F_0209, F_0210, F_0211, F_0212, F_0213, F_0214, F_0215, F_0216, F_0217, F_0218, F_0219,
+ F_0220, F_0221, F_0222, F_0223, F_0224, F_0225, F_0226, F_0227, F_0228, F_0229, F_0230, F_0231,
+ F_0232, F_0233, F_234, F_0235, F_0236, F_0237, F_0238, T_0239, F_0240, F_0241, F_0242, F_0243,
+ F_0244, MAP_VISIBLE, F_0246, F_0247, F_0248, F_0249, F_0250, F_0251, F_0252, F_0253, F_0254,
+ F_0255, F_0256, F_0257, F_0258, F_0259, F_0260, F_0261, F_0262, F_0263, F_0264, F_0265, F_0266,
+ F_0267, F_0268, F_0269, F_0270, F_0271, F_0272, F_0273, F_0274, F_0275, F_0276, F_0277, F_0278,
+ F_0279, F_0280, F_0281, F_282, F_283, F_284, F_285, F_286, F_287, F_288, F_289, F_290,
+ M_097, F_0292, F_0293, F_0294, F_0295, F_0296, F_0297, F_0298, F_0299, F_0300, F_0301, F_0302,
+ F_0303, F_0304, F_0305, F_0306, F_0307, F_0308, F_0309, F_0310, F_0311, F_0312, F_0313, F_0314,
+ F_0315, F_0316, F_0317, F_0318, F_0319, F_0320, F_0321, F_0322, F_0323, F_0324, F_0325, F_0326,
+ F_0327, F_0328, F_0329, F_0330, F_0331, F_0332, F_0333, F_0334, F_0335, F_0336, F_0337, F_0338,
+ F_0339, F_0340, F_0341, F_0342, F_0343, F_0344, F_0345, F_0346, F_0347, F_0348, F_0349, F_0350,
+ F_0351, F_0352, F_0353, F_0354, F_0355, F_0356, F_0357, F_0358, F_0359, F_0360, F_0361, F_0362,
+ F_0363, F_0364, F_0365, F_0366, F_0367, F_0368, F_0369, F_0370, F_0371, F_0372, F_0373, F_0374,
+ F_0375, F_0376, F_0377, F_0378, F_0379, F_0380, F_0381, F_0382, F_0383, F_0384, F_0385, F_0386,
+ F_0387, F_0388, F_0389, F_0390, F_0391, F_0392, F_0393, F_0394, F_0395, F_0396, F_0397, F_0398,
+ F_0399, F_0400, F_0401, F_0402, F_0403, F_0404, F_0405, F_0406, F_0407, F_0408, F_0409, F_0410,
+ F_0411, F_0412, F_0413, F_0414, F_0415, F_0416, F_0417, F_0418, F_0419, F_0420, F_0421, F_0422,
+ F_0423, F_0424, F_0425, F_0426, F_0427, F_0428, F_0429, F_0430, F_0431, F_0432, F_0433, F_0434,
+ F_0435, F_0436, F_0437, F_0438, F_0439, F_0440, F_0441, F_0442, F_0443, F_0444, F_0445, F_0446,
+ F_0447, F_0448, F_0449, F_0450, FUND_RAISING_LOW, FUND_RAISING_HIGH, F_0453, F_0454,
+ F_0455, F_0456, F_0457, F_0458, F_0459, F_0460, F_0461, F_0462, F_0463, F_0464, F_0465, F_0466,
+ F_0467, F_0468, F_0469, F_0470, F_0471, F_0472, F_0473, F_0474, F_0475, F_0476, F_0477, F_0478,
+ F_0479, F_0480, F_0481, F_0482, F_0483, F_0484, F_0485, F_0486, F_0487, F_0488, F_0489, F_0490,
+ F_0491, F_0492, F_0493, F_0494, F_0495, F_0496, F_0497, F_0498, F_0499, F_0500, F_0501, F_0502,
+ F_0503, F_0504, F_0505, F_0506, F_0507, F_0508, F_0509, F_0510, FUND_RAISING_LOW2, FUND_RAISING_HIGH2,
+ F_0513, F_0514, F_0515, F_0516, F_0517, F_0518, F_0519, F_0520, F_0521, F_0522, F_0523, F_0524,
+ F_0525, F_0526, F_0527, F_0528, F_0529, F_0530, F_0531, F_0532, F_0533, F_0534, F_0535, F_0536,
+ F_0537, F_0538, F_0539, F_0540, F_0541, F_0542, F_0543, F_0544, F_0545, F_0546, F_0547, F_0548,
+ F_0549, F_0550, F_0551, F_0552, F_0553, F_0554, F_0555, F_0556, F_0557, F_0558, F_0559, F_0560,
+ F_0561, F_0562, F_0563, F_0564, F_0565, F_0566, F_0567, F_0568, F_0569, F_0570, F_0571, F_0572,
+ F_0573, F_0574, F_0575, F_0576, F_0577, F_0578, F_0579, F_0580, F_0581, F_0582, F_0583, F_0584,
+ F_0585, F_0586, F_0587, F_0588, F_0589, F_0590, F_0591, F_0592, F_0593, F_0594, F_0595, F_0596,
+ F_0597, F_0598, F_0599, F_0600, F_0601, UNUSED, F_0700, F_0701, F_0702, F_0606, F_0607, F_0608,
+ F_0609, F_0610, F_0611, F_0612, F_0613, F_0614, F_0615, F_0616, F_0617, F_0618, F_0619, F_0620,
+ F_0621, F_0622, F_0623, F_0624, F_0625, F_0626, F_0627, F_0628, F_0629, F_0630, F_0631, F_0632,
+ F_0633, F_0634, F_0635, F_0636, F_0637, F_0638, F_0639, F_0640, F_0641, F_0642, F_0643, F_0644,
+ F_0645, F_0646, F_0647, F_0648, F_0649, F_0650, F_0651, F_0652, F_0653, F_0654, F_0655, F_0656,
+ F_0657, F_0658, F_0659, F_0660, F_0661, F_0662, F_0663, F_0664, F_0665, F_0666, F_0667, F_0668,
+ F_0669, F_0670, F_0671, F_0672, F_0673, F_0674, F_0675, F_0676, F_0677, F_0678, F_0679, F_0680,
+ F_0681, F_0682, F_0683, F_0684, F_0685, F_0686, F_0687, F_0688, F_0689, F_0690, F_0691, F_0692,
+ F_0693, F_0694, F_0695, F_0696, F_0697, F_0698, F_0699, F_0700B, F_0701B, F_0702B,
+ F_0703, F_0704, F_0705, F_0706, F_0707, F_0708, F_0709, KORO2_LEVEL, LM_RECORD_0, RI_RECORD_0,
+ NP_RECORD_0, CF_RECORD_0, F_0715, F_0716, F_0717, F_0718, F_0719, F_0720, F_0721, F_0722,
+ F_0723, F_0724, F_0725, F_0726, F_0727, F_0728, F_0729, F_0730, SP_LURE__USE_COUNT, F_0732,
+ F_0733, F_0734, F_0735, F_0736, F_0737, F_0738, F_0739, F_0740, F_0741, F_0742, F_0743, F_0744,
+ F_0745, F_0746, F_0747, F_0748, F_0749, F_0750, F_0751, F_0752, F_0753, F_0754, F_0755, F_0756,
+ F_0757, F_0758, F_0759, KAKERA_GET_INFO_00, KAKERA_GET_INFO_01, KAKERA_GET_INFO_02,
+ KAKERA_GET_INFO_03, KAKERA_GET_INFO_04, KAKERA_GET_INFO_05, B_BTN_GUIDE, J_BTN_GUIDE,
+ F_0768, F_0769, F_0770, F_0771, F_0772, F_0773, F_0774, F_0775, F_0776, F_0777, F_0778, F_0779,
+ F_0780, F_0781, F_0782, F_0783, F_0784, F_0785, F_0786, F_0787, F_0788, F_0789, F_0790, F_0791,
+ F_0792, F_0793, F_0794, F_0795, F_0796, F_0797, F_0798, F_0799, F_0800, F_0801, F_0802, F_0803,
+ F_0804, F_0805, F_0806, F_0807, F_0808, F_0809, F_0810, F_0811, F_0812, F_0813, F_0814, F_0815,
+ F_0816, F_0817, F_0818, F_0819, F_0820, KORO2_ALLCLEAR,
};
+/* 80033754-800337EC 02E094 0098+00 0/0 1/1 0/0 .text checkInsectBottle__17dSv_player_item_cFv */
BOOL dSv_player_item_c::checkInsectBottle() {
for (int i = 0; i < 24; i++) {
if (i_dComIfGs_isItemFirstBit(M_BEETLE + i) &&
@@ -718,6 +584,7 @@ BOOL dSv_player_item_c::checkInsectBottle() {
return FALSE;
}
+/* 800337EC-80033828 02E12C 003C+00 0/0 1/1 1/1 .text checkEmptyBottle__17dSv_player_item_cFv */
u8 dSv_player_item_c::checkEmptyBottle() {
u8 bottleNum = 0;
@@ -729,6 +596,8 @@ u8 dSv_player_item_c::checkEmptyBottle() {
return bottleNum;
}
+/* 80033828-80033910 02E168 00E8+00 1/1 0/0 0/0 .text setBombBagItemIn__17dSv_player_item_cFUcUcb
+ */
void dSv_player_item_c::setBombBagItemIn(u8 i_curBomb, u8 i_newBomb, bool i_setNum) {
for (int i = 0; i < 3; i++) {
if (i_curBomb == mItems[i + SLOT_15]) {
@@ -748,6 +617,8 @@ void dSv_player_item_c::setBombBagItemIn(u8 i_curBomb, u8 i_newBomb, bool i_setN
}
}
+/* 80033910-80033A20 02E250 0110+00 1/1 0/0 0/0 .text
+ * setBombBagItemIn__17dSv_player_item_cFUcUcUcb */
void dSv_player_item_c::setBombBagItemIn(u8 i_curBomb, u8 i_newBomb, u8 i_bombNum, bool i_setNum) {
for (int i = 0; i < 3; i++) {
if (i_curBomb == mItems[i + SLOT_15]) {
@@ -770,14 +641,19 @@ void dSv_player_item_c::setBombBagItemIn(u8 i_curBomb, u8 i_newBomb, u8 i_bombNu
}
}
+/* 80033A20-80033A50 02E360 0030+00 0/0 2/2 0/0 .text
+ * setEmptyBombBagItemIn__17dSv_player_item_cFUcb */
void dSv_player_item_c::setEmptyBombBagItemIn(u8 i_newBomb, bool i_setNum) {
setBombBagItemIn(BOMB_BAG_LV1, i_newBomb, i_setNum);
}
+/* 80033A50-80033A88 02E390 0038+00 0/0 1/1 1/1 .text
+ * setEmptyBombBagItemIn__17dSv_player_item_cFUcUcb */
void dSv_player_item_c::setEmptyBombBagItemIn(u8 i_newBomb, u8 i_bombNum, bool i_setNum) {
setBombBagItemIn(BOMB_BAG_LV1, i_newBomb, i_bombNum, i_setNum);
}
+/* 80033A88-80033B08 02E3C8 0080+00 0/0 2/2 0/0 .text setEmptyBombBag__17dSv_player_item_cFv */
void dSv_player_item_c::setEmptyBombBag() {
for (int i = 0; i < 3; i++) {
if (dComIfGs_getItem((u8)(i + SLOT_15), true) == NO_ITEM) {
@@ -787,6 +663,7 @@ void dSv_player_item_c::setEmptyBombBag() {
}
}
+/* 80033B08-80033BEC 02E448 00E4+00 0/0 3/3 0/0 .text setEmptyBombBag__17dSv_player_item_cFUcUc */
void dSv_player_item_c::setEmptyBombBag(u8 i_newBomb, u8 i_bombNum) {
for (int i = 0; i < 3; i++) {
if (dComIfGs_getItem((u8)(i + SLOT_15), true) == NO_ITEM) {
@@ -806,6 +683,7 @@ void dSv_player_item_c::setEmptyBombBag(u8 i_newBomb, u8 i_bombNum) {
}
}
+/* 80033BEC-80033C2C 02E52C 0040+00 0/0 1/1 0/0 .text checkBombBag__17dSv_player_item_cFUc */
u8 dSv_player_item_c::checkBombBag(u8 i_itemNo) {
u8 bombBags = 0;
@@ -817,6 +695,7 @@ u8 dSv_player_item_c::checkBombBag(u8 i_itemNo) {
return bombBags;
}
+/* 80033C2C-80033CBC 02E56C 0090+00 0/0 2/2 1/1 .text setWarashibeItem__17dSv_player_item_cFUc */
void dSv_player_item_c::setWarashibeItem(u8 i_itemNo) {
dComIfGs_setItem(SLOT_21, i_itemNo);
dComIfGp_setItem(SLOT_21, i_itemNo);
@@ -828,6 +707,7 @@ void dSv_player_item_c::setWarashibeItem(u8 i_itemNo) {
}
}
+/* 80033CBC-80033D40 02E5FC 0084+00 0/0 1/1 0/0 .text setRodTypeLevelUp__17dSv_player_item_cFv */
void dSv_player_item_c::setRodTypeLevelUp() {
switch (mItems[SLOT_20]) {
case BEE_ROD: {
@@ -849,6 +729,8 @@ void dSv_player_item_c::setRodTypeLevelUp() {
}
}
+/* 80033D40-80033E40 02E680 0100+00 0/0 2/2 0/0 .text setBaitItem__17dSv_player_item_cFUc
+ */
void dSv_player_item_c::setBaitItem(u8 i_itemNo) {
switch (i_itemNo) {
case BEE_CHILD: {
@@ -873,6 +755,7 @@ void dSv_player_item_c::setBaitItem(u8 i_itemNo) {
}
}
+/* 80033E40-80033E60 02E780 0020+00 1/1 0/0 0/0 .text init__21dSv_player_get_item_cFv */
void dSv_player_get_item_c::init() {
for (int i = 0; i < 8; i++) {
mItemFlags[i] = 0;
@@ -894,6 +777,8 @@ int dSv_player_get_item_c::isFirstBit(u8 i_itemNo) const {
return mItemFlags[i_itemNo / 32] & (1 << (i_itemNo % 32)) ? TRUE : FALSE;
}
+/* 80033F00-80033F6C 02E840 006C+00 1/1 0/0 0/0 .text init__24dSv_player_item_record_cFv
+ */
void dSv_player_item_record_c::init() {
mArrowNum = 0;
@@ -912,18 +797,26 @@ void dSv_player_item_record_c::init() {
}
}
+/* 80033F6C-80033F7C 02E8AC 0010+00 3/3 5/5 0/0 .text setBombNum__24dSv_player_item_record_cFUcUc
+ */
void dSv_player_item_record_c::setBombNum(u8 i_bagIdx, u8 i_bombNum) {
mBombNum[i_bagIdx] = i_bombNum;
}
+/* 80033F7C-80033F8C 02E8BC 0010+00 0/0 13/13 2/2 .text getBombNum__24dSv_player_item_record_cCFUc
+ */
u8 dSv_player_item_record_c::getBombNum(u8 i_bagIdx) const {
return mBombNum[i_bagIdx];
}
+/* 80033F8C-80033F9C 02E8CC 0010+00 0/0 2/2 0/0 .text
+ * setBottleNum__24dSv_player_item_record_cFUcUc */
void dSv_player_item_record_c::setBottleNum(u8 i_bottleIdx, u8 i_bottleNum) {
mBottleNum[i_bottleIdx] = i_bottleNum;
}
+/* 80033F9C-80034030 02E8DC 0094+00 0/0 1/1 0/0 .text addBottleNum__24dSv_player_item_record_cFUcs
+ */
u8 dSv_player_item_record_c::addBottleNum(u8 i_bottleIdx, s16 i_no) {
int bottleNum = mBottleNum[i_bottleIdx] + i_no;
@@ -940,10 +833,13 @@ u8 dSv_player_item_record_c::addBottleNum(u8 i_bottleIdx, s16 i_no) {
return mBottleNum[i_bottleIdx];
}
+/* 80034030-80034040 02E970 0010+00 0/0 4/4 0/0 .text getBottleNum__24dSv_player_item_record_cCFUc
+ */
u8 dSv_player_item_record_c::getBottleNum(u8 i_bottleIdx) const {
return mBottleNum[i_bottleIdx];
}
+/* 80034040-800340B8 02E980 0078+00 1/1 0/0 0/0 .text init__21dSv_player_item_max_cFv */
void dSv_player_item_max_c::init() {
for (int i = 0; i < 7; i++) {
mItemMax[i] = 30;
@@ -954,6 +850,7 @@ void dSv_player_item_max_c::init() {
mItemMax[7] = 0;
}
+/* 800340B8-800340F8 02E9F8 0040+00 1/1 0/0 0/0 .text setBombNum__21dSv_player_item_max_cFUcUc */
void dSv_player_item_max_c::setBombNum(u8 i_bombType, u8 i_maxNum) {
switch (i_bombType) {
case NORMAL_BOMB:
@@ -968,6 +865,7 @@ void dSv_player_item_max_c::setBombNum(u8 i_bombType, u8 i_maxNum) {
}
}
+/* 800340F8-800341AC 02EA38 00B4+00 3/3 14/14 2/2 .text getBombNum__21dSv_player_item_max_cCFUc */
u8 dSv_player_item_max_c::getBombNum(u8 i_bombType) const {
u8 lv_multiplier = 1;
if (i_dComIfGs_isItemFirstBit(BOMB_BAG_LV2)) {
@@ -986,6 +884,7 @@ u8 dSv_player_item_max_c::getBombNum(u8 i_bombType) const {
}
}
+/* 800341AC-800341E8 02EAEC 003C+00 1/1 0/0 0/0 .text init__20dSv_player_collect_cFv */
void dSv_player_collect_c::init() {
for (int i = 0; i < 8; i++) {
mItem[i] = 0;
@@ -998,30 +897,41 @@ void dSv_player_collect_c::init() {
mPohNum = 0;
}
+/* 800341E8-80034208 02EB28 0020+00 0/0 8/8 0/0 .text setCollect__20dSv_player_collect_cFiUc */
void dSv_player_collect_c::setCollect(int i_item_type, u8 i_item) {
mItem[i_item_type] |= (u8)(1 << i_item);
}
+/* 80034208-8003422C 02EB48 0024+00 0/0 4/4 4/4 .text isCollect__20dSv_player_collect_cCFiUc */
BOOL dSv_player_collect_c::isCollect(int i_item_type, u8 i_item) const {
return mItem[i_item_type] & (u8)(1 << i_item) ? TRUE : FALSE;
}
+/* 8003422C-8003424C 02EB6C 0020+00 0/0 1/1 1/1 .text onCollectCrystal__20dSv_player_collect_cFUc
+ */
void dSv_player_collect_c::onCollectCrystal(u8 i_item) {
mCrystal |= (u8)(1 << i_item);
}
+/* 8003424C-80034270 02EB8C 0024+00 0/0 4/4 0/0 .text isCollectCrystal__20dSv_player_collect_cCFUc
+ */
BOOL dSv_player_collect_c::isCollectCrystal(u8 i_item) const {
return mCrystal & (u8)(1 << i_item) ? TRUE : FALSE;
}
+/* 80034270-80034290 02EBB0 0020+00 0/0 1/1 1/1 .text onCollectMirror__20dSv_player_collect_cFUc
+ */
void dSv_player_collect_c::onCollectMirror(u8 i_item) {
mMirror |= (u8)(1 << i_item);
}
+/* 80034290-800342B4 02EBD0 0024+00 0/0 4/4 0/0 .text isCollectMirror__20dSv_player_collect_cCFUc
+ */
BOOL dSv_player_collect_c::isCollectMirror(u8 i_item) const {
return mMirror & (u8)(1 << i_item) ? TRUE : FALSE;
}
+/* 800342B4-800342DC 02EBF4 0028+00 1/1 0/0 0/0 .text init__17dSv_player_wolf_cFv */
void dSv_player_wolf_c::init() {
for (int i = 0; i < 3; i++) {
unk0[i] = 0;
@@ -1030,6 +940,7 @@ void dSv_player_wolf_c::init() {
unk3 = 0;
}
+/* 800342DC-80034320 02EC1C 0044+00 1/1 0/0 0/0 .text init__16dSv_light_drop_cFv */
void dSv_light_drop_c::init() {
for (int i = 0; i < 4; i++) {
mLightDropNum[i] = 0;
@@ -1042,12 +953,14 @@ void dSv_light_drop_c::init() {
}
}
+/* 80034320-80034340 02EC60 0020+00 0/0 0/0 1/1 .text setLightDropNum__16dSv_light_drop_cFUcUc */
void dSv_light_drop_c::setLightDropNum(u8 i_nowLevel, u8 i_dropNum) {
if (i_nowLevel < LIGHT_DROP_STAGE || i_nowLevel > 6) {
mLightDropNum[i_nowLevel] = i_dropNum;
}
}
+/* 80034340-80034368 02EC80 0028+00 0/0 11/11 4/4 .text getLightDropNum__16dSv_light_drop_cCFUc */
u8 dSv_light_drop_c::getLightDropNum(u8 i_nowLevel) const {
if (i_nowLevel >= LIGHT_DROP_STAGE && i_nowLevel <= 6) {
return 0;
@@ -1055,12 +968,15 @@ u8 dSv_light_drop_c::getLightDropNum(u8 i_nowLevel) const {
return mLightDropNum[i_nowLevel];
}
+/* 80034368-8003439C 02ECA8 0034+00 0/0 4/4 0/0 .text onLightDropGetFlag__16dSv_light_drop_cFUc */
void dSv_light_drop_c::onLightDropGetFlag(u8 i_nowLevel) {
if (i_nowLevel < LIGHT_DROP_STAGE || i_nowLevel > 6) {
mLightDropGetFlag |= (u8)(1 << i_nowLevel);
}
}
+/* 8003439C-800343DC 02ECDC 0040+00 0/0 8/8 2/2 .text isLightDropGetFlag__16dSv_light_drop_cCFUc
+ */
BOOL dSv_light_drop_c::isLightDropGetFlag(u8 i_nowLevel) const {
if (i_nowLevel >= LIGHT_DROP_STAGE && i_nowLevel <= 6) {
return 0;
@@ -1068,6 +984,7 @@ BOOL dSv_light_drop_c::isLightDropGetFlag(u8 i_nowLevel) const {
return mLightDropGetFlag & (u8)(1 << i_nowLevel) ? TRUE : FALSE;
}
+/* 800343DC-80034428 02ED1C 004C+00 1/1 0/0 0/0 .text init__17dSv_letter_info_cFv */
void dSv_letter_info_c::init() {
for (int i = 0; i < 2; i++) {
mLetterGetFlags[i] = 0;
@@ -1079,22 +996,27 @@ void dSv_letter_info_c::init() {
}
}
+/* 80034428-8003444C 02ED68 0024+00 0/0 2/2 0/0 .text onLetterGetFlag__17dSv_letter_info_cFi */
void dSv_letter_info_c::onLetterGetFlag(int i_no) {
mLetterGetFlags[i_no >> 5] |= 1 << (i_no & 0x1F);
}
+/* 8003444C-80034474 02ED8C 0028+00 0/0 4/4 0/0 .text isLetterGetFlag__17dSv_letter_info_cCFi */
BOOL dSv_letter_info_c::isLetterGetFlag(int i_no) const {
return mLetterGetFlags[i_no >> 5] & (1 << (i_no & 0x1F)) ? TRUE : FALSE;
}
+/* 80034474-8003449C 02EDB4 0028+00 0/0 1/1 0/0 .text onLetterReadFlag__17dSv_letter_info_cFi */
void dSv_letter_info_c::onLetterReadFlag(int i_no) {
mLetterReadFlags[i_no >> 5] |= 1 << (i_no & 0x1F);
}
+/* 8003449C-800344C8 02EDDC 002C+00 0/0 3/3 0/0 .text isLetterReadFlag__17dSv_letter_info_cCFi */
BOOL dSv_letter_info_c::isLetterReadFlag(int i_no) const {
return mLetterReadFlags[i_no >> 5] & 1 << (i_no & 0x1F) ? TRUE : FALSE;
}
+/* 800344C8-800344FC 02EE08 0034+00 1/1 0/0 0/0 .text init__18dSv_fishing_info_cFv */
void dSv_fishing_info_c::init() {
for (int i = 0; i < 16; i++) {
mFishCount[i] = 0;
@@ -1102,12 +1024,14 @@ void dSv_fishing_info_c::init() {
}
}
+/* 800344FC-80034518 02EE3C 001C+00 0/0 0/0 1/1 .text addFishCount__18dSv_fishing_info_cFUc */
void dSv_fishing_info_c::addFishCount(u8 i_fishIdx) {
if (mFishCount[i_fishIdx] < 999) {
mFishCount[i_fishIdx] += 1;
}
}
+/* 80034518-800345AC 02EE58 0094+00 1/1 0/0 0/0 .text init__17dSv_player_info_cFv */
void dSv_player_info_c::init() {
dMeter2Info_getString(0x382, mPlayerName, NULL); // Link
dMeter2Info_getString(0x383, mHorseName, NULL); // Epona
@@ -1124,6 +1048,7 @@ void dSv_player_info_c::init() {
}
}
+/* 800345AC-80034644 02EEEC 0098+00 1/1 0/0 0/0 .text init__19dSv_player_config_cFv */
void dSv_player_config_c::init() {
unk0 = 1;
@@ -1146,26 +1071,34 @@ void dSv_player_config_c::init() {
mPointer = 1;
}
+/* 80034644-80034684 02EF84 0040+00 0/0 4/4 0/0 .text checkVibration__19dSv_player_config_cCFv */
u32 dSv_player_config_c::checkVibration() const {
return JUTGamePad::sRumbleSupported & 0x80000000 ? dComIfGp_getNowVibration() : 0;
}
+/* 80034684-8003468C 02EFC4 0008+00 1/1 2/2 0/0 .text getSound__19dSv_player_config_cFv
+ */
u8 dSv_player_config_c::getSound() {
return mSoundMode;
}
+/* 8003468C-80034694 -00001 0008+00 0/0 0/0 0/0 .text setSound__19dSv_player_config_cFUc
+ */
void dSv_player_config_c::setSound(u8 i_mode) {
mSoundMode = i_mode;
}
+/* 80034694-8003469C 02EFD4 0008+00 1/1 1/1 0/0 .text getVibration__19dSv_player_config_cFv */
u8 dSv_player_config_c::getVibration() {
return mVibration;
}
+/* 8003469C-800346A4 -00001 0008+00 0/0 0/0 0/0 .text setVibration__19dSv_player_config_cFUc */
void dSv_player_config_c::setVibration(u8 i_status) {
mVibration = i_status;
}
+/* 800346A4-80034750 02EFE4 00AC+00 1/1 0/0 0/0 .text init__12dSv_player_cFv */
void dSv_player_c::init() {
mPlayerStatusA.init();
mPlayerStatusB.init();
@@ -1186,6 +1119,7 @@ void dSv_player_c::init() {
mConfig.init();
}
+/* 80034750-800347A0 02F090 0050+00 1/1 0/0 0/0 .text init__12dSv_memBit_cFv */
void dSv_memBit_c::init() {
for (int i = 0; i < 2; i++) {
mTbox[i] = 0;
@@ -1200,25 +1134,32 @@ void dSv_memBit_c::init() {
mDungeonItem = 0;
}
+/* 800347A0-800347C4 02F0E0 0024+00 0/0 0/0 15/15 .text onTbox__12dSv_memBit_cFi */
void dSv_memBit_c::onTbox(int i_no) {
mTbox[i_no >> 5] |= 1 << (i_no & 0x1F);
}
+/* 800347C4-800347E8 02F104 0024+00 0/0 0/0 5/5 .text offTbox__12dSv_memBit_cFi */
void dSv_memBit_c::offTbox(int i_no) {
mTbox[i_no >> 5] &= ~(1 << (i_no & 0x1F));
}
+/* 800347E8-80034810 02F128 0028+00 0/0 6/6 7/7 .text isTbox__12dSv_memBit_cCFi */
BOOL dSv_memBit_c::isTbox(int i_no) const {
return 1 << (i_no & 0x1f) & mTbox[i_no >> 5] ? TRUE : FALSE;
}
+/* 80034810-80034838 02F150 0028+00 1/1 5/5 18/18 .text onSwitch__12dSv_memBit_cFi */
void dSv_memBit_c::onSwitch(int i_no) {
mSwitch[i_no >> 5] |= 1 << (i_no & 0x1F);
}
+
+/* 80034838-80034860 02F178 0028+00 1/1 3/3 3/3 .text offSwitch__12dSv_memBit_cFi */
void dSv_memBit_c::offSwitch(int i_no) {
mSwitch[i_no >> 5] &= ~(1 << (i_no & 0x1F));
}
+/* 80034860-8003488C 02F1A0 002C+00 1/1 11/11 23/23 .text isSwitch__12dSv_memBit_cCFi */
BOOL dSv_memBit_c::isSwitch(int i_no) const {
return (mSwitch[i_no >> 5] & 1 << (i_no & 0x1F)) ? TRUE : FALSE;
}
@@ -1231,22 +1172,28 @@ BOOL dSv_memBit_c::revSwitch(int i_no) {
return mSwitch[switchInd] & tmp ? TRUE : FALSE;
}
+/* 800348C4-800348EC 02F204 0028+00 1/1 0/0 0/0 .text onItem__12dSv_memBit_cFi */
void dSv_memBit_c::onItem(int i_no) {
mItem[i_no >> 5] |= 1 << (i_no & 0x1F);
}
+/* 800348EC-80034918 02F22C 002C+00 1/1 2/2 1/1 .text isItem__12dSv_memBit_cCFi */
BOOL dSv_memBit_c::isItem(int i_no) const {
return (mItem[i_no >> 5] & 1 << (i_no & 0x1F)) ? TRUE : FALSE;
}
+/* 80034918-80034934 02F258 001C+00 0/0 8/8 18/18 .text onDungeonItem__12dSv_memBit_cFi
+ */
void dSv_memBit_c::onDungeonItem(int i_no) {
mDungeonItem |= (u8)(1 << i_no);
}
+/* 80034934-80034954 02F274 0020+00 0/0 27/27 47/47 .text isDungeonItem__12dSv_memBit_cCFi */
s32 dSv_memBit_c::isDungeonItem(int i_no) const {
return mDungeonItem & (u8)(1 << i_no) ? TRUE : FALSE;
}
+/* 80034954-8003498C 02F294 0038+00 2/2 0/0 0/0 .text init__11dSv_event_cFv */
void dSv_event_c::init() {
for (int i = 0; i < MAX_EVENTS; i++) {
mEvent[i] = 0;
@@ -1254,27 +1201,37 @@ void dSv_event_c::init() {
setInitEventBit__Fv();
}
+/* 8003498C-800349A4 02F2CC 0018+00 1/1 27/27 58/58 .text onEventBit__11dSv_event_cFUs */
void dSv_event_c::onEventBit(u16 i_no) {
mEvent[(i_no >> 8)] |= (u8)i_no;
}
+/* 800349A4-800349BC 02F2E4 0018+00 1/1 14/14 23/23 .text offEventBit__11dSv_event_cFUs
+ */
void dSv_event_c::offEventBit(u16 i_no) {
mEvent[(i_no >> 8)] &= ~(u8)i_no;
}
+/* 800349BC-800349E0 02F2FC 0024+00 3/3 77/77 153/153 .text isEventBit__11dSv_event_cCFUs
+ */
BOOL dSv_event_c::isEventBit(u16 i_no) const {
return mEvent[(i_no >> 8)] & (i_no & 0xFF) ? TRUE : FALSE;
}
+/* 800349E0-80034A04 02F320 0024+00 0/0 12/12 17/17 .text setEventReg__11dSv_event_cFUsUc
+ */
void dSv_event_c::setEventReg(u16 i_reg, u8 i_no) {
mEvent[i_reg >> 8] &= ~(u8)i_reg;
mEvent[i_reg >> 8] |= i_no;
}
+/* 80034A04-80034A1C 02F344 0018+00 0/0 19/19 20/20 .text getEventReg__11dSv_event_cCFUs
+ */
u8 dSv_event_c::getEventReg(u16 i_reg) const {
return (u8)i_reg & mEvent[i_reg >> 8];
}
+/* 80034A1C-80034A64 02F35C 0048+00 1/1 0/0 0/0 .text init__14dSv_MiniGame_cFv */
void dSv_MiniGame_c::init() {
unk0 = 0;
for (int i = 0; i < 3; i++) {
@@ -1287,28 +1244,35 @@ void dSv_MiniGame_c::init() {
unk20 = 0;
}
+/* 80034A64-80034A84 02F3A4 0020+00 2/2 2/2 0/0 .text init__12dSv_memory_cFv */
void dSv_memory_c::init() {
mBit.init();
}
+/* 80034A84-80034AA4 02F3C4 0020+00 1/1 1/1 0/0 .text init__13dSv_memory2_cFv */
void dSv_memory2_c::init() {
for (int i = 0; i < 2; i++) {
mVisitedRoom[i] = 0;
}
}
+/* 80034AA4-80034AC8 02F3E4 0024+00 0/0 1/1 1/1 .text onVisitedRoom__13dSv_memory2_cFi */
void dSv_memory2_c::onVisitedRoom(int i_no) {
mVisitedRoom[i_no >> 5] |= 1 << (i_no & 0x1F);
}
+/* 80034AC8-80034AEC 02F408 0024+00 0/0 1/1 1/1 .text offVisitedRoom__13dSv_memory2_cFi
+ */
void dSv_memory2_c::offVisitedRoom(int i_no) {
mVisitedRoom[i_no >> 5] &= ~(1 << (i_no & 0x1F));
}
+/* 80034AEC-80034B14 02F42C 0028+00 0/0 4/4 0/0 .text isVisitedRoom__13dSv_memory2_cFi */
BOOL dSv_memory2_c::isVisitedRoom(int i_no) {
return (1 << (i_no & 0x1F) & mVisitedRoom[i_no >> 5]) ? TRUE : FALSE;
}
+/* 80034B14-80034B98 02F454 0084+00 1/1 1/1 0/0 .text init__12dSv_danBit_cFSc */
bool dSv_danBit_c::init(s8 i_stageNo) {
if (i_stageNo != mStageNo) {
mSwitch[0] = 0;
@@ -1333,32 +1297,39 @@ bool dSv_danBit_c::init(s8 i_stageNo) {
}
}
+/* 80034B98-80034BC0 02F4D8 0028+00 1/1 2/2 26/26 .text onSwitch__12dSv_danBit_cFi */
void dSv_danBit_c::onSwitch(int i_no) {
mSwitch[i_no >> 5] |= 1 << (i_no & 0x1F);
}
+/* 80034BC0-80034BE8 02F500 0028+00 1/1 1/1 10/10 .text offSwitch__12dSv_danBit_cFi */
void dSv_danBit_c::offSwitch(int i_no) {
mSwitch[i_no >> 5] &= ~(1 << (i_no & 0x1F));
}
+/* 80034BE8-80034C14 02F528 002C+00 1/1 6/6 14/14 .text isSwitch__12dSv_danBit_cCFi */
BOOL dSv_danBit_c::isSwitch(int i_no) const {
return mSwitch[i_no >> 5] & (1 << (i_no & 0x1F)) ? TRUE : FALSE;
}
+/* 80034C14-80034C4C 02F554 0038+00 1/1 0/0 0/0 .text revSwitch__12dSv_danBit_cFi */
BOOL dSv_danBit_c::revSwitch(int i_no) {
int uVar1 = 1 << (i_no & 0x1F);
mSwitch[i_no >> 5] ^= uVar1;
return mSwitch[i_no >> 5] & uVar1 ? TRUE : FALSE;
}
+/* 80034C4C-80034C74 02F58C 0028+00 1/1 0/0 0/0 .text onItem__12dSv_danBit_cFi */
void dSv_danBit_c::onItem(int i_no) {
mItem[i_no >> 5] |= 1 << (i_no & 0x1F);
}
+/* 80034C74-80034CA0 02F5B4 002C+00 1/1 2/2 0/0 .text isItem__12dSv_danBit_cCFi */
BOOL dSv_danBit_c::isItem(int i_no) const {
return mItem[i_no >> 5] & 1 << (i_no & 0x1F) ? TRUE : FALSE;
}
+/* 80034CA0-80034CEC 02F5E0 004C+00 1/1 0/0 0/0 .text init__13dSv_zoneBit_cFv */
void dSv_zoneBit_c::init() {
for (int i = 0; i < 2; i++) {
mSwitch[i] = 0;
@@ -1372,22 +1343,28 @@ void dSv_zoneBit_c::init() {
mRoomItem = 0;
}
+/* 80034CEC-80034CF8 02F62C 000C+00 0/0 3/3 0/0 .text clearRoomSwitch__13dSv_zoneBit_cFv
+ */
void dSv_zoneBit_c::clearRoomSwitch() {
mRoomSwitch = 0;
}
+/* 80034CF8-80034D04 02F638 000C+00 0/0 3/3 0/0 .text clearRoomItem__13dSv_zoneBit_cFv */
void dSv_zoneBit_c::clearRoomItem() {
mRoomItem = 0;
}
+/* 80034D04-80034D2C 02F644 0028+00 1/1 1/1 0/0 .text onSwitch__13dSv_zoneBit_cFi */
void dSv_zoneBit_c::onSwitch(int i_no) {
mSwitch[i_no >> 4] |= (u16)(1 << (i_no & 0xF));
}
+/* 80034D2C-80034D50 02F66C 0024+00 1/1 1/1 0/0 .text offSwitch__13dSv_zoneBit_cFi */
void dSv_zoneBit_c::offSwitch(int i_no) {
mSwitch[i_no >> 4] &= ~(1 << (i_no & 0xF));
}
+/* 80034D50-80034D78 02F690 0028+00 1/1 1/1 0/0 .text isSwitch__13dSv_zoneBit_cCFi */
BOOL dSv_zoneBit_c::isSwitch(int i_no) const {
return mSwitch[i_no >> 4] & 1 << (i_no & 0xF) ? TRUE : FALSE;
}
@@ -1400,70 +1377,85 @@ BOOL dSv_zoneBit_c::revSwitch(int i_no) {
return mSwitch[switchInd] & uVar1 ? TRUE : FALSE;
}
+/* 80034DAC-80034DC8 02F6EC 001C+00 1/1 1/1 0/0 .text onOneSwitch__13dSv_zoneBit_cFi */
void dSv_zoneBit_c::onOneSwitch(int i_no) {
mRoomSwitch |= (u16)(1 << i_no);
}
+/* 80034DC8-80034DE0 02F708 0018+00 1/1 1/1 0/0 .text offOneSwitch__13dSv_zoneBit_cFi */
void dSv_zoneBit_c::offOneSwitch(int i_no) {
mRoomSwitch &= ~(1 << i_no);
}
+/* 80034DE0-80034DFC 02F720 001C+00 1/1 1/1 0/0 .text isOneSwitch__13dSv_zoneBit_cCFi */
BOOL dSv_zoneBit_c::isOneSwitch(int i_no) const {
return mRoomSwitch & 1 << i_no ? TRUE : FALSE;
}
+/* 80034DFC-80034E24 02F73C 0028+00 1/1 0/0 0/0 .text revOneSwitch__13dSv_zoneBit_cFi */
BOOL dSv_zoneBit_c::revOneSwitch(int i_no) {
int iVar1 = 1 << i_no;
mRoomSwitch ^= iVar1;
return mRoomSwitch & iVar1 ? TRUE : FALSE;
}
+/* 80034E24-80034E50 02F764 002C+00 1/1 0/0 0/0 .text onItem__13dSv_zoneBit_cFi */
void dSv_zoneBit_c::onItem(int i_no) {
mItem[i_no >> 4] |= (u16)(1 << (i_no & 0xF));
}
+/* 80034E50-80034E7C 02F790 002C+00 1/1 1/1 0/0 .text isItem__13dSv_zoneBit_cCFi */
BOOL dSv_zoneBit_c::isItem(int i_no) const {
return mItem[i_no >> 4] & 1 << (i_no & 0xF) ? TRUE : FALSE;
}
+/* 80034E7C-80034E98 02F7BC 001C+00 1/1 0/0 0/0 .text onOneItem__13dSv_zoneBit_cFi */
void dSv_zoneBit_c::onOneItem(int i_no) {
mRoomItem |= (u16)(1 << i_no);
}
+/* 80034E98-80034EB4 02F7D8 001C+00 1/1 1/1 0/0 .text isOneItem__13dSv_zoneBit_cCFi */
BOOL dSv_zoneBit_c::isOneItem(int i_no) const {
return mRoomItem & 1 << i_no ? TRUE : FALSE;
}
+/* 80034EB4-80034ED4 02F7F4 0020+00 1/1 0/0 0/0 .text init__15dSv_zoneActor_cFv */
void dSv_zoneActor_c::init() {
for (int i = 0; i < 4; i++) {
mActorFlags[i] = 0;
}
}
+/* 80034ED4-80034EF8 02F814 0024+00 1/1 0/0 0/0 .text on__15dSv_zoneActor_cFi */
void dSv_zoneActor_c::on(int i_id) {
mActorFlags[i_id >> 5] |= 1 << (i_id & 0x1F);
}
+/* 80034EF8-80034F1C 02F838 0024+00 1/1 0/0 0/0 .text off__15dSv_zoneActor_cFi */
void dSv_zoneActor_c::off(int i_id) {
mActorFlags[i_id >> 5] &= ~(1 << (i_id & 0x1F));
}
+/* 80034F1C-80034F44 02F85C 0028+00 1/1 0/0 0/0 .text is__15dSv_zoneActor_cCFi */
BOOL dSv_zoneActor_c::is(int i_id) const {
return mActorFlags[i_id >> 5] & 1 << (i_id & 0x1F) ? TRUE : FALSE;
}
+/* 80034F44-80034F80 02F884 003C+00 2/2 0/0 0/0 .text init__10dSv_zone_cFi */
void dSv_zone_c::init(int i_roomNo) {
mRoomNo = i_roomNo;
mBit.init();
mActor.init();
}
+/* 80034F80-80034FA4 02F8C0 0024+00 0/0 3/3 14/14 .text setRoom__13dSv_restart_cFRC4cXyzsSc */
void dSv_restart_c::setRoom(const cXyz& i_position, s16 i_angleY, s8 i_roomNo) {
mRoomNo = i_roomNo;
mRoomPos = i_position;
mRoomAngleY = i_angleY;
}
+/* 80034FA4-80034FCC 02F8E4 0028+00 0/0 2/2 0/0 .text set__17dSv_turnRestart_cFRC4cXyzsScUl */
void dSv_turnRestart_c::set(const cXyz& i_position, s16 i_angleY, s8 param_3, u32 i_param) {
mPosition = i_position;
mAngleY = i_angleY;
@@ -1471,6 +1463,7 @@ void dSv_turnRestart_c::set(const cXyz& i_position, s16 i_angleY, s8 param_3, u3
mParam = i_param;
}
+/* 80034FCC-8003501C 02F90C 0050+00 0/0 2/2 0/0 .text init__10dSv_info_cFv */
void dSv_info_c::init() {
mSavedata.init();
mMemory.init();
@@ -1479,6 +1472,7 @@ void dSv_info_c::init() {
mTmp.init();
}
+/* 8003501C-800350A8 02F95C 008C+00 2/2 0/0 0/0 .text init__10dSv_save_cFv */
void dSv_save_c::init() {
mPlayer.init();
for (int i = 0; i < STAGE_MAX; i++) {
@@ -1493,24 +1487,29 @@ void dSv_save_c::init() {
mMiniGame.init();
}
+/* 800350A8-800350BC 02F9E8 0014+00 0/0 6/6 1/1 .text getSave2__10dSv_save_cFi */
dSv_memory2_c* dSv_save_c::getSave2(int i_stage2No) {
return &mSave2[i_stage2No];
}
+/* 800350BC-800350F0 02F9FC 0034+00 0/0 1/1 0/0 .text getSave__10dSv_info_cFi */
void dSv_info_c::getSave(int i_stageNo) {
mMemory = mSavedata.getSave(i_stageNo);
}
+/* 800350F0-8003514C 02FA30 005C+00 0/0 2/2 0/0 .text putSave__10dSv_info_cFi */
void dSv_info_c::putSave(int i_stageNo) {
mSavedata.putSave(i_stageNo, mMemory);
}
+/* 8003514C-800351A4 02FA8C 0058+00 1/1 1/1 0/0 .text initZone__10dSv_info_cFv */
void dSv_info_c::initZone() {
for (int i = 0; i < 0x20; i++) {
mZone[i].init(-1);
}
}
+/* 800351A4-80035200 02FAE4 005C+00 0/0 1/1 0/0 .text createZone__10dSv_info_cFi */
u32 dSv_info_c::createZone(int i_roomNo) {
dSv_zone_c* zone = mZone;
for (int i = 0; i < 0x20; zone++, i++) {
@@ -1522,6 +1521,7 @@ u32 dSv_info_c::createZone(int i_roomNo) {
return -1;
}
+/* 80035200-800352B0 02FB40 00B0+00 0/0 8/8 352/352 .text onSwitch__10dSv_info_cFii */
void dSv_info_c::onSwitch(int i_no, int i_roomNo) {
if (i_no == -1 || i_no == 255) {
return;
@@ -1542,6 +1542,7 @@ void dSv_info_c::onSwitch(int i_no, int i_roomNo) {
}
}
+/* 800352B0-80035360 02FBF0 00B0+00 0/0 2/2 93/93 .text offSwitch__10dSv_info_cFii */
void dSv_info_c::offSwitch(int i_no, int i_roomNo) {
if (i_no == -1 || i_no == 255) {
return;
@@ -1562,6 +1563,7 @@ void dSv_info_c::offSwitch(int i_no, int i_roomNo) {
}
}
+/* 80035360-8003542C 02FCA0 00CC+00 0/0 27/27 734/734 .text isSwitch__10dSv_info_cCFii */
BOOL dSv_info_c::isSwitch(int i_no, int i_roomNo) const {
if (i_no == -1 || i_no == 255) {
return FALSE;
@@ -1586,6 +1588,7 @@ BOOL dSv_info_c::isSwitch(int i_no, int i_roomNo) const {
}
}
+/* 8003542C-800354E0 02FD6C 00B4+00 0/0 0/0 2/2 .text revSwitch__10dSv_info_cFii */
BOOL dSv_info_c::revSwitch(int i_no, int i_roomNo) {
if (i_no == -1 || i_no == 255) {
return FALSE;
@@ -1606,6 +1609,7 @@ BOOL dSv_info_c::revSwitch(int i_no, int i_roomNo) {
}
}
+/* 800354E0-80035590 02FE20 00B0+00 0/0 1/1 3/3 .text onItem__10dSv_info_cFii */
void dSv_info_c::onItem(int i_no, int i_roomNo) {
if (i_no == -1 || i_no == 255) {
return;
@@ -1625,6 +1629,7 @@ void dSv_info_c::onItem(int i_no, int i_roomNo) {
}
}
+/* 80035590-80035644 02FED0 00B4+00 0/0 1/1 3/3 .text isItem__10dSv_info_cCFii */
BOOL dSv_info_c::isItem(int i_no, int i_roomNo) const {
if (i_no == -1 || i_no == 255) {
return FALSE;
@@ -1644,6 +1649,7 @@ BOOL dSv_info_c::isItem(int i_no, int i_roomNo) const {
}
}
+/* 80035644-800356B4 02FF84 0070+00 0/0 1/1 4/4 .text onActor__10dSv_info_cFii */
void dSv_info_c::onActor(int i_id, int i_roomNo) {
if (i_id == -1 || i_id == dSv_zoneActor_c::ACTOR_MAX || i_roomNo == -1) {
return;
@@ -1653,6 +1659,7 @@ void dSv_info_c::onActor(int i_id, int i_roomNo) {
mZone[zoneNo].getActor().on(i_id);
}
+/* 800356B4-80035724 02FFF4 0070+00 0/0 0/0 2/2 .text offActor__10dSv_info_cFii */
void dSv_info_c::offActor(int i_id, int i_roomNo) {
if (i_id == -1 || i_id == dSv_zoneActor_c::ACTOR_MAX || i_roomNo == -1) {
return;
@@ -1662,6 +1669,7 @@ void dSv_info_c::offActor(int i_id, int i_roomNo) {
mZone[zoneNo].getActor().off(i_id);
}
+/* 80035724-80035798 030064 0074+00 0/0 3/3 0/0 .text isActor__10dSv_info_cCFii */
BOOL dSv_info_c::isActor(int i_id, int i_roomNo) const {
if (i_id == -1 || i_id == dSv_zoneActor_c::ACTOR_MAX || i_roomNo == -1) {
return FALSE;
@@ -1680,46 +1688,62 @@ SECTION_DEAD static char const* const stringBase_8037926C = "SAVE size:%d\n";
#pragma pop
/* 80035798-80035A04 0300D8 026C+00 0/0 1/1 0/0 .text memory_to_card__10dSv_info_cFPci */
-// lots of regalloc issues
+// regalloc
#ifdef NONMATCHING
int dSv_info_c::memory_to_card(char* card_ptr, int dataNum) {
+ BOOL lantern_stolen;
+ BOOL lantern_dropped;
+ OSTime play_time;
+
bool lantern_not_recovered = false;
- s32 lantern_stolen;
- s32 lantern_dropped;
- bool phi_r30 = false;
+ bool tmp_lantern_check = false;
u16 current_lantern_oil = 0;
-
+
+
+ // If haven't gotten then lantern back from the monkey
if (!i_dComIfGs_isEventBit(dSv_event_flag_c::saveBitLabels[226])) {
+ // Store whether or not it's stolen and dropped
lantern_stolen = i_dComIfGs_isEventBit(dSv_event_flag_c::saveBitLabels[224]);
lantern_dropped = i_dComIfGs_isEventBit(dSv_event_flag_c::saveBitLabels[225]);
+
+ // Then turn those events off
dComIfGs_offEventBit(dSv_event_flag_c::saveBitLabels[224]);
dComIfGs_offEventBit(dSv_event_flag_c::saveBitLabels[225]);
+
+ // Used to turn events back on later
lantern_not_recovered = true;
}
+ // If have the lantern and Slot 1 in the item wheel is blank
if (i_dComIfGs_isItemFirstBit(KANTERA) && dComIfGs_getItem(SLOT_1, 1) == NO_ITEM) {
+ // Set Slot 1 to Lantern and fetch current oil
dComIfGs_setItem(SLOT_1, KANTERA);
current_lantern_oil = dComIfGs_getOil();
+
+ // Set oil to oil gauge backup
dComIfGs_setOil(dMeter2Info_getOilGaugeBackUp());
- phi_r30 = true;
+
+ // Used to set slot 1 back later
+ tmp_lantern_check = true;
}
- card_ptr = card_ptr + (dataNum * 0xA94); // 0xA94 = Quest Log size
+ card_ptr += dataNum * QUEST_LOG_SIZE;
dSv_save_c* savedata = dComIfGs_getSaveData();
- s64 play_time = (OSGetTime() - dComIfGs_getSaveStartTime());
- s64 total_time = (play_time + dComIfGs_getSaveTotalTime());
- s64 play_time_secs = play_time / (OS_BUS_CLOCK / 4);
+ play_time = OSGetTime() - dComIfGs_getSaveStartTime();
+ play_time += dComIfGs_getSaveTotalTime();
+ // play_time += ();
// 3599940 = 999:59 in seconds
- if (play_time_secs < 3599940) {
- savedata->getPlayer().getPlayerInfo().setTotalTime(total_time);
+ if (dComIfGs_getSaveTotalTime() / OS_TIMER_CLOCK < 3599940) {
+ savedata->getPlayer().getPlayerInfo().setTotalTime(play_time);
}
- savedata->getPlayer().getPlayerStatusB().setDateIpl(OSGetTime());
+ savedata->getPlayer().getPlayerStatusB().setDateIpl(OSGetTime());
memcpy(card_ptr, savedata, sizeof(dSv_save_c));
printf("Write size:%d\n", sizeof(dSv_save_c));
+ // Now that we've saved, reset events if needed
if (lantern_not_recovered == true) {
if (lantern_stolen) {
dComIfGs_onEventBit(dSv_event_flag_c::saveBitLabels[224]);
@@ -1729,7 +1753,8 @@ int dSv_info_c::memory_to_card(char* card_ptr, int dataNum) {
}
}
- if (phi_r30 == true) {
+ // Now that we've saved, reset slot if needed
+ if (tmp_lantern_check == true) {
dComIfGs_setItem(SLOT_1, NO_ITEM);
dComIfGs_setOil(current_lantern_oil);
}
@@ -1748,11 +1773,9 @@ asm int dSv_info_c::memory_to_card(char* card_ptr, int dataNum) {
#pragma pop
#endif
-/* ############################################################################################## */
-
/* 80035A04-80035BD0 030344 01CC+00 0/0 2/2 0/0 .text card_to_memory__10dSv_info_cFPci */
int dSv_info_c::card_to_memory(char* card_ptr, int dataNum) {
- card_ptr = card_ptr + dataNum * 0xa94;
+ card_ptr = card_ptr + dataNum * QUEST_LOG_SIZE;
memcpy(dComIfGs_getSaveData(), card_ptr, sizeof(dSv_save_c));
if (OSGetSoundMode() == OS_SOUND_MODE_MONO) {
@@ -1777,7 +1800,7 @@ int dSv_info_c::card_to_memory(char* card_ptr, int dataNum) {
dComIfGs_setItem(SLOT_9, NO_ITEM);
}
- if (dComIfGs_getItem(SLOT_9, 1) == HOOKSHOT && dComIfGs_getItem(SLOT_10, 1) == W_HOOKSHOT) {
+ if (dComIfGs_getItem(SLOT_9, 1) == HOOKSHOT && dComIfGs_getItem(SLOT_10, true) == W_HOOKSHOT) {
dComIfGs_setItem(SLOT_9, NO_ITEM);
}
@@ -1793,12 +1816,10 @@ int dSv_info_c::card_to_memory(char* card_ptr, int dataNum) {
return 0;
}
-/* ############################################################################################## */
-
/* 80035BD0-80035C88 030510 00B8+00 0/0 3/3 0/0 .text initdata_to_card__10dSv_info_cFPci
*/
int dSv_info_c::initdata_to_card(char* card_ptr, int dataNum) {
- card_ptr = card_ptr + (dataNum * 0xa94);
+ card_ptr = card_ptr + (dataNum * QUEST_LOG_SIZE);
dSv_save_c tmp;
tmp.init();
@@ -1809,22 +1830,28 @@ int dSv_info_c::initdata_to_card(char* card_ptr, int dataNum) {
return 0;
}
+/* ############################################################################################## */
+/* 803790C0-80379234 005720 0172+02 0/0 17/17 7/7 .rodata tempBitLabels__20dSv_event_tmp_flag_c */
u16 const dSv_event_tmp_flag_c::tempBitLabels[185] = {
- 0xFFFF, 0xFFFF, 0xFF0F, 0xFEFF, 0x0040, 0xFDFF, 0xFCFF, 0x0020, 0x0080, 0x0010, 0x0008, 0x0004,
- 0x0002, 0x0001, 0x0180, 0x0140, 0x0120, 0x0110, 0x0108, 0x0104, 0x0102, 0x0101, 0x0280, 0x0240,
- 0x0220, 0x0210, 0x0208, 0x0204, 0x0202, 0x0201, 0x0380, 0x0340, 0x0320, 0x0310, 0xFBFF, 0x0308,
- 0x0304, 0x0302, 0x0301, 0x0480, 0x0440, 0x0420, 0x0410, 0x0408, 0x0404, 0x0402, 0x0401, 0x0580,
- 0x0540, 0x0520, 0x0510, 0x0508, 0x0504, 0x0502, 0x0501, 0x0680, 0x0640, 0x0620, 0x0610, 0x0608,
- 0x0604, 0x0602, 0x0601, 0x0780, 0x0740, 0x0720, 0x0710, 0x0708, 0x0704, 0x0702, 0x0701, 0x0880,
- 0x0840, 0x0820, 0x0810, 0x0808, 0x0804, 0x0802, 0x0801, 0x0980, 0x0940, 0x0920, 0x0910, 0x0908,
- 0x0904, 0x0902, 0x0901, 0x0A80, 0x0A40, 0x0A20, 0x0A10, 0x0A08, 0x0A04, 0x0A02, 0x0A01, 0x0B80,
- 0x0B40, 0x0B20, 0x0B10, 0x0B08, 0x0B04, 0xFAFF, 0xF9FF, 0xF8FF, 0xF7FF, 0xF6FF, 0xF5FF, 0x0B02,
- 0x0B01, 0x0C80, 0x0C40, 0x0C20, 0x0C10, 0x0C08, 0xF4FF, 0xF3FF, 0x0C04, 0x0C02, 0x0C01, 0x0D80,
- 0x0D40, 0x0D20, 0x0D10, 0x0D08, 0x0D04, 0x0D02, 0x0D01, 0x0E80, 0x0E40, 0x0E20, 0x0E10, 0x0E08,
- 0x0E04, 0x0E02, 0x0E01, 0x0F80, 0x0F40, 0x0F20, 0x0F10, 0x0F08, 0x0F04, 0x0F02, 0x0F01, 0x1080,
- 0x1040, 0x1020, 0x1010, 0x1008, 0x1004, 0x1002, 0x1001, 0x1180, 0x1140, 0x1120, 0x1110, 0x1108,
- 0x1104, 0x1102, 0x1101, 0x1280, 0x1240, 0x1220, 0x1210, 0x1208, 0x1204, 0x1202, 0x1201, 0x1380,
- 0x1340, 0x1320, 0x1310, 0x1308, 0x1304, 0x1302, 0x1301, 0x1480, 0x1440, 0x1420, 0x1410, 0x1408,
- 0x1404, 0x1402, 0x1401, 0x1580, 0xF2FF};
+ UNUSED, UNUSED, T_0002, T_0003, T_0004, T_0005, T_0006, T_0007, T_0001, T_0008, T_0009, T_0010,
+ T_0011, T_0012, T_0013, T_0014, T_0015, T_0016, T_0017, T_0018, T_0019, T_0020, T_0021, T_0022,
+ T_0023, T_0024, T_0025, T_0026, T_0027, T_0028, T_0029, T_0030, T_0031, T_0032, TREG_000,
+ T_0033, T_0034, T_0035, T_0036, TEMP_0038, TEMP_0040, T_0041, T_0042, T_0043, T_0044,
+ T_0045, T_0046, T_0047, T_0048, T_0049, T_0050, T_0051, T_0052, T_0053, T_0054, T_0055, T_0056,
+ T_0057, T_058, T_0059, T_0060, T_0061, T_0062, T_0063, T_0064, T_0065, T_0066, T_0067, T_0068,
+ T_0069, T_0070, T_0071, T_0072, T_0073, T_0074, T_0075, T_0076, T_0077, T_0078, T_0079, T_0080,
+ T_0081, T_0082, T_0083, T_0084, T_0085, T_0086, T_0087, T_0088, T_0089, T_0090, T_0091, T_0092,
+ T_0093, T_0094, T_0095, T_0096, T_0097, T_0098, T_0099, T_0100, SHA_LOVEFORTUNE_00, SHA_LOVEFORTUNE_01,
+ SHA_LOVEFORTUNE_02, SHA_LOVEFORTUNE_03, SHA_LOVEFORTUNE_04, SHA_LOVEFORTUNE_05,
+ T_0107, T_0108, T_0109, T_0110, T_0111, T_0112, T_0113, PACHITUTORIAL_CNT, PACHITUTORIAL_INF,
+ WXXTO, MN09_02, MN09_03, T_0119, T_0120, T_0121, T_0122, T_0123, T_0124, YKM_ATTN,
+ YKM_TALK, YKW_TALK, YKW_ATTN, T_0125, DUNGEON_130, DUNGEON_131,
+ DUNGEON_132, DUNGEON_133, DUNGEON_134, DUNGEON_135, DUNGEON_136, DUNGEON_137,
+ DUNGEON_138, DUNGEON_139, DUNGEON_140, DUNGEON_141, DUNGEON_142, DUNGEON_143,
+ DUNGEON_144, DUNGEON_145, DUNGEON_146, DUNGEON_147, DUNGEON_148, DUNGEON_149,
+ DUNGEON_150, CAT_1, CAT_2, CAT_3, CAT_4, CAT_5, CAT_6, CAT_7, CAT_8, CAT_9, CAT_10,
+ CAT_11, CAT_12, CAT_13, CAT_14, CAT_15, CAT_16, CAT_17, CAT_18, CAT_19, CAT_20, GUARD_URI,
+ Hanch_CLIMBOUT_POND, NODRAW_STAGE_NAME, NO_TELOP, T_0175, T_0176, T_0177, T_0178,
+ T_0179, T_0180, T_0181, T_0182, T_0183, SHA_DBG
+};
-/* 80379234-80379234 005894 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */
diff --git a/src/d/save/d_save_bit_labels.inc b/src/d/save/d_save_bit_labels.inc
new file mode 100644
index 0000000000..0f46fdfe9f
--- /dev/null
+++ b/src/d/save/d_save_bit_labels.inc
@@ -0,0 +1,833 @@
+/**
+ * d_save_bit_labels.inc
+ * Flag labels for dSv_event_flag_c::saveBitLabels
+ *
+ * Flag information comes from the debug table in d_event_debug.inc
+ *
+ */
+
+/*
+Name = Value // Location - Description
+*/
+
+B_BTN_GUIDE = 0x5c01, // Misc. - B-button guide
+D_0001 = 0x0380, // Ordon Village - Stopped by squirrel in front of house at night
+F_0001 = 0x0008, // Kakariko Village - Spoke to Renado after Colin returns
+F_0002 = 0x0004, // Death Mountain (room) - Lost wrestling match to elder goron for first time
+F_0003 = 0x0002, // Snowpeak Ruins - Handed over tomato puree and left room
+F_0004 = 0x0001, // Snowpeak Ruins - Handed over secret ingredient and left room
+F_0005 = 0x0180, // Misc. - Gathered 14 Tears of Light in area 4
+F_0006 = 0x0140, // Snowpeak Ruins - First conversation with Yeto in kitchen
+F_0007 = 0x0120, // Snowpeak Ruins - Spoke to Yeta while holding cheese
+F_0008 = 0x0110, // Ordon Village - First conversation with Fado at the farm on 1st day
+F_0009 = 0x0108, // Ordon Woods - Approach secret entrance with Colin
+F_0010 = 0x0104, // Ordon Village - First convo with Colin blocking path (forced)
+F_0011 = 0x0102, // Ordon Ranch - Fence jumping complete
+F_0012 = 0x0101, // Ordon Village - Get metal sword!
+F_0013 = 0x0280, // Ordon Village - 2nd day - First time rampaging goat escapes
+F_0014 = 0x0240, // Ordon Village - sword tutorial ends
+F_0015 = 0x0220, // Ordon Village - Slingshot tutorial ends
+F_0016 = 0x0210, // Ordon Village - On 3rd day, start following Colin who is blocking path
+F_0017 = 0x0208, // Ordon Village - Spoke to beth right after sword tutorial
+F_0018 = 0x0204, // Ordon Ranch - Asked by Fado to jump fence
+F_0019 = 0x0202, // Ordon Woods - Spoke with Ilia (Colin is there too) at the spring
+F_0020 = 0x0201, // Ordon Village - First convo with Sera while shop is closed
+F_0021 = 0x0340, // Ordon Village - 2nd day: spoke with Pergie
+F_0022 = 0x0320, // Ordon Ranch - Start fence-jump on 1st day
+F_0023 = 0x0310, // Ordon Village - Called by Jaggle from below hill
+F_0024 = 0x0308, // Ordon Village - Spoke with Talo/Malo/Beth (before obtaining slingshot)
+F_0025 = 0x0304, // Ordon Village - Pass Uli's pick-up tutorial
+F_0026 = 0x0302, // Ordon Village - gave wooden sword to talo on 3rd day
+F_0027 = 0x0301, // Ordon Village - Uli tutorial ends (same whether pass or fail)
+F_0028 = 0x0480, // Snowpeak Ruins - Spoke to yeta while holding pumpkin
+F_0029 = 0x0440, // Ordon Village - 2nd day - refused sword tutorial
+F_0030 = 0x0420, // Ordon Village - before sword tutorial - first conversation with Beth
+F_0031 = 0x0410, // Ordon Village - 2nd day - Spoke to Uli bfore finding basket
+F_0032 = 0x0408, // Ordon Ranch - 3rd day - First convo with fado (before forced goat chase)
+F_0033 = 0x0404, // Ordon Village - First day - spoke with Uli
+F_0034 = 0x1040, // Ordon Village - first conversation wtih Rusl
+F_0035 = 0x1020, // Ordon Village - F0003: Spoke to Colin while he is stopping hors (doesn't have fishing rod)
+F_0036 = 0x1004, // Ordon Village - Spoke to Jaggle using L-focus before climbing vines?
+F_0037 = 0x1002, // Ordon Village - Jaggle - Spoke on the hill?
+F_0038 = 0x1001, // Ordon Village - Opening (2nd day) cat returns home
+F_0039 = 0x1180, // Ordon Village - Warned by Hanch after climbing vines on 2nd day
+F_0040 = 0x1140, // Ordon Village - 2nd day: Spoke to Jaggle after blowing on whistle
+F_0041 = 0x1120, // Ordon Village - Opening 2nd day - After this is turned ON Hanch is attacked by bees
+F_0042 = 0x1110, // Snowpeak Ruins - Spoke with Yeta right after arriving at bedroom
+F_0043 = 0x1108, // Kakariko Village - First visit after fundrasing funds drop to 200
+F_0044 = 0x1104, // Ordon Village - Accepted sword tutorial first time
+F_0045 = 0x1102, // Ordon Village - Opening 3rd day - spoke with Uli
+F_0046 = 0x1101, // Ordon Village - Spoke with Sera after saving(lt;) failing(gt;) cat
+F_0047 = 0x1280, // Ordon Village - First visit after Ordon Village shop opens
+F_0048 = 0x1240, // Ordon Village - Uli's pick-up tutorial <fail>
+F_0049 = 0x1220, // Ordon Village - Uli's pick up tutorial <fail to throw>
+F_0050 = 0x1210, // Ordon Village - Saw cutscene for getting iron boots
+F_0051 = 0x1208, // Ordon Village - Spoke to Sera in the shop after saving cat
+F_0052 = 0x1204, // Ordon Village - Had 2nd conversaton with Sera before saving cat
+F_0053 = 0x1202, // Faron Woods - Saw night stalker appearance cutscene
+F_0054 = 0x1201, // Death Mountain - Lost wrestling match with elder goron while wearing iron boots
+F_0055 = 0x1380, // Faron Woods - Received Vessel of Light from Faron spirit
+F_0056 = 0x1340, // Death Mountain - Lost to elder goron 2+ times
+F_0057 = 0x1320, // Cutscene - [cutscene: 17] Part with the children
+F_0058 = 0x1310, // Castle Town - Listened to voices on other side of door in Telma's shop
+F_0059 = 0x1308, // N/A - Conversation after getting spirit and tears of light (darkness cleared) <- probably unused ...
+F_0060 = 0x1304, // Zora's River - First conversation with Hozu in the World of Light
+F_0061 = 0x1302, // Death Mountain - Heard spring goron and shopkeeper rumers after winning wrestling match against elder goron
+F_0062 = 0x1301, // Lake Hylia - Abandoned taking Fyer's cannon after paying
+F_0063 = 0x1480, // Lake Hylia - Used Fyer's cannon for first time
+F_0064 = 0x1440, // Snowpeak Ruins - First convo with Yeta after obtaining tomato puree
+F_0065 = 0x1420, // Snowpeak Ruins - Yeta adds last symbol onto map
+F_0066 = 0x1410, // Death Mountain - First saw Goron cutscene on mountain path
+F_0067 = 0x1408, // Ordon Village - Recieved milk jar (1/2) from Sera
+F_0068 = 0x1404, // N/A - N/A
+F_0069 = 0x1402, // Ordon Village - F0048: Thanked by Colen for clearing path
+F_0070 = 0x1401, // Ordon Woods - Colin went deep into the woods
+F_0071 = 0x1540, // Twilight Hyrule Field - Cannot warp to Lanayru
+F_0072 = 0x1520, // Ordon Village - Knocked down large beehive with hawk
+F_0073 = 0x1510, // Ordon Village - Attacked after charging at large beehive
+F_0074 = 0x1508, // Ordon Village - Hanch attacked by bees
+F_0075 = 0x1504, // Ordon Village - Angered Jaggle by destroying pumpkin
+F_0076 = 0x1502, // Ordon Village - Spoke to Hanch in lake
+F_0077 = 0x1501, // Castle Town - First converstaion with Agetha inside
+F_0078 = 0x1680, // Ordon Village - Hanch returned to land after jumping into lake
+F_0079 = 0x1640, // Ordon Village - 2nd Day - successful knocked down rampaging mountain goat
+F_0080 = 0x1620, // Ordon Village - Completed all of mountain goat rampage event
+F_0081 = 0x1610, // Ordon Village - 20 mountain goats rampaged
+F_0082 = 0x1608, // Ordon Village - Completed coversation with Bo after 20th mountain goat's rampage
+F_0083 = 0x1604, // Letter - Deliver letter from Agetha
+F_0084 = 0x1602, // Ordon Village - Opening days 2&3: knocked down a beehive with slingshot
+F_0085 = 0x1601, // Ordon Village - Rusl appears at woods entrance
+F_0086 = 0x1780, // Ordon Village - Spoke with Hanch after knocking down beehive with hawk
+F_0087 = 0x1740, // Ordon Village - Left search area after first conversation with Pergie
+F_0088 = 0x1720, // Ordon Village - Spoke to Beth after quitting sword tutorial
+F_0089 = 0x1710, // Ordon Village - Talked to village chief for first time
+F_0090 = 0x1708, // Castle Town - F:1126 - South - Spoke with Agetha's stalker (before talking with Agetha inside)
+F_0091 = 0x1704, // Ordon Village - F:1126 - South - Spoke with Agetha's stalker (after talking with Agetha inside)
+F_0092 = 0x1702, // Castle Town - F:1127 - South - Spoke with the Hyrule soldier guide
+F_0093 = 0x1701, // Castle Town - F:1128 - South - Spoke with female clerk at vegetable stand
+F_0094 = 0x1880, // Ordon Village - Talo went after the monkey
+F_0095 = 0x1840, // Ordon Ranch - Spoke to Fado before mountain goat rampage
+F_0096 = 0x1820, // Ordon Village - Have spoken to Bo with 1 health
+F_0097 = 0x1810, // Ordon Village - First conversation with dog eavesdrop hint
+F_0202 = 0x1808, // Ordon Village - Rusl / Wolf fails to get sword
+F_0203 = 0x1804, // Shop - First tried to steal from unnmaned shop (Havent checked donation box)
+F_0204 = 0x1802, // Inside Hyrule Castle - Talked to Midna from across the bars in the sewer
+F_0205 = 0x1801, // Ordon Village - Heard Rusl and Uli talking in Ordon village at night
+F_0206 = 0x1980, // Ordon Woods - Barrier of darkness tag: tried to enter without getting sword and shield
+F_0207 = 0x1940, // Ordon Village - Viewed Hanch, the Hawker cutscene
+F_0208 = 0x1920, // Ordon Village - Hanch leapt after being startled by wolf
+F_0209 = 0x1910, // Ordon Village - Escape after failing to eavesdrop to Bo and Jaggle
+F_0210 = 0x1908, // Ordon Village - F0004: Try to get on horse when Colin is stopping horse
+F_0211 = 0x1904, // Ordon Village - Successfully eavesdrop on Bo and Jaggle
+F_0212 = 0x1902, // Ordon Woods - Conversation wtih Colin in front of Ordon springs gate
+F_0213 = 0x1901, // Kakariko Village - Called by spirit after NS fight at Kakariko entrance
+F_0214 = 0x1a80, // Inside Hyrule Castle - First heard Midna's hint about Z
+F_0215 = 0x1a40, // Ordon Village - Spoke with cat on roof
+F_0216 = 0x1a20, // Ordon Village - Spoke with Ordon village cucco B (white)
+F_0217 = 0x1a10, // Faron Woods - First conversation after speaking with Coro again after clearing up twilight
+F_0218 = 0x1a08, // Faron Woods - Bought jar of oil from Coro
+F_0219 = 0x1a04, // Castle Town - Heard Agetha say "but you have some"
+F_0220 = 0x1a02, // Inside Hyrule Castle - First time - Talked to one of the Hyrule soldiers underneath castle in Twilight
+F_0221 = 0x1a01, // Kakariko Village - Received vessel of light from spirit
+F_0222 = 0x1b80, // Faron Woods - Finished Coro ignite event
+F_0223 = 0x1b40, // Faron Woods (Coro's Shop) - Listened to Coro's dialogue before defeating shadow bugs
+F_0224 = 0x1b20, // Faron Woods - Flag for lantern guide monkey cutscene
+F_0225 = 0x1b10, // Faron Woods - Lanter guide monkey doesn't come out a second time
+F_0226 = 0x1b08, // Faron Woods - Get lantern back from monkey
+F_0227 = 0x1b04, // Faron Woods - Try to leave mist woods after lantern taken
+F_0228 = 0x1b02, // Death Mountain - Listened to goron's complaint at the entrance to twilight mountain path
+F_0229 = 0x1b01, // Faron Woods - Try to leave the mist woods area without lantern (after returning monkey)
+F_0230 = 0x1c80, // Death Mountain - Twilight - listened to goron B's complaints
+F_0231 = 0x1c40, // Ordon Village - Did first wrestle match with Bo
+F_0232 = 0x1c20, // Ordon Village - get iron boots from Bo
+F_0233 = 0x1c10, // Ordon Village - Win practice battle with Bo (before getting boots)
+F_0235 = 0x1c04, // Sacred Grove - Giant game clear
+F_0236 = 0x1c02, // Misc. - Make Midna angry after doing wrong destination for Kakariko bridge warp
+F_0237 = 0x1c01, // Kakariko Village - Entered Malo Mart (chatted with Malo)
+F_0238 = 0x1d80, // Faron Woods - Destroyed all puppets (monkey girl event before sacred grove)
+F_0240 = 0x1d20, // Kakariko Village - Speak with Barnes while heas making bombs
+F_0241 = 0x1d10, // Kakariko Village - First conversation with Barnes after bomb shop open
+F_0242 = 0x1d08, // Goron Mines - Spoke with the dazed chief goron after Fyrus battle
+F_0243 = 0x1d04, // Kakariko Village - Speak with Luda wiping Colin's sweat
+F_0244 = 0x1d02, // Kakariko Village - Speak to Talo while COlin is wiping sweat
+F_0246 = 0x1e80, // Kakariko Village - Malo Mart fundraiser (and carying spring water) start
+F_0247 = 0x1e40, // Kakariko Village - First conversation with Malo (shopping complete) after helping Malo Mart fundraiser
+F_0248 = 0x1e20, // Faron Woods - Speak with Coro after clearing Forest Temple
+F_0249 = 0x1e10, // Lake Hylia - Try to leave after paying for Flight by Fowl (first time only)
+F_0250 = 0x1e08, // Cutscene - [cutscene: 21] reunion with Zelda / Midna revived (Hyrule Castle barrier appears)
+F_0251 = 0x1e04, // Ordon Village - Speak again with Sera before finding kids (forced conversation)
+F_0252 = 0x1e02, // Ordon Village - Spoke to Sera while kids are missing (dealing with shop)
+F_0253 = 0x1e01, // For E3 2006 - Stuck to magnet lift at least once
+F_0254 = 0x1f80, // For E3 2006 - Hit boss's weak spot at least once
+F_0255 = 0x1f40, // For E3 2006 - Boss exhausted (grabbing chains) only on during state (normally off)
+F_0256 = 0x1f20, // For E3 2006 - Knocked down boss at leased once
+F_0257 = 0x1f10, // For E3 2006 - Only ON when boss is in hollow state (normally off, changes in real time)
+F_0258 = 0x1f08, // For E3 2006 - Heard hint right above heavy switch
+F_0259 = 0x1f04, // For E3 2006 - Heard first forced dialogue from Midna
+F_0260 = 0x1f02, // Castle Town - First time speaking to Resistance Rusl
+F_0261 = 0x1f01, // Castle Town - First conversation with Resistance Auru (made fun of)
+F_0262 = 0x2080, // Castle Town - First conversation with Resistance Shad (made fun of)
+F_0263 = 0x2040, // Castle Town - First conversation with Resistance Ashei (3) (made fun of)
+F_0264 = 0x2020, // Cutscene - Get master sword
+F_0265 = 0x2010, // Arbiter's Grounds - Arbiter's Grounds clear
+F_0266 = 0x2008, // Snowpeak Ruins - Snowpeak Ruins clear
+F_0267 = 0x2004, // Temple of Time - Temple of Time clear
+F_0268 = 0x2002, // City in the Sky - City in the Sky clear
+F_0269 = 0x2001, // Castle Town - First conversation with Telma after getting master sword
+F_0270 = 0x2180, // Castle Town - Gave Renado's letter to Telma
+F_0271 = 0x2140, // Castle Town - Talked with Telma again after the other conversation after getting master sword
+F_0272 = 0x2120, // Castle Town - Saw Auru's location on map
+F_0273 = 0x2110, // Castle Town - Saw Ashei's location on map
+F_0274 = 0x2108, // Castle Town - Saw Rusl's location on map
+F_0275 = 0x2104, // Castle Town - Saw Shad's location on map
+F_0276 = 0x2102, // Castle Town - Heard conversation with Louise about stolen wood carving
+F_0277 = 0x2101, // Castle Town - Hear conversation between Telma and Ilia in Telma's shop (Twilight)
+F_0278 = 0x2280, // Hidden Village - Received pendant from Impaz
+F_0279 = 0x2240, // Hyrule Field - Saw cutscene about scent of kids from wooden sword
+F_0280 = 0x2220, // Hyrule Field - Saw cutscene about Ilia's scent from pouch
+F_0281 = 0x2210, // Shop - Malo Mart opens in Castle Town
+F_0292 = 0x2302, // Castle Town - Star Game 2 first experience
+F_0293 = 0x2301, // Castle Town - Star Game 2 cleared
+F_0294 = 0x2480, // Castle Town - Shaman - Prayers reached the heavens (heart piece obtained complete)
+F_0295 = 0x2440, // Castle Town - Watched meeting Louise event when sneaking into Telma's shop (wolf)
+F_0296 = 0x2420, // Castle Town - Spoke with Louise after kicked being kicked out of Telma's shop
+F_0297 = 0x2410, // Castle Town - First spoke with Chudley store clerk
+F_0298 = 0x2408, // Castle Town - Spoke with Auru after completing Arbiter's Grounds
+F_0299 = 0x2404, // Castle Town - Spoke with Shad at Telma's shop after getting master sword
+F_0300 = 0x2402, // Castle Town - Heard about Sky People from Shad at Telma's shop
+F_0301 = 0x2401, // Castle Town - Spoke with Shad after City in the Sky clear
+F_0302 = 0x2580, // Kakariko Village - Saw cutscene of Shad casting spells underneat Kakariko Village
+F_0303 = 0x2540, // Kakariko Village - Saw Shad's spell 2
+F_0304 = 0x2520, // Lake Hylia - Spoke with Auru at Hylia Lake
+F_0305 = 0x2510, // Lake Hylia - Heard about Fyer from Auru (desert cannon ON)
+F_0306 = 0x2508, // Desert - Used Fyer's cannon to go to desert
+F_0307 = 0x2504, // Snowpeak mountain - Spoke with Yeto at top of mountain as wolf
+F_0308 = 0x2502, // Snowpeak mountain - Watched first meeting event with Yeto at top of mountain (human)
+F_0309 = 0x2501, // Castle Town - First conversation with Agetha inside (gives golden bug capture quest)
+F_0310 = 0x2680, // Lake Hylia - Hand Auru's note to Fyer
+F_0311 = 0x2640, // Palace of Twilight - Palace of Twilight use 1
+F_0312 = 0x2620, // Palace of Twilight - Palace of Twilight use 2
+F_0313 = 0x2610, // Palace of Twilight - Palace of Twilight use 3
+F_0314 = 0x2608, // Palace of Twilight - Palace of Twilight use 4
+F_0315 = 0x2604, // Palace of Twilight - Palace of Twilight use 5
+F_0316 = 0x2602, // Palace of Twilight - Palace of Twilight use 6
+F_0317 = 0x2601, // Palace of Twilight - Palace of Twilight use 7
+F_0318 = 0x2780, // Palace of Twilight - Palace of Twilight use 8
+F_0319 = 0x2740, // Palace of Twilight - Palace of Twilight use 9
+F_0320 = 0x2720, // Palace of Twilight - Palace of Twilight use 10
+F_0321 = 0x2710, // Castle Town - Showed reciept to town doctor
+F_0322 = 0x2708, // Zora's Domain - Flow 0010 Spoke with Zora in Zora armor
+F_0323 = 0x2704, // Zora's Domain - Flow 0020 Spoke with Zora
+F_0324 = 0x2702, // Zora's Domain - Flow 0023 Speak with Zora before blowing up magma rock
+F_0325 = 0x2701, // Zora's Domain - Flow 0023 Speak with Zora after blowing up magma rock
+F_0326 = 0x2880, // Palace of Twilight - Mini-boss defeated flag
+F_0327 = 0x2840, // Misc. - First time warped by Ooccoo Sr.
+F_0328 = 0x2820, // Ordon Village - Talk again with Jaggle after finding kids
+F_0329 = 0x2810, // Ordon Village - Jaggle brings up shield
+F_0330 = 0x2808, // Ordon Village - Meet again with Uli for the first time (first forced conversation)
+F_0331 = 0x2804, // Ordon Village - Meet again and talk with Uli after finding kids (1st time)
+F_0332 = 0x2802, // Ordon Village - Meet again and talk with Uli after finding kids (2nd time)
+F_0333 = 0x2801, // Ordon Village - Uli brings up the sword
+F_0334 = 0x2980, // Castle Town - Spoke with Ashei at Telma's shop after getting master sword
+F_0335 = 0x2940, // Snowpeak mountain - Obtained scribble from Ashei at mountain pass
+F_0336 = 0x2920, // Zora's Domain - Blew up molten rock bomb
+F_0337 = 0x2910, // Castle Town - Listened to old ladies A/B conversation (wolf / Ralis hint FLOW104)
+F_0338 = 0x2908, // Secret techniques - Obtained 1 secret techinques - Shield attack
+F_0339 = 0x2904, // Secret techniques - Obtained 2 secret techinques
+F_0340 = 0x2902, // Secret techniques - Obtained 3 secret techinques
+F_0341 = 0x2901, // Secret techniques - Obtained 4 secret techinques
+F_0342 = 0x2a80, // Secret techniques - Obtained 5 secret techinques
+F_0343 = 0x2a40, // Secret techniques - Obtained 6 secret techinques
+F_0344 = 0x2a20, // Secret techniques - Obtained 7 secret techinques
+F_0345 = 0x2a10, // Faron Woods - Opening 2nd day - lit Coro's pot
+F_0346 = 0x2a08, // Lake Hylia - Turned down Auru's request to go to the desert
+F_0347 = 0x2a04, // Castle Town - Spoke with Ashei after Snowpeak Ruins clear
+F_0348 = 0x2a02, // Lake Hylia - Spoke with Zora soldier in front of Lakebed Temple (before bombing entrance)
+F_0349 = 0x2a01, // Lake Hylia - Spoke with Zora soldier in front of Lakebed Temple (after bombing entrance)
+F_0350 = 0x2b80, // Kakariko Village - Showed wood carving doll to Renado
+F_0351 = 0x2b40, // Hyrule Field - First meeting with Agether outside (haven't met inside yet) : gives bug even quest
+F_0352 = 0x2b20, // Hyrule Field - Second conversation with Agetha (outside)
+F_0353 = 0x2b10, // Castle Town - Conversation with lady complaining about Chudley's shop
+F_0354 = 0x2b08, // Cutscene - [cutscene] Mirror complete
+F_0355 = 0x2b04, // Castle Town - Showed wood carving to village doctor
+F_0356 = 0x2b02, // Castle Town - Spoke with village doctor after Ilia's memories restored
+F_0357 = 0x2b01, // Death Mountain - Spoke with Telma's guardian goron after she came back
+F_0358 = 0x2c80, // Castle Town - Spoke with Telma after Ilia's memories restored
+F_0359 = 0x2c40, // Kakariko Village - Spoke with Ilia while she's watching over Ralis
+F_0360 = 0x2c20, // Castle Town - Conversation with fortune teller as wolf
+F_0361 = 0x2c10, // Arbiter's Grounds - Spun the spinning pillars
+F_0362 = 0x2c08, // Castle Town - Properly spoke with Resistance Rusl again (2nd time)
+F_0363 = 0x2c04, // Ordon Village - Stole sword from Rusl in Ordon Village at night (wolf)
+F_0364 = 0x2c02, // Faron Woods - Listened to monkey girl's laments (Twilight)
+F_0365 = 0x2c01, // Death Mountain (room) - Spoke with Gor Liggs after LV dungeon clear
+F_0366 = 0x2d80, // Death Mountain (room) - Spoke with Gor Liggs after Ilia's memories restored
+F_0367 = 0x2d40, // Death Mountain - Spoke with goron blocking mountain path after Goron Mines clear
+F_0368 = 0x2d20, // Kakariko Village - First conversation wtih goron in front of hotel
+F_0369 = 0x2d10, // Kakariko Village - First conversation with goron in front of watch tower
+F_0370 = 0x2d08, // Kakariko Village - First converstaion with Karakiko springs goron (adult)
+F_0371 = 0x2d04, // Kakariko Village - First conversation wtih goron in front of bomb shop (while only selling bombs)
+F_0372 = 0x2d02, // Ordon Village - Tried to by milk before saving cat
+F_0373 = 0x2d01, // Death Mountain - Coversation with Darbus after Ilia's memories restored
+F_0374 = 0x2e80, // Death Mountain - Conversation with Darbus in wrestling room after Goron Mines clear
+F_0375 = 0x2e40, // Kakariko Village - First conversation with fundraising goron at Malo Mart
+F_0376 = 0x2e20, // Kakariko Village - Gathered funds for bridge repair! (set by program after raising funds)
+F_0377 = 0x2e10, // Castle Town - Goron spring water shop open!
+F_0378 = 0x2e08, // Hyrule Field - Darbus destroyed hidden village boulder
+F_0379 = 0x2e04, // N/A - Completed golden bugs
+F_0380 = 0x2e02, // N/A - Complete first meeting with Agetha (Recieved bug collection quest)
+F_0381 = 0x2e01, // Castle Town - First conversation with parent goron after spring water shop opens
+F_0382 = 0x2f80, // Castle Town - Listened to laments of fallen goron (while bridge broken)
+F_0383 = 0x2f40, // Castle Town - Spoke with child goron after spring water shop opens
+F_0384 = 0x2f20, // Castle Town - Spring water shop - Spoke with child goron while shop closed
+F_0385 = 0x2f10, // Kakariko Village - First conversation with Barnes after stocking water bombs
+F_0386 = 0x2f08, // Kakariko Village - Conversation with Barnes after he starts selling Bomblings and landmines
+F_0387 = 0x2f04, // Castle Town - Learned scent of medicine
+F_0388 = 0x2f02, // Kakariko Village - Graveyard - Spoke with Ralis after changing scene (before obtaining earrings)
+F_0389 = 0x2f01, // Hyrule Field - First conversation with goron digging hole in south
+F_0390 = 0x3080, // Castle Town - First conversation after saving Jovani
+F_0391 = 0x3040, // Hyrule Field - Gave spring water to goron south of castle town
+F_0392 = 0x3020, // Hyrule Field - spoke with goron digging hole after opening caslt town south road
+F_0393 = 0x3010, // Castle Town - First conversation at Poe shop (generic Poe appearance)
+F_0394 = 0x3008, // Goron Mines - Received first key from chibi elder (204)
+F_0395 = 0x3004, // Kakariko Village - First conversation with Gor Liggs in Kakariko Village
+F_0396 = 0x3002, // Kakariko Village - Failed to carry hot spring water (speak with elder to reset)
+F_0397 = 0x3001, // Kakariko Village - Gor Liggs conversation sequence B
+F_0398 = 0x3180, // Kakariko Village - Gor Liggs conversation sequence C
+F_0399 = 0x3140, // Kakariko Village - Conversation with Gor Liggs - hot spring game available
+F_0400 = 0x3120, // Kakariko Village - Warped sky cannon to Lake Hylia
+F_0401 = 0x3110, // Misc. - Beetle (M)
+F_0402 = 0x3108, // Misc. - Beetle (F)
+F_0403 = 0x3104, // Misc. - Butterfly (M)
+F_0404 = 0x3102, // Misc. - Butterfly (F)
+F_0405 = 0x3101, // Misc. - Stag beetle (M)
+F_0406 = 0x3280, // Misc. - Stag beetle (F)
+F_0407 = 0x3240, // Misc. - Grasshopper (M)
+F_0408 = 0x3220, // Misc. - Grasshopper (F)
+F_0409 = 0x3210, // Misc. - Phasmid (M)
+F_0410 = 0x3208, // Misc. - Phasmid (F)
+F_0411 = 0x3204, // Misc. - Pill bug (M)
+F_0412 = 0x3202, // Misc. - Pill bug (F)
+F_0413 = 0x3201, // Misc. - Mantis (M)
+F_0414 = 0x3380, // Misc. - Mantis (F)
+F_0415 = 0x3340, // Misc. - Ladybug (M)
+F_0416 = 0x3320, // Misc. - Ladybug (F)
+F_0417 = 0x3310, // Misc. - Snail (M)
+F_0418 = 0x3308, // Misc. - Snail (F)
+F_0419 = 0x3304, // Misc. - Dragonfly (M)
+F_0420 = 0x3302, // Misc. - Dragonfly (F)
+F_0421 = 0x3301, // Misc. - Ant (M)
+F_0422 = 0x3480, // Misc. - Ant (F)
+F_0423 = 0x3440, // Misc. - Dayfly (M)
+F_0424 = 0x3420, // Misc. - Dayfly (F)
+F_0425 = 0x3410, // Misc. - [Captured in bottle] Beetle (M)
+F_0426 = 0x3408, // Misc. - [Captured in bottle] Beetle (F)
+F_0427 = 0x3404, // Misc. - [Captured in bottle] Butterfly (M)
+F_0428 = 0x3402, // Misc. - [Captured in bottle] Butterfly (F)
+F_0429 = 0x3401, // Misc. - [Captured in bottle] Stag beetle (M)
+F_0430 = 0x3580, // Misc. - [Captured in bottle] Stag beetle (F)
+F_0431 = 0x3540, // Misc. - [Captured in bottle] Grasshopper (M)
+F_0432 = 0x3520, // Misc. - [Captured in bottle] Grasshopper (F)
+F_0433 = 0x3510, // Misc. - [Captured in bottle] Phasmid (M)
+F_0434 = 0x3508, // Misc. - [Captured in bottle] Phasmid (F)
+F_0435 = 0x3504, // Misc. - [Captured in bottle] Pill bug (M)
+F_0436 = 0x3502, // Misc. - [Captured in bottle] Pill bug (F)
+F_0437 = 0x3501, // Misc. - [Captured in bottle] Mantis (M)
+F_0438 = 0x3680, // Misc. - [Captured in bottle] Mantis (F)
+F_0439 = 0x3640, // Misc. - [Captured in bottle] Ladybug (M)
+F_0440 = 0x3620, // Misc. - [Captured in bottle] Ladybug (F)
+F_0441 = 0x3610, // Misc. - [Captured in bottle] Snail (M)
+F_0442 = 0x3608, // Misc. - [Captured in bottle] Snail (F)
+F_0443 = 0x3604, // Misc. - [Captured in bottle] Dragonfly (M)
+F_0444 = 0x3602, // Misc. - [Captured in bottle] Dragonfly (F)
+F_0445 = 0x3601, // Misc. - [Captured in bottle] Ant (M)
+F_0446 = 0x3780, // Misc. - [Captured in bottle] Ant (F)
+F_0447 = 0x3740, // Misc. - [Captured in bottle] Dayfly (M)
+F_0448 = 0x3720, // Misc. - [Captured in bottle] Dayfly (F)
+F_0449 = 0x3710, // Kakariko Village - Talk with Gor Liggs again - first time after talking iwth Hot spring water parent goron (before fundraising)
+F_0450 = 0x3708, // Castle Town - Double Clawshot shop final stage first conversation
+F_0453 = 0x3704, // Hyrule Field - Postman first appears
+F_0454 = 0x3702, // Goron Mines - Recieved 3rd key from fundraising elder (206)
+F_0455 = 0x3701, // Goron Mines - Recieved 3rd key from fundraising elder (205)
+F_0456 = 0x3880, // Castle Town - First time meeting with Jovani
+F_0457 = 0x3840, // Castle Town - Revived cat
+F_0458 = 0x3820, // Castle Town - Coversation with Jovani after collecting 60 ghosts
+F_0459 = 0x3810, // Castle Town - Coversation with Gengle after collecting 40 ghosts
+F_0460 = 0x3808, // Castle Town - Coversation with Gengle after collecting 50 ghosts
+F_0461 = 0x3804, // Fishing Pond - First time entered fishing house
+F_0462 = 0x3802, // Fishing Pond - Reserved for fishing
+F_0463 = 0x3801, // Fishing Pond - Reserved for fishing
+F_0464 = 0x3980, // Fishing Pond - Reserved for fishing
+F_0465 = 0x3940, // Fishing Pond - Reserved for fishing
+F_0466 = 0x3920, // Fishing Pond - Reserved for fishing
+F_0467 = 0x3910, // Fishing Pond - N/A
+F_0468 = 0x3908, // Fishing Pond - Reserved for fishing
+F_0469 = 0x3904, // Fishing Pond - Reserved for fishing
+F_0470 = 0x3902, // Fishing Pond - Reserved for fishing
+F_0471 = 0x3901, // Ordon Village - Finished 2 wrestling matches against Bo
+F_0472 = 0x3a80, // Secret techniques - Distant howling complete (for secret technique 2)
+F_0473 = 0x3a40, // Secret techniques - Distant howling complete (for secret technique 3)
+F_0474 = 0x3a20, // Secret techniques - Distant howling complete (for secret technique 4)
+F_0475 = 0x3a10, // Secret techniques - Distant howling complete (for secret technique 5)
+F_0476 = 0x3a08, // Secret techniques - Distant howling complete (for secret technique 6)
+F_0477 = 0x3a04, // Secret techniques - Distant howling complete (for secret technique 7)
+F_0478 = 0x3a02, // Zora's Domain - Spoke to Ralis who returned to Zora's domain
+F_0479 = 0x3a01, // Kakariko Village - First conversation with Ralis in front of grave
+F_0480 = 0x3b80, // Kakariko Village - Received Coral Earrings from Ralis
+F_0481 = 0x3b40, // Snowpeak Mountain - Beat Yeta at snowboard first time
+F_0482 = 0x3b20, // N/A - After beating Yeto, first conversation with Yeta at peak (challenged to a match)
+F_0483 = 0x3b10, // Snowpeak Mountain - First beat Yeta at snowboard (heart piece)
+F_0484 = 0x3b08, // Lake Hylia - Completed sky canon repairs!
+F_0485 = 0x3b04, // Lake Hylia - Heard Fyer talk about repairs 1 time
+F_0486 = 0x3b02, // Kakariko Village - Spoke with Luda while Ralis is visiting graveyard
+F_0487 = 0x3b01, // Kakariko Village - Spoke with Luda after Ralis returns home
+F_0488 = 0x3c80, // Kakariko Village - Conversation with goron in front of bomb shop - underwater bomb appears
+F_0489 = 0x3c40, // Kakariko Village - Conversation with goron in front of bomb shop - all bomb types appear
+F_0490 = 0x3c20, // Ordon Village - Spoke with cucco (thinks Link will eat him)
+F_0491 = 0x3c10, // Goron Mines - Spoke with mini-boss (magnet goron) after Goron Mines clear
+F_0492 = 0x3c08, // Secret techniques - Gold wolf disappearance 2
+F_0493 = 0x3c04, // Secret techniques - Gold wolf disappearance 3
+F_0494 = 0x3c02, // Secret techniques - Gold wolf disappearance 4
+F_0495 = 0x3c01, // Secret techniques - Gold wolf disappearance 5
+F_0496 = 0x3d80, // Secret techniques - Gold wolf disappearance 6
+F_0497 = 0x3d40, // Secret techniques - Gold wolf disappearance 7
+F_0498 = 0x3d20, // Kakariko Village - Spoke with Beth after Lalis is revived
+F_0499 = 0x3d10, // Zora's Domain - Saved magma goron
+F_0500 = 0x3d08, // Ordon Village - Met Uli before finding kids (look at sleeping Rusl)
+F_0501 = 0x3d04, // sub-dungeon - Cave of Ordeals - B10 first arrival
+F_0502 = 0x3d02, // sub-dungeon - Cave of Ordeals - B20 first arrival
+F_0503 = 0x3d01, // sub-dungeon - Cave of Ordeals - B30 first arrival
+F_0504 = 0x3e80, // sub-dungeon - Cave of Ordeals - B40 first arrival
+F_0505 = 0x3e40, // sub-dungeon - Cave of Ordeals - B50 first arrival (clear)
+F_0506 = 0x3e20, // N/A - Only met Ooccoo Sr. - not yet son (shared Forest - Snowpeak)
+F_0507 = 0x3e10, // N/A - Also met the son in dungeon with first Ooccoo Sr. meeting - turns 506 OFF (shared Forest - Snowpeak)
+F_0508 = 0x3e08, // Ooccoo Sr. stuff - Meb Ooccoo Sr. B - doesnt turn OFF (shared Forest - Snowpeak)
+F_0509 = 0x3e04, // Ooccoo Sr. stuff - Met Ooccoo Sr. second time
+F_0510 = 0x3e02, // City in the Sky - Watched City in the Sky start cutscene
+F_0513 = 0x3e01, // Kakariko Village - Spoke with Colin when neither Ilia nor Ralis are doing well
+F_0514 = 0x3f80, // Kakariko Village - Spoke with Colin after Ralis is revived but before Ilia is revived
+F_0515 = 0x3f40, // Kakariko Village - Spoke with Colin after Ilia and Ralis are revived
+F_0516 = 0x3f20, // Ordon Village - Told Uli directly about having found kids
+F_0517 = 0x3f10, // Ordon Village - Had normal conversation 1 with Uli after finding kids (before Colin kidnapped)
+F_0518 = 0x3f08, // Ordon Village - Colin kidnapped ~ Heard about giving letter to Colin from sleeping Uli
+F_0519 = 0x3f04, // Ordon Village - Spoke with Juggle after finding children
+F_0520 = 0x3f02, // Ordon Village - Spoke with Sera after finding children
+F_0521 = 0x3f01, // Ordon Village - Spoke with Sera across the counter after finding children (her script is shortened after this)
+F_0522 = 0x4080, // Faron Woods - Heard about Sacred Grove from saved monkey girl
+F_0523 = 0x4040, // Ordon Village - Spoke with Hanch before finding children
+F_0524 = 0x4020, // Ordon Village - Spoke with Hanch after finding children
+F_0525 = 0x4010, // Lake Hylia - First conversation with underwater Zora bomb seller
+F_0526 = 0x4008, // Cutscene - [Cutscene: 23] Midna reveals her true form
+F_0527 = 0x4004, // Faron Woods - Refused Resistance Rusl's request
+F_0528 = 0x4002, // Faron Woods - Resistance Rusl summoned golden cucco
+F_0529 = 0x4001, // Castle Town - Spoke with Rusl after clearing Temple of Time dungion
+F_0530 = 0x4180, // Ordon Village - Spoke with Pergie after finding children
+F_0531 = 0x4140, // Ordon Village - Spoke with Pergie while children are kidnapped
+F_0532 = 0x4120, // Ordon Village - Pergie butts in about a shield
+F_0533 = 0x4110, // Ordon Village - Spoke with Fado after finding children
+F_0534 = 0x4108, // Ordon Village - Spoke with Fado before finding children
+F_0535 = 0x4104, // Zora's Domain - Spoke with goron in water after recieving reward (bomb bag)
+F_0536 = 0x4102, // Zora's Domain - Spoke with goron in water before recieving reward
+F_0537 = 0x4101, // Faron Woods - Had Coro and wolf conversation
+F_0538 = 0x4280, // City in the Sky - Spoke with sky person Oocoo Sr. after clearing City in the Sky
+F_0539 = 0x4240, // Ordon Village - Receieved heart piece from Fado for mountain goat chase
+F_0540 = 0x4220, // Faron Woods - Heard hint from Midna right after first portal warp
+F_0541 = 0x4210, // N/A - N/A
+F_0542 = 0x4208, // Cutscene - [Cutscene] Hyrule Castle barrier disappears (Midna goes crazy)
+F_0543 = 0x4204, // Faron Woods - Met Resistance Rusl again in the woods
+F_0544 = 0x4202, // Faron Woods - Watched cutscene of monkey girl running away after being attacked by puppet
+F_0545 = 0x4201, // Sacred Grove - Watched cutscene of Ooccoo Sr. parting (after Temple of Time)
+F_0546 = 0x4380, // Castle Town - East - Spoke with soldier in front of east gate about light (while bridge is broken)
+F_0547 = 0x4340, // Castle Town - conversation with Jovani after collecting 40 ghosts
+F_0548 = 0x4320, // Ordon Village - Opening 3rd day - spoke with Jaggle
+F_0549 = 0x4310, // Castle Town - Heard old lady A, B, soldier set (talking about water) (when there's no water)
+F_0550 = 0x4308, // Main Event - Gain ability to use sense
+F_0551 = 0x4304, // Palace of Twilight - Palace of Twilight control use 1
+F_0552 = 0x4302, // Palace of Twilight - Palace of Twilight control use 2
+F_0553 = 0x4301, // Palace of Twilight - Palace of Twilight control use 3
+F_0554 = 0x4480, // Palace of Twilight - Palace of Twilight control use 4
+F_0555 = 0x4440, // Palace of Twilight - Palace of Twilight control use 5
+F_0556 = 0x4420, // Palace of Twilight - Palace of Twilight control use 6
+F_0557 = 0x4410, // Palace of Twilight - Palace of Twilight control use 7
+F_0558 = 0x4408, // Palace of Twilight - Palace of Twilight control use 8
+F_0559 = 0x4404, // Palace of Twilight - Palace of Twilight control use 9
+F_0560 = 0x4402, // Palace of Twilight - Palace of Twilight control use 10
+F_0561 = 0x4401, // Palace of Twilight - Palace of Twilight control use 11
+F_0562 = 0x4580, // Palace of Twilight - Palace of Twilight control use 12
+F_0563 = 0x4540, // Misc. - Brought back Gengle (after getting 50 souls, dealt with by program)
+F_0564 = 0x4520, // Castle Town - Heard story from solder at Telma's shop (during Twilight)
+F_0565 = 0x4510, // N/A - 2nd Day Complete
+F_0566 = 0x4508, // Ooccoo Sr. stuff - Letter from Ooccoo Sr. came in OK (no son)
+F_0567 = 0x4504, // Ooccoo Sr. stuff - Letter from Ooccoo Sr. came in OK (yes son)
+F_0568 = 0x4502, // Zora's River - Broke Iza's pots (first offence)
+F_0569 = 0x4501, // Zora's River - Compensation demands from Iza (resets if paid)
+F_0570 = 0x4680, // Palace of Twilight - Cleared Palace of Twilight
+F_0571 = 0x4640, // Ordon Village - Refuse Talo's request (for wooden sword) on 3rd day (first time)
+F_0572 = 0x4620, // Ordon Village - Refuse Talo's request (for wooden sword) on 3rd day (again)
+F_0573 = 0x4610, // Ordon Village - 1st Day - Fado moves to the farm (disappears from in front of Link's house)
+F_0574 = 0x4608, // Ordon Ranch - 1st Day - Start mountain goat chasing in evening
+F_0575 = 0x4604, // Ordon Ranch - 1st Day - End mountain goat chasing in evening
+F_0576 = 0x4602, // Ordon Village - 2nd Day - Spoke with Fado
+F_0577 = 0x4601, // Ordon Village - 2nd Day - Retrieved basket from monkey (hit hawk)
+F_0578 = 0x4780, // Ordon Village - Spoke to Beth on 3rd day
+F_0579 = 0x4740, // Ordon Village - Opening (2nd day) First time talking with Hanch before being attacked by bees
+F_0580 = 0x4720, // Ordon Village - 1st Day - Blew on Epona's reed whistle at Ordon Spring
+F_0581 = 0x4710, // Ordon Village - 2nd Day - First time calling the hawk using the grass whistle
+F_0582 = 0x4708, // Ordon Woods - 1st Day - spoke to Ilia before blowing the reed whistle
+F_0583 = 0x4704, // Ordon Woods - 1st day - Spoke to Ilia after blowing the reed whistle
+F_0584 = 0x4702, // Ordon Village - 1st Day - spoke to Rusl
+F_0585 = 0x4701, // Ordon Village - 1st day - Spoke to Bo
+F_0586 = 0x4880, // Ordon Village - Spoke to Bo after defeating mountain goat
+F_0587 = 0x4840, // Ordon Village - successfully defeated rampaging mountain goat
+F_0588 = 0x4820, // Ordon Village - First time letting rampaging mountain goat escape
+F_0589 = 0x4810, // Ordon Village - Sera - spoke on first day
+F_0590 = 0x4808, // Ordon Village - 2nd Day - Spoke to Malo during Talo's disappearance (after getting lantern)
+F_0591 = 0x4804, // Ordon Woods - 2nd Day - Spoke to Malo right after Talo disappears
+F_0592 = 0x4802, // Ordon Village - 2nd Day - Spoke with Beth during Talo's disappearance (after getting lantern)
+F_0593 = 0x4801, // Ordon Woods - 2nd Day - Conversation with Beth right after Talo's disappearance
+F_0594 = 0x4980, // Ordon Village - 2nd Day - Colin (conversation after receiving lantern from Coro)
+F_0595 = 0x4940, // Ordon Village - 2nd Day - Conversation with Colin after sword tutorial and after horse rejection
+F_0596 = 0x4920, // Ordon Village - 2nd Day - Conversation with Colin after sword tutorial, before horse rejection
+F_0597 = 0x4910, // Ordon Village - 2nd Day - First time speaking with Bo (after successfully defeating mountain goat)
+F_0598 = 0x4908, // Ordon Village - 2nd Day - First conversation with Bo
+F_0599 = 0x4904, // Ordon Village - 2nd Day - tried to enter Bo's house
+F_0600 = 0x4902, // Ordon Village - Purchase slingshot
+F_0601 = 0x4901, // Faron Woods - Spoke to imprisoned Talo
+F_0606 = 0x4a08, // Sacred Grove - Giants switched places
+F_0607 = 0x4a04, // Ordon Village - Quit Slingshot tutorial
+F_0608 = 0x4a02, // Ordon Village - Began Slingshot tutorial
+F_0609 = 0x4a01, // Ordon Village - Slingshot Tutorial - First time hitting scarcrow torso
+F_0610 = 0x4b80, // Ordon Village - Slingshot Tutorial - Hit it without using focus
+F_0611 = 0x4b40, // Ordon Village - Slingshot Tutorial - Hit it using focusing
+F_0612 = 0x4b20, // Ordon Village - Pachinco Tutorial - Spoke before hitting target
+F_0613 = 0x4b10, // Ordon Village - Slingshot Tutorial - Spoke before getting 2 scarecrow heards
+F_0614 = 0x4b08, // Ordon Village - 2nd Day - Heard forced conversation immediately after the slignshot tutorial
+F_0615 = 0x4b04, // Lake Hylia - Recieved vessel of light from Lanayru spirit
+F_0616 = 0x4b02, // Ordon Village - 3rd Day - Spoke to Talo/Malo after handing over wooden sword (1st time)
+F_0617 = 0x4b01, // Ordon Village - 3rd Day - Spoke to Talo/Malo after handing over wooden sword (2nd time)
+F_0618 = 0x4c80, // Ordon Village - Scooped bee larva into bottle on opening 2nd Day
+F_0619 = 0x4c40, // Lake Hylia - Spoke to Zora soldier (near cannon) in Lake Hylia
+F_0620 = 0x4c20, // Zora's Domain - First caught a Reek Fish
+F_0621 = 0x4c10, // Ordon Village - Spoke to Hanch on 3rd day (knocked down beehive on 2nd day)
+F_0622 = 0x4c08, // Ordon Village - Opening 2nd day: Spoke to Hanch before being attacked by bees
+F_0623 = 0x4c04, // Ordon Village - Opening 3rd day: Spoke to Hanch before being attacked by bees
+F_0624 = 0x4c02, // Ordon Village - 3rd day: Warned by Hanch when climbing vines
+F_0625 = 0x4c01, // Faron Woods - Saved Talo and a monkey
+F_0626 = 0x4d80, // Castle Town - Received a heart piece from Jovani
+F_0627 = 0x4d40, // Castle Town - Spoke with Jovani at the bar
+F_0628 = 0x4d20, // Castle Town - Received 200 Rupees from Gengle
+F_0629 = 0x4d10, // Castle Town - First conversation iwth Gengle after speaking with Jovani at the bar
+F_0630 = 0x4d08, // Cutscene - (Cutscene 4 - ?) Right after Link is captured (wolf)
+F_0631 = 0x4a80, // Fishing Pond (inside) - Heard when zooming in on fish tank (1)
+F_0632 = 0x4d04, // Fishing Pond (inside) - Heard first time zooming in on fish tank (2)
+F_0633 = 0x4d02, // Fishing Pond (inside) - Heard second time zooming in on fish tank (2)
+F_0634 = 0x4d01, // Fishing Pond (inside) - Heard zooming in on lure (no frog)
+F_0635 = 0x4e80, // Fishing Pond (inside) - Heard zooming in on lure (yes frog)
+F_0636 = 0x4e40, // Fishing Pond (inside) - Heard first time zooming in on frog lure
+F_0637 = 0x4e20, // Fishing Pond (inside) - Cleard all of roll goal game (get frog lure)
+F_0638 = 0x4e10, // Fishing Pond (inside) - Heard first time zooming in on canoe
+F_0639 = 0x4e08, // Fishing Pond (inside) - Heard first time zooming in on hat
+F_0640 = 0x4e04, // Fishing Pond (inside) - Heard first time zooming in on pot
+F_0641 = 0x4e02, // Fishing Pond (inside) - Heard First time zooming in on rug
+F_0642 = 0x4e01, // Fishing Pond (inside) - Heard first time zooming in on book
+F_0643 = 0x4f80, // Fishing Pond (inside) - Heard first time zooming in on old man's photo
+F_0644 = 0x4f40, // Fishing Pond (inside) - Heard first time zooming in on Coro's photo
+F_0645 = 0x4f20, // Fishing Pond (inside) - Heard First time zoomin in on Iza's photo
+F_0646 = 0x4f10, // Fishing Pond (inside) - Heard first time zooming in on Hena's photo
+F_0647 = 0x4f08, // Fishing Pond (inside) - Heard second time zooming in on Hena's photo
+F_0648 = 0x4f04, // Fishing Pond (inside) - Heard Hena's photo 1,2 (additional story)
+F_0649 = 0x4f02, // Fishing Pond (inside) - Heard first time zooming in on Link's picture
+F_0650 = 0x4f01, // Fishing Pond (inside) - Heard second time zooming in on Link's picture
+F_0651 = 0x5080, // Fishing Pond - Caught Greengill with bobber first time
+F_0652 = 0x5040, // Fishing Pond - Caught Hylian Bass with bobber first time
+F_0653 = 0x5020, // Fishing Pond - Caught Hylian Pike with bobber first time
+F_0654 = 0x5010, // Fishing Pond - Caught Hylian Loach using bobber first time
+F_0655 = 0x5008, // Fishing Pond - Caught an Ordon Catfish using bobber first time
+F_0656 = 0x5004, // Fishing Pond - Caught something (any fish) using lure first time
+F_0657 = 0x5002, // Fishing Pond - Caught Hylian Loach in front of Hena first time
+F_0658 = 0x5001, // Castle Town - Recieved large wallet from Agitha
+F_0659 = 0x5180, // Castle Town - Hear information about spirit spring in Lake Hylia from Twilight Soldier or map
+F_0660 = 0x5140, // Lake Hylia - Twilight Lake Hylia Listened to Zora soldier A talk
+F_0661 = 0x5120, // Lake Hylia - Twilight Lake Hylia Listened to Zora soldier B&C talk
+F_0662 = 0x5110, // Fishing Pond (inside) - Omit rules after clearing roll goal game once
+F_0663 = 0x5108, // Fishing Pond (inside) - Listened to Purdy's unnecessary words
+F_0664 = 0x5104, // Fishing Pond (inside) - After clearing roll goal game / first attempt
+F_0665 = 0x5102, // Fishing Pond (inside) - First zoom in Roll goal game
+F_0666 = 0x5101, // Zora's Domain - Showed Yeto sketch to Zora soldier next to Snowpeak Mountain
+F_0667 = 0x5280, // Zora's Domain - Showed Yeto sketch to average Zora soldier (generic)
+F_0668 = 0x5240, // Zora's Domain - Showed Yeto sketch to Zora civilian (generic)
+F_0669 = 0x5220, // Goron Mines - Pulled on Fyrus chains at least once
+F_0670 = 0x5210, // Goron Mines - Hitting knocked-down Fyrus
+F_0671 = 0x5208, // Goron Mines - Through magnet goron into lava once
+F_0672 = 0x5204, // Goron Mines - First time seeing magnet goron tumbling
+F_0673 = 0x5202, // Goron Mines - Heard hint about Fyrus's weakness (F0215)
+F_0674 = 0x5201, // Castle Town - Light - Spoke with cafe table: townsperson A1
+F_0675 = 0x5380, // Castle Town - Light - cafe counter: Spoke with townsgirl A1 (shop clerk)
+F_0676 = 0x5340, // Castle Town - Light - Spoke with Cafe customer: Townsperson F1 (just the man)
+F_0677 = 0x5320, // Castle Town - Light - Spoke with Cafe customer B: Townsperson D1 and Man B1
+F_0678 = 0x5310, // Castle Town - Spoke with Group A (Town girl C2, Boy B1, Town girl D1) in front of fountain
+F_0679 = 0x5308, // Fishing Pond (inside) - Cheated during Roll goal game
+F_0680 = 0x5304, // Arbiter's Grounds - Heard Midna's hint after cutscene of ghost escaping
+F_0681 = 0x5302, // Arbiter's Grounds - Heard Midna's hint after defeating first ghost
+F_0682 = 0x5301, // City in the Sky - First conversation with Oocca Shopkeeper
+F_0683 = 0x5480, // Castle Town - Spoke with Group B (Old lady A1, Boy A1, Town girl B1) in central square
+F_0684 = 0x5440, // Temple of Time - Look at R00 statue using sense
+F_0685 = 0x5420, // Cutscene - (Cutscene 32) Sage appears, get first Mirror of Twilight shard
+F_0686 = 0x5410, // Palace of Twilight - Get fused shadow piece (final mask)
+F_0687 = 0x5408, // Castle Town - Spoke with town girl D1 in front of south road hot spring shop (CLOSED)
+F_0688 = 0x5404, // Castle Town - Spoke with town girl D1 in front of south road hot spring shop (OPEN)
+F_0689 = 0x5402, // Castle Town - South Road - Spoke with meat shop villager man C1
+F_0690 = 0x5401, // Castle Town - South Road - Spoke with woman A1 in front of fortune teller's shop
+F_0691 = 0x5580, // Castle Town - Spoke with south alley children before guarding carriage
+F_0692 = 0x5540, // Castle Town - Spoke with south alley children after guarding carriage
+F_0693 = 0x5520, // Lake Hylia - First conversation with Plumm while human
+F_0694 = 0x5510, // Castle Town - Conversation with Jovani after collecting 20 ghosts
+F_0695 = 0x5508, // Fishing Pond - First time frog lure slips out
+F_0696 = 0x5504, // Castle Town - Spoke with inquiring Hyrule guard before saving Jovani
+F_0697 = 0x5502, // N/A - Spoke with inquiring Hyrule guard after saving Jovani
+F_0698 = 0x5501, // Castle Town - Spoke with woman B1 in front of south vegetable stand (before guarding carriage)
+F_0699 = 0x5680, // Castle Town - Spoke with woman B1 in front of south vegetable stand (after guarding carriage)
+F_0700 = 0x4a40, // N/A - First day ends
+F_0700B = 0x5640, // Castle Town - South Vegetable vendor - Spoke with Villager D2 (before guarding carriage)
+F_0701 = 0x4a20, // N/A - Talo discovers monkey in Link's house garden
+F_0701B = 0x5620, // N/A - South Vegetable vendor - Spoke with Villager D2 (after guarding carriage)
+F_0702 = 0x4a10, // Ordon Village - Confirmed kidnapped Talo
+F_0702B = 0x5610, // Castle Town - South Baker - Spoke with Boy A2
+F_0703 = 0x5608, // Fishing Pond - Caught Reek fish for first time while fishing
+F_0704 = 0x5604, // Zora's River - Listened to Iza in Twilight before domain is thawed
+F_0705 = 0x5602, // Castle Town - First conversation with Kaeru (frog) during Midna's desperate hour
+F_0706 = 0x5601, // Castle Town - First conversation wtih Torako (cat) during Midna's desperate hour
+F_0707 = 0x5780, // Castle Town - Midna's desperate hour, first conversation with Mii (cat)
+F_0708 = 0x5740, // Castle Town - First conversaton with doctor after completing spirit
+F_0709 = 0x5720, // Castle Town - Midna's desperate hour, first conversation wtih Stephanie (cat)
+F_0715 = 0x5710, // Castle Town - Speak with dog to west
+F_0716 = 0x5708, // Castle Town - Speak with dog to the east
+F_0717 = 0x5704, // Castle Town - Wist - Speak to the dog owner
+F_0718 = 0x5702, // Castle Town - South - Spoke to old lady at the vegetable stand (Chudley)
+F_0719 = 0x5701, // Castle Town - South - Spoke to old lady at the vegetable stand (Malo Mart)
+F_0720 = 0x5880, // Castle Town - South - Spoke to fruit stand vendor (before guarding carriage)
+F_0721 = 0x5840, // Castle Town - South - Spoke to fruit stand vendor (after guarding carriage)
+F_0722 = 0x5820, // Castle Town - East - Spoke to man at the T-shaped street
+F_0723 = 0x5810, // Castle Town - East - Spoke to man in the alley
+F_0724 = 0x5808, // Castle Town - East - Spoke to two ladies gossiping
+F_0725 = 0x5804, // Kakariko Village - Speak to Renado who is announcing Shad's visit
+F_0726 = 0x5802, // Zora's River - Talk to Iza as wolf
+F_0727 = 0x5801, // Castle Town - First conversation with shoe-shine boy
+F_0728 = 0x5980, // Castle Town - Refused entry into Chudley's shop because of dirty shoes
+F_0729 = 0x5940, // Hyrule Field - Right after postman's "Hey!"
+F_0730 = 0x5920, // Zora's River - Rode Iza's boat for the first time
+F_0732 = 0x5910, // Hidden Village - Spoke with Cucco (After completing Ilia's memory event)
+F_0733 = 0x5908, // Zora's River - Recieved Heart piece reward from Iza for going down the river
+F_0734 = 0x5904, // Fishing - Spoke with wild duck
+F_0735 = 0x5902, // Fishing - Spoke with domestic duck
+F_0736 = 0x5901, // Forest Temple - Heard Midna's hint / monkey hint
+F_0737 = 0x5a80, // Castle Town - First conversation with Udo (cat) during Midna's desperate hour
+F_0738 = 0x5a40, // Castle Town - South - Spoke with female customer at vegetable stand
+F_0739 = 0x5a20, // Castle Town - South - Spoke with old customer at fruit stand
+F_0740 = 0x5a10, // Castle Town - Spoke with child Goron (selling lantern oil) (before Hyrule Castle barrier)
+F_0741 = 0x5a08, // Castle Town - Spoke with child Goron (selling lantern oil) (after Hyrule Castle barrier)
+F_0742 = 0x5a04, // Castle Town - Spoke with child Goron (selling red potion)
+F_0743 = 0x5a02, // Castle Town - Spoke with adult Goron (30 arrows) (before Hyrule Castle barrier)
+F_0744 = 0x5a01, // Castle Town - Spoke with adult Goron (30 arrows) (after Hyrule Castle barrier)
+F_0745 = 0x5b80, // Castle Town - Spoke with adult Goron (Hylia shield)
+F_0746 = 0x5b40, // Kakariko Village - Spoke with Cucco A
+F_0747 = 0x5b20, // Kakariko Village - Spoke with Cucco B
+F_0748 = 0x5b10, // Hyrule Field - First conversation with hint hawk
+F_0749 = 0x5b08, // Hidden Village - After clearing cat game (Heart piece is buried, whether it is obtained depends on the player)
+F_0750 = 0x5b04, // Hidden Village - First conversation with Captain Cucco after beginning cat game activities
+F_0751 = 0x5b02, // Hidden Village - Heard detailed explaination from Captain Cucco for the first time
+F_0752 = 0x5b01, // Hidden Village - Beat cat game again
+F_0753 = 0x5c80, // Faron Woods - Scooped Coro's bad soup for the first time
+F_0754 = 0x5c40, // Forest Temple - Heard Midna's hint / Monkey hint 2 times (SAVE72=ON)
+F_0755 = 0x5c20, // Zora's River - Twilight Heard Iza's line right after shadow bug appears
+F_0756 = 0x5c10, // City in the Sky - Join with Ooccoo Sr.
+F_0757 = 0x5c08, // Faron Woods - Had Trill and wolf conversation
+F_0758 = 0x5c04, // Faron Woods - Stole from unmanned shop (For use in Trill wolf conversation. Resets after speaking)
+F_0759 = 0x5c02, // Ordon Village - Opening (3rd day) first conversation with Sera
+F_0768 = 0x5d40, // Lake Hylia - Heard forced conversation with Midna after Hylia Lake introduction cutscene
+F_0769 = 0x5d20, // Zora's River - Forced conversation with Midna right after first arrival at upper Zora's river
+F_0770 = 0x5d10, // Zora's Domain - Twilight (frozen) Heard forced conversation after first visit cutscene
+F_0771 = 0x5d08, // Faron Woods - Unmanned Shop : last payment stolen
+F_0772 = 0x5d04, // Faron Woods - Unmanned Shop : last payment too little
+F_0773 = 0x5d02, // Faron Woods - Unmanned Shop : last payment too much
+F_0774 = 0x5d01, // Zora's Domain - Listened to Midna's conversation after seeing frozen Zora
+F_0775 = 0x5e80, // Lake Hylia - Heard forced conversation with Midna after first Fyer's cannon
+F_0776 = 0x5e40, // Palace of Twilight - Link first turned to wolf due to fog in Palace of Twilight
+F_0777 = 0x5e20, // Misc. - Spoke to Epona
+F_0778 = 0x5e10, // Faron Woods - Heard forced conversation with Midna after story about spirits after clearing Forest Temple
+F_0779 = 0x5e08, // Lake Hylia - Heard one hint from Midna while bridge is burning
+F_0780 = 0x5e04, // Kakariko Village - Heard Ilia talk about the messenger from the sky after her memories are restored
+F_0781 = 0x5e02, // Kakariko Village - Spoke to Ilia in church after clearing Temple of Time
+F_0782 = 0x5e01, // Kakariko Village - Spoke to Renado after Lakebed Temple complete, before Temple of Time complete
+F_0783 = 0x5f80, // Hidden Village - Showed dominion rod to Impaz
+F_0784 = 0x5f40, // Kakariko Village - Had normal conversation with Shad after he returns to church basement
+F_0785 = 0x5f20, // Kakariko Village - Shad leaves after attempting to warp sky cannon
+F_0786 = 0x5f10, // Kakariko Village - Forced conversation with Shad when he sees the sky cannon
+F_0787 = 0x5f08, // Kakariko Village - Stopped by Midna when trying to warp the sky cannon
+F_0788 = 0x5f04, // Zora's River - Talked to Zora going up the waterfall
+F_0789 = 0x5f02, // Castle Town - Grabbed sweet apple 1 time
+F_0790 = 0x5f01, // Ordon Village - Sera faces the cat (outside conversation area when 520 is ON)
+F_0791 = 0x6080, // Sky character - Sky character 1
+F_0792 = 0x6040, // Sky character - Sky character 2
+F_0793 = 0x6020, // Sky character - Sky character 3
+F_0794 = 0x6010, // Sky character - Sky character 4
+F_0795 = 0x6008, // Sky character - Sky character 5
+F_0796 = 0x6004, // Sky character - Sky character 6
+F_0797 = 0x6002, // Lake Hylia - Have selected "Take Cannon / Repair" at Fyer's cannon (when there's no other business)
+F_0798 = 0x6001, // Lake Hylia - Heard about Zora from Fyer
+F_0799 = 0x6180, // Hyrule Field - Listened to the fallen Goron's complaints (after opening bridge)
+F_0800 = 0x6140, // Cutscene - After returning to Ordon Woods, until Midna comes out of the shadows (If 800 is ON, Midna can't be called)
+F_0801 = 0x6120, // Zora's Domain - First learned Reek Fish scent
+F_0802 = 0x6110, // Faron Woods - Trill attacks when stealing
+F_0803 = 0x6108, // Hidden Village - Talked to Old Lady Impaz after going to Sky
+F_0804 = 0x6104, // Twilight Hyrule Field - Heard Midna's forced conversation immediately after plunge into Eldin Twilight
+F_0805 = 0x6102, // Kakariko Village - Bought Hylian shield from Malo Mart
+F_0806 = 0x6101, // Ordon Village - Talked to Hanch on the first day
+F_0807 = 0x6280, // Ordon Village - Talked to Colin on the first day
+F_0808 = 0x6240, // Ordon Village - Talked to Beth on the first day
+F_0809 = 0x6220, // Castle Town - 3 groupie girls (first conversation where they become Link's groupies)
+F_0810 = 0x6210, // Arbiter's Grounds - Learned ghost's scent
+F_0811 = 0x6208, // Castle Town - Attempted Star Game for the first time
+F_0812 = 0x6204, // N/A - N/A
+F_0813 = 0x6202, // N/A - N/A
+F_0814 = 0x6201, // N/A - N/A
+F_0815 = 0x6380, // N/A - N/A
+F_0816 = 0x6340, // N/A - N/A
+F_0817 = 0x6320, // N/A - N/A
+F_0818 = 0x6310, // N/A - N/A
+F_0819 = 0x6308, // N/A - N/A
+F_0820 = 0x6304, // N/A - N/A
+F_234 = 0x1c08, // Faron Woods - Attacked by Trill
+F_282 = 0x2208, // Snowpeak mountain - First conversation with Yeto at peak after Snowpeak Ruins clear
+F_283 = 0x2204, // Hyrule Field - Get wood carving
+F_284 = 0x2202, // Lake Hylia - Already have a score recorded for Plumm's game
+F_285 = 0x2201, // Lake Hylia - First conversation with Plumm as wolf
+F_286 = 0x2380, // Lake Hylia - Cleared Plumm's attraction (get heart piece)
+F_287 = 0x2340, // Kakariko Village - Handed wood carving to Ilia
+F_288 = 0x2320, // Cutscene - [cutscene: ] Ilia gets her memories back
+F_289 = 0x2310, // Castle Town - Heard conversation about entering Star Game 1
+F_290 = 0x2308, // Castle Town - Star Game 1 cleared
+J_BTN_GUIDE = 0x5d80, // Misc. - X-button guide
+KORO2_ALLCLEAR = 0x6302, // Fishing - After all stages (8-8) of roll goal game cleared
+M_001 = 0x1010, // Cutscene - Opening cutscene
+M_002 = 0x1580, // Cutscene - [cutscene: 2] Met with Ilia (brings horse to spring)
+M_003 = 0x1008, // Ordon Village - F0003: Spoke to Colin while he is stopping hors (has fishing rod)
+M_006 = 0x0402, // Ordon Ranch - 3rd day - finished chasing goats, speak to Fado in free state
+M_007 = 0x0401, // Kakariko Village - First conversation with Shad in basement (about the words of opening)
+M_008 = 0x0580, // Cutscene - Cutscene - attacked by monsters at Ordon spring
+M_009 = 0x0540, // Cutscene - [cutscene: 6B] Prison escape - Midna rides on back
+M_010 = 0x0520, // Cutscene - [cutscene: 6A] Midna appears in the prison
+M_011 = 0x0510, // Inside Hyrule Castle - Midna removes wolf's chains in prison
+M_012 = 0x0508, // Cutscene - [cutscene: 7] Meet Princess Zelda at castle
+M_013 = 0x0504, // Misc. - First heard about Twilight gate from Midna
+M_014 = 0x0502, // Cutscene - [cutscene: 8] First warped from castle by Midna
+M_015 = 0x0501, // Faron Woods - Can use Midna's B charge attack
+M_016 = 0x0680, // Cutscene - [cutscene: 9] Ordon village spirit appears
+M_017 = 0x0640, // Cutscene - [cutscene: 10] Dark Hyrule Forest - Midna again
+M_018 = 0x0620, // Main Event - Brought Kakariko bridge back to original location
+M_019 = 0x0610, // Cutscene - [cutscene: 11] forest spirit revived - Hero's birth
+M_020 = 0x0608, // Cutscene - [cutscene: ] Colin kidnapped : ON once watched
+M_021 = 0x0604, // Main Event - First portal warp
+M_022 = 0x0602, // Forest Temple - Forest Temple clear (Midna creates warp hole)
+M_023 = 0x0601, // Main Event - Epona rescued flag
+M_024 = 0x0780, // Cutscene - [cutscene: 16] take back Colin
+M_025 = 0x0740, // Death Mountain (room) - First wresting match against fat (elder) goron
+M_026 = 0x0720, // Ordon Village - Reunion with Bo (Watched cutscene before wrestle match)
+M_027 = 0x0710, // Cutscene - [cutscene: 13] kids in the church (beast eyes)
+M_028 = 0x0708, // Cutscene - [cutscene: 14] restore mountain spirit - Reuinion with Colin et al.
+M_029 = 0x0704, // Death Mountain (room) - Win wrestle match against Gor Coron
+M_030 = 0x0702, // Death Mountain (room) - First conversation with Gor Coron
+M_031 = 0x0701, // Goron Mines - Goron Mines clear
+M_032 = 0x0880, // Main Event - Melted Zora river ice with magma rock
+M_033 = 0x0840, // Main Event - Start carriage guarding game
+M_034 = 0x0820, // Cutscene - [cutscene: 19] Reunion with Ilia (After Lakebed Temple?)
+M_035 = 0x0810, // Cutscene - [cutscene: 35] after carriage guarding event
+M_036 = 0x0808, // Main Event - Begin carriage guarding (after joust revenge)
+M_037 = 0x0804, // Kakariko Village - Got Zora armor from Zora queen
+M_038 = 0x0802, // Kakariko Village - [Bow and arrow game] listen to hawkeye hint
+M_039 = 0x0801, // Kakariko Village - [Bow and arrow game] First time talking to Talo
+M_040 = 0x0980, // Kakariko Village - [bow and arrow game] Spoke to Talo after completing
+M_041 = 0x0940, // Kakariko Village - [Bow and Arrow game] First attempt
+M_042 = 0x0920, // Kakariko Village - [Bow and Arrow game] clear
+M_043 = 0x0910, // Kakariko Village - [Bow and Arrow game] Complete using Hawkeye
+M_044 = 0x0908, // Kakariko Village - [Barnes Bomb Shop] Bought premium pack
+M_045 = 0x0904, // Lakebed Temple - Lakebed Temple clear
+M_046 = 0x0902, // Zora's River - [Iza river descent] Get advice about boulder blocking river
+M_047 = 0x0901, // Zora's River - Iza Twilight - Talked after defeating shadow bugs
+M_048 = 0x0a80, // Zora's River - Ran away while clearing rubble at hut
+M_049 = 0x0a40, // Death Mountain - Threw first rolling goron at death mountain
+M_050 = 0x0a20, // Main Event - Eldin Bridge disappears
+M_051 = 0x0a10, // Main Event - Shadow Kargorok (?) (Large) event complete (Horse grass appears in various places)
+M_052 = 0x0a08, // Main Event - Horseback battle clear
+M_053 = 0x0a04, // Main Event - Horseback battle cutscene
+M_054 = 0x0a02, // Main Event - Joust / one-on-one battle cutscene
+M_055 = 0x0a01, // Main Event - Did damage at least once during joust/one-on-one battle
+M_056 = 0x0b80, // Hyrule Field - Ignored Iza's concerns
+M_057 = 0x0b40, // Desert - View boar cutscene after defeating King Bulblin
+M_058 = 0x0b20, // Snowpeak Ruins - First time meeting Yeta (forced converation)
+M_059 = 0x0b10, // Snowpeak Ruins - received map from Yeta
+M_060 = 0x0b08, // Zora's River - [Iza river descent] // 2nd time running away while clearing rubble in hut
+M_061 = 0x0b04, // Zora's River - [Iza river descent] Got explanation for clearing rubble 1 time
+M_062 = 0x0b02, // Zora's River - [Iza] Says thanks after night stalker battle
+M_063 = 0x0b01, // Zora's River - [Iza river descent] Finish job (First time descending river)
+M_064 = 0x0c80, // Zora's Domain - Water returns to Hylia Lake (spoke with Queen Rutela)
+M_065 = 0x0c40, // Faron Woods - Spoke with Faron spirit after clearing Forest Temple
+M_066 = 0x0c20, // N/A - N/A
+M_067 = 0x0c10, // Main Event - Midna riding / not riding (ON == riding)
+M_068 = 0x0c08, // Main Event - when OFF, wolf carries sword and shield on back
+M_069 = 0x0c04, // Kakariko Village - First conversation with child goron shop clerk
+M_070 = 0x0c02, // Cutscene - [cutscene: 18] Lanayru spirit restored
+M_071 = 0x0c01, // Cutscene - [cutscene: 20] Zant appears (during Midna's desperate hour)
+M_072 = 0x0d80, // Ordon Village - Get wooden shield
+M_073 = 0x0d40, // Kakariko Village - Spoke with Renado after guarding carriage [0030]
+M_074 = 0x0d20, // Kakariko Village - Spoke with Renado after guarding carriage [0031]
+M_075 = 0x0d10, // Snowpeak Ruins - Forced conversation with Yeta after getting bedroom key
+M_076 = 0x0d08, // Misc. - First conversation with Castle Town Malo Mart shop clerk
+M_077 = 0x0d04, // Main Event - Get shadow crystal (can now transform)
+M_078 = 0x0d02, // Ordon Village - Spoke with frog A
+M_079 = 0x0d01, // Ordon Village - Ordon village night: Heard Z Jump dialogie in Pergie's house
+M_080 = 0x0e80, // Ordon Village - Spoke with brown cucco
+M_081 = 0x0e40, // Death Mountain - First conversation with Goron that shoots you up (shared with everyone)
+M_082 = 0x0e20, // Death Mountain - Spoke with spring Goron A
+M_083 = 0x0e10, // Lake Hylia - Heard Fyer's talk after water restored
+M_084 = 0x0e08, // Kakariko Village - Complete sequence of shopping at Malo Mart first time
+M_085 = 0x0e04, // Twilight Hyrule Field - Midna dialogue right before Boss Bug's Tear of Light appears
+M_086 = 0x0e02, // Twilight Hyrule Field - Show Boss Bug's Tear of Light on the map
+M_087 = 0x0e01, // Hyrule Field - Ilia memory event start
+M_088 = 0x0f80, // Kakariko Village - Get Renado's Letter
+M_089 = 0x0f40, // Castle Town - First time entering doctor's office (forced conversation)
+M_090 = 0x0f20, // Castle Town - Spoke to town doctor before showing receipt
+M_091 = 0x0f10, // Kakariko Village - Buy out fundraiser amount (Malo becomes nice)
+M_092 = 0x0f08, // Hyrule Field - Warped Eldin Bridge
+M_093 = 0x0f04, // Lake Hylia - First conversation with Fyer after desert's debut
+M_094 = 0x0f02, // Zora's River - First time visiting Rizu's hut after completing river job (forced conversation)
+M_095 = 0x0f01, // Faron Woods - First time meeting Coro (obtain lantern)
+M_096 = 0x1080, // Ordon Village - 3rd day: spoke with Pergie
+M_097 = 0x2304, // Main Event - Can use magic
+MAP_VISIBLE = 0x1d01, // 2D Map - Area map show/hide
+T_0239 = 0x1d40, // Lake Hylia - Spoke with Fyer (start dark carge)
+TEST_001 = 0x0080, // Faron Woods - Kakariko bridge portal warp hint
+TEST_002 = 0x0040, // Death Mountain - Big magma stone portal warp hint
+TEST_003 = 0x0020, // Snowpeak Ruins - Handed over tomato puree
+TEST_004 = 0x0010, // Snowpeak Ruins - Handed over secret ingredient
+KAKERA_GET_INFO_05 = 0xebff, // Misc. - Info about getting heart piece
+KAKERA_GET_INFO_04 = 0xecff, // Misc. - Info about getting heart piece
+KAKERA_GET_INFO_03 = 0xedff, // Misc. - Info about getting heart piece
+KAKERA_GET_INFO_02 = 0xeeff, // Misc. - Info about getting heart piece
+KAKERA_GET_INFO_01 = 0xefff, // Misc. - Info about getting heart piece
+KAKERA_GET_INFO_00 = 0xf0ff, // Misc. - Info about getting heart piece
+SP_LURE__USE_COUNT = 0xf11f, // Fishing Pond - Number of fish caught with sinking lure (Max: 31)
+CF_RECORD_0 = 0xf27f, // Fishing Pond - Fishing hut fish tank (Ordon Catfish Size)
+NP_RECORD_0 = 0xf37f, // Fishing Pond - Fishing hut fish tank (Hylian Pike Size)
+RI_RECORD_0 = 0xf47f, // Fishing Pond - Fishing hut fish tank (Hylian Loach Size)
+LM_RECORD_0 = 0xf57f, // Fishing Pond - Fishing hut fish tank (Bass Size)
+KORO2_LEVEL = 0xf63f, // Fishing Pond (inside) - Roll goal game level memory use
+FUND_RAISING_HIGH2 = 0xf7ff, // Shop - Donations top bit
+FUND_RAISING_LOW2 = 0xf8ff, // Shop - Donations bottom bit
+FUND_RAISING_HIGH = 0xf9ff, // Shop - Fundraising top bit
+FUND_RAISING_LOW = 0xfaff, // Shop - Fundraising bottom bit
+TOTAL_PAYMENT_LOW = 0xfbff, // Shop - Unmanned shop payment total top bit (typo maybe? should be bottom bit?)
+TOTAL_PAYMENT_HIGH = 0xfcff, // Shop - Unmanned shop payment total top bit
+TOTAL_PRICE_LOW = 0xfdff, // Shop - Unmanned shop total price bottom bit
+TOTAL_PRICE_HIGH = 0xfeff, // Shop - unmanned shop total price top bit
+EREG_000 = 0xff1f, // Ranch - Rampaging goats number
+UNUSED = 0xffff, // N/A - Unused? This was the only flag not in the debug table \ No newline at end of file
diff --git a/src/d/save/d_save_init.cpp b/src/d/save/d_save_init.cpp
index 20106ed972..7b0c3029b7 100644
--- a/src/d/save/d_save_init.cpp
+++ b/src/d/save/d_save_init.cpp
@@ -1,25 +1,9 @@
-//
-// Generated By: dol2asm
-// Translation Unit: d/save/d_save_init
-//
+/**
+ * d_save_init.cpp
+ *
+ */
#include "d/save/d_save_init.h"
-#include "dol2asm.h"
-#include "dolphin/types.h"
-
-//
-// Forward References:
-//
-
-extern "C" void setInitEventBit__Fv();
-
-//
-// External References:
-//
-
-//
-// Declarations:
-//
/* 80035C88-80035C8C 0305C8 0004+00 0/0 1/1 0/0 .text setInitEventBit__Fv */
void setInitEventBit() {
diff --git a/src/d/save/d_save_temp_bit_labels.inc b/src/d/save/d_save_temp_bit_labels.inc
new file mode 100644
index 0000000000..021b8218bd
--- /dev/null
+++ b/src/d/save/d_save_temp_bit_labels.inc
@@ -0,0 +1,196 @@
+/**
+ * d_save_temp_bit_labels.inc
+ * Flag labels for dSv_event_tmp_flag_c::tempBitLabels
+ *
+ * Flag information comes from the debug table in d_event_debug.inc
+ *
+ */
+
+/*
+Name = Value // Location - Description
+*/
+
+CAT_1 = 0x1180, // Ordon Village - 3rd day: Heard results of goat herding
+CAT_2 = 0x1140, // Ordon Village - 3rd day: Spoke with Fado after herding goats
+CAT_3 = 0x1120, // Ordon Village - 3rd day: Fado's first conversation
+CAT_4 = 0x1110, // Cat game - N/A
+CAT_5 = 0x1108, // Faron Woods - Heard Midna's warning in Twilight fog woods
+CAT_6 = 0x1104, // Ordon Village - Entered Uli's room before finding children (ON during forced conversation)
+CAT_7 = 0x1102, // Cat game - N/A
+CAT_8 = 0x1101, // Cat game - N/A
+CAT_9 = 0x1280, // Cat game - N/A
+CAT_10 = 0x1240, // Cat game - N/A
+CAT_11 = 0x1220, // Sacred Grove - Used in Ooccoo Sr. departure event (1)
+CAT_12 = 0x1210, // Sacred Grove - Used in Ooccoo Sr. departure event (2)
+CAT_13 = 0x1208, // Sacred Grove - Used in Ooccoo Sr. departure event (3)
+CAT_14 = 0x1204, // Sacred Grove - Used in Ooccoo Sr. departure event (4)
+CAT_15 = 0x1202, // Cat game - N/A
+CAT_16 = 0x1201, // Cat game - N/A
+CAT_17 = 0x1380, // Ordon Village - Used in conversation with Sera's household on first day (1)
+CAT_18 = 0x1340, // Ordon Village - Used in conversation with Sera's household on first day (2)
+CAT_19 = 0x1320, // Cat game - N/A
+CAT_20 = 0x1310, // Cat game - N/A
+DUNGEON_130 = 0x0e10, // Temple of Time - Heard Midna's hint during mini-boss
+DUNGEON_131 = 0x0e08, // Unused - Dungeon 131
+DUNGEON_132 = 0x0e04, // Unused - Dungeon 132
+DUNGEON_133 = 0x0e02, // Unused - Dungeon 133
+DUNGEON_134 = 0x0e01, // Unused - Dungeon 134
+DUNGEON_135 = 0x0f80, // Unused - Dungeon 135
+DUNGEON_136 = 0x0f40, // Unused - Dungeon 136
+DUNGEON_137 = 0x0f20, // Unused - Dungeon 137
+DUNGEON_138 = 0x0f10, // Unused - Dungeon 138
+DUNGEON_139 = 0x0f08, // Unused - Dungeon 139
+DUNGEON_140 = 0x0f04, // Unused - Dungeon 140
+DUNGEON_141 = 0x0f02, // Unused - Dungeon 141
+DUNGEON_142 = 0x0f01, // Unused - Dungeon 142
+DUNGEON_143 = 0x1080, // Unused - Dungeon 143
+DUNGEON_144 = 0x1040, // Unused - Dungeon 144
+DUNGEON_145 = 0x1020, // Unused - Dungeon 145
+DUNGEON_146 = 0x1010, // Unused - Dungeon 146
+DUNGEON_147 = 0x1008, // Unused - Dungeon 147
+DUNGEON_148 = 0x1004, // Unused - Dungeon 148
+DUNGEON_149 = 0x1002, // Unused - Dungeon 149
+DUNGEON_150 = 0x1001, // Unused - Dungeon 150
+GUARD_URI = 0x1308, // Ordon Village - Rusl is guarding Uli, Ordon village night
+Hanch_CLIMBOUT_POND = 0x1304, // Ordon Village - Hanch gets out of lake after jumping in
+MN09_02 = 0x0c02, // Hyrule Castle - Rusl waves at Link Flag
+MN09_03 = 0x0c01, // Hyrule Castle - Auru's cannon hits Flag
+NO_TELOP = 0x1301, // General use - When on (while changing scenes) stage name is not shown
+NODRAW_STAGE_NAME = 0x1302, // General use - N/A
+PACHITUTORIAL_CNT = 0xf4ff, // Ordon Village - Slingshot tutorial, number of destroyed targets
+PACHITUTORIAL_INF = 0xf3ff, // Ordon Village - Slingshot tutorial, hit information
+SHA_DBG = 0xf2ff, // Castle Town - Fortune teller debug
+SHA_LOVEFORTUNE_00 = 0xfaff, // Castle Town - For memory use after love fortune scene change
+SHA_LOVEFORTUNE_01 = 0xf9ff, // Castle Town - For memory use after love fortune scene change
+SHA_LOVEFORTUNE_02 = 0xf8ff, // Castle Town - For memory use after love fortune scene change
+SHA_LOVEFORTUNE_03 = 0xf7ff, // Castle Town - For memory use after love fortune scene change
+SHA_LOVEFORTUNE_04 = 0xf6ff, // Castle Town - For memory use after love fortune scene change
+SHA_LOVEFORTUNE_05 = 0xf5ff, // Castle Town - For memory use after love fortune scene change
+T_0001 = 0x0080, // Kakariko Village (inside) - Make successive purchase at Barnes bomb shop
+T_0002 = 0xff0f, // Ordon Village - Sword tutorial - step
+T_0003 = 0xfeff, // Ordon Village - Sword tutorial - slice count
+T_0004 = 0x0040, // Ordon Village - sword tutorial - outcome
+T_0005 = 0xfdff, // Temp cutscene - Actual cutscene number delivery
+T_0006 = 0xfcff, // Temp cutscene - Return layer number
+T_0007 = 0x0020, // Ordon Village - During Uli's pick-up tutorial
+T_0008 = 0x0010, // Kakariko Village - Bow and arrow game: shoot target using Hawkeye
+T_0009 = 0x0008, // Ordon Village - Walked a bit during Uli's pick-up tutorial
+T_0010 = 0x0004, // General use - General use temporary flag (flow control) A
+T_0011 = 0x0002, // General use - General use temporary flag (flow control) B
+T_0012 = 0x0001, // General use - General use temporary flag (flow control) C
+T_0013 = 0x0180, // General use - General use temporary flag (flow control) D
+T_0014 = 0x0140, // General use - General use temporary flag (flow control) E
+T_0015 = 0x0120, // Ordon Village - Link came up the hill afte being called by Jaggle
+T_0016 = 0x0110, // Ordon Village - Scold Beth, Talo during sword tutorial
+T_0017 = 0x0108, // Ordon Village - Goat herding - first one entered the hut
+T_0018 = 0x0104, // Ordon Village - Goat herding - time is almost up
+T_0019 = 0x0102, // Ordon Village - Goat herding - time's up
+T_0020 = 0x0101, // Ordon Village - Goat herding - ON from `time's up` until `restart`
+T_0021 = 0x0280, // Ordon Village - Colin follows to Link's house
+T_0022 = 0x0240, // Ordon Village - Uli - carrying baby basket
+T_0023 = 0x0220, // Ordon Village - Called Talo, Colin right after sword game
+T_0024 = 0x0210, // Ordon Village - To sword tutorial
+T_0025 = 0x0208, // Ordon Village - Get on table (Pergie gets mad)
+T_0026 = 0x0204, // Ordon Village - Destroy pumpkin near Jaggle (Jaggle gets angry)
+T_0027 = 0x0202, // Ordon Village - Rampaging goats complete
+T_0028 = 0x0201, // Ordon Village - Right after rampaging goats
+T_0029 = 0x0380, // Ordon Village - Succeed at taking Rusl's sword
+T_0030 = 0x0340, // Ordon Village - Rusl, Press button to "take"
+T_0031 = 0x0320, // Ordon Village - Borrow Rusl's sword
+T_0032 = 0x0310, // Ordon Village - Return Rusl's sword
+T_0033 = 0x0308, // Ordon Village - Press A and ↑ during rampaging goat game
+T_0034 = 0x0304, // Ordon Village - Rusl sword failure count 1
+T_0035 = 0x0302, // Ordon Village - Rusl sword failure count 2
+T_0036 = 0x0301, // Ordon Village - Rusl sword failure count 3
+T_0041 = 0x0420, // Faron Woods - Only ON when Coro is sleeping
+T_0042 = 0x0410, // Unused - Spoke to Coro at night without lantern
+T_0043 = 0x0408, // Unused - N/A
+T_0044 = 0x0404, // Ordon Village - For sword tutorial end cutscene
+T_0045 = 0x0402, // Death Mountain - Twilight - Talked with Goron C
+T_0046 = 0x0401, // Ordon Village - Wrestling with Bo - Link wins
+T_0047 = 0x0580, // Ordon Village - Right after wrestling with Bo (Used to connect with conversation after wearing clothes)
+T_0048 = 0x0540, // Ordon Village - Wrestling with Bo - Link loses
+T_0049 = 0x0520, // Sacred Grove - During giant game
+T_0050 = 0x0510, // Death Mountain - Heard spring goron D and shopkeeper goron's conversation (before match)
+T_0051 = 0x0508, // General use - General use temporary flag (flow control) F
+T_0052 = 0x0504, // General use - General use temporary flag (flow control) G
+T_0053 = 0x0502, // General use - General use temporary flag (flow control) H
+T_0054 = 0x0501, // General use - General use temporary flag (flow control) I
+T_0055 = 0x0680, // General use - General use temporary flag (flow control) J
+T_0056 = 0x0640, // Faron Woods - Stopped by Midna when trying to enter the world of light
+T_0057 = 0x0620, // Kakariko Village (inside) - Barnes bomb shop <purchase>
+T_0059 = 0x0608, // Kakariko Village (inside) - Luda and Beth both taking Colin's food
+T_0060 = 0x0604, // Kakariko Village - During bow and arrow game
+T_0061 = 0x0602, // N/A - Joust revenge complete (restart carriage guarding mission)
+T_0062 = 0x0601, // N/A - Cutscene right before carriage guarding mission (reunion with Ilia)
+T_0063 = 0x0780, // Kakariko Village - [Bow and arrow game] Missed the final target!
+T_0064 = 0x0740, // Kakariko Village - [Bow and arrow game] Attempting to hit target...
+T_0065 = 0x0720, // Kakariko Village - [Bow and arrow game] Destroy first one with Clawshot
+T_0066 = 0x0710, // Kakariko Village - [Bow and arrow game] Restart from the middle
+T_0067 = 0x0708, // Zora's River - [Iza's river descent] Get in boat
+T_0068 = 0x0704, // Lake Hylia - [Water bomb shop] choose to buy 10
+T_0069 = 0x0702, // Lake Hylia - [Water bomb shop] choose to buy 15
+T_0070 = 0x0701, // Zora's River - [Iza's river descent] Helping to destroy rubble in boat hut
+T_0071 = 0x0880, // Ordon Village - Night, fail to take Rusl's sword (too close OR get hit)
+T_0072 = 0x0840, // Lake Hylia - Knocked down all the cucco in Falbi's hut
+T_0073 = 0x0820, // Sacred Grove - For use in master sword obtaining event
+T_0074 = 0x0810, // Lake Hylia - (After conversation) Resets when Plumm goes off-screen
+T_0075 = 0x0808, // Lake Hylia - Got more points than the set amount during Plumm's attraction
+T_0076 = 0x0804, // Castle Town - Listened to bodyguard goron's complaints
+T_0077 = 0x0802, // Unused - N/A
+T_0078 = 0x0801, // Castle Town - Star Game: Collected all the spheres
+T_0079 = 0x0980, // Castle Town - Star Game: New personal best
+T_0080 = 0x0940, // Kakariko Village - Put money in fundraiser box
+T_0081 = 0x0920, // Kakariko Village - For use in fundraiser event completion cutscene
+T_0082 = 0x0910, // Castle Town - Threw water on spring goron
+T_0083 = 0x0908, // LV5 Dungeon - Speak with Yeta at top of mountain as wolf after clearing Snowpeak Ruins
+T_0084 = 0x0904, // Snowpeak mountain - Racing with Yeto
+T_0085 = 0x0902, // Snowpeak mountain - Racing with Yeta
+T_0086 = 0x0901, // Snowpeak mountain - Won race against Yeto/Yeta
+T_0087 = 0x0a80, // Castle Town - Used by child A,B (both) inside Malo Mart
+T_0088 = 0x0a40, // N/A - ON only with mini-boss is down (resets when they get up)
+T_0089 = 0x0a20, // Ordon Village - Epona is in the middle of ordon village (used by Bo first day)
+T_0090 = 0x0a10, // Ordon Ranch - Epona is at the range (used in goat herding game)
+T_0091 = 0x0a08, // Ordon Ranch - Goat herding in second half (for day 1 check)
+T_0092 = 0x0a04, // Hero's spirit - Gold wolf identification 2
+T_0093 = 0x0a02, // Hero's spirit - Gold wolf identification 3
+T_0094 = 0x0a01, // Hero's spirit - Gold wolf identification 4
+T_0095 = 0x0b80, // Hero's spirit - Gold wolf identification 5
+T_0096 = 0x0b40, // Hero's spirit - Gold wolf identification 6
+T_0097 = 0x0b20, // Hero's spirit - Gold wolf identification 7
+T_0098 = 0x0b10, // Unused - N/A
+T_0099 = 0x0b08, // Unused - N/A
+T_0100 = 0x0b04, // Ordon Village - cutscene at start of 2nd day, start focus on kids Flags
+T_0107 = 0x0b02, // Castle Town - (Event control) Jpn04-1063:Louise Use (1)
+T_0108 = 0x0b01, // Castle Town - (Event control) Jpn04-1063:Louise Use (2)
+T_0109 = 0x0c80, // Castle Town - (Event control) Jpn04-1063:Louise Use (3)
+T_0110 = 0x0c40, // Castle Town - (Event control) Jpn04-1063:Louise Use (4)
+T_0111 = 0x0c20, // Castle Town - (Event control) Jpn04-1063:Louise Use (5)
+T_0112 = 0x0c10, // Castle Town - (Event control) Jpn04-1063:Louise Use (6)
+T_0113 = 0x0c08, // Castle Town - (Event control) Jpn04-1063:Louise Use (7)
+T_0119 = 0x0d80, // Fishing Pond - After cheating in Roll goal game
+T_0120 = 0x0d40, // Fishing Pond - Fished something with Hena's guidance
+T_0121 = 0x0d20, // Program use - Fairy use 1
+T_0122 = 0x0d10, // Program use - Fairy use 2
+T_0123 = 0x0d08, // Program use - Fairy use 3
+T_0124 = 0x0d04, // Program use - Fairy use 4
+T_0125 = 0x0e20, // Unused - N/A
+T_0175 = 0x1480, // Ordon Ranch - 1st day: Start Fado's goat herding
+T_0176 = 0x1440, // Ordon Ranch - 1st day: Finish Fado's goat herding
+T_0177 = 0x1420, // Ordon Ranch - 1st day: Asked to jump gate by Fado
+T_0178 = 0x1410, // Ordon Ranch - 1st day: Spoke with Fado while jumping over gate
+T_0179 = 0x1408, // Ordon Ranch - 3rd day - Goat herding START
+T_0180 = 0x1404, // Ordon Ranch - 3rd day - Goat herding END
+T_0181 = 0x1402, // Ordon Ranch - Started Goat herding Ⅱ
+T_0182 = 0x1401, // Ordon Ranch - Finished Goat herding Ⅱ
+T_0183 = 0x1580, // Unused - N/A
+T_058 = 0x0610, // Kakariko Village (inside) - Conversation with Renado while he is watching over Colin
+TEMP_0038 = 0x0480, // Ordon Village - Temporary flag for Hanch the Hawker cutscene
+TEMP_0040 = 0x0440, // Unused - N/A
+TREG_000 = 0xfbff, // Ordon Village - Used in conversation with Pergie
+WXXTO = 0x0c04, // Hyrule Castle - Resistance leaves Flag
+YKM_ATTN = 0x0d02, // Snowpeak Mountain - Player focus while Yeto waits for snowboard race
+YKM_TALK = 0x0d01, // Snowpeak Mountain - Yeto talks to Yeta
+YKW_ATTN = 0x0e40, // Snowpeak Mountain - Player focus while Yeta waits for snowboard race
+YKW_TALK = 0x0e80, // Snowpeak Mountain - Yeta talks to Yeto
+UNUSED = 0xffff, // Unused - Unused? This was the only flag not in the debug table \ No newline at end of file