From e4283f3ea1031394e3e55635bf88600832614fb7 Mon Sep 17 00:00:00 2001 From: HailSanta <53960937+HailSanta@users.noreply.github.com> Date: Mon, 12 Dec 2022 07:31:29 -0500 Subject: [PATCH] area_mac (#884) * mac_00 match * mac_00 cleanup pass * enough mac_00 cleanup * mac_01 match * cleanup pass 1 * first pass done * more * unkfoldfunc dedupe * quick * mockup * new splat segment * git subrepo pull --force tools/splat subrepo: subdir: "tools/splat" merged: "b2d7b86185" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "b2d7b86185" git-subrepo: version: "0.4.5" origin: "https://github.com/ingydotnet/git-subrepo" commit: "aa416e4" * fix custom segment * git subrepo pull --force tools/splat subrepo: subdir: "tools/splat" merged: "0f66e7552a" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "0f66e7552a" git-subrepo: version: "0.4.5" origin: "https://github.com/ingydotnet/git-subrepo" commit: "aa416e4" * common vtx * victory * checkpoint * remove map-specific subaligns * enough * quick fixes Co-authored-by: HailSanta Co-authored-by: Ethan Roseman --- include/enums.h | 44 +- include/functions.h | 2 +- include/model.h | 2 +- include/script_api/common.h | 3 + include/script_api/map.h | 2 + src/77480.c | 2 +- src/8a860_len_3f30.c | 30 +- src/C50A0.c | 63 +- src/E20110.c | 2 +- src/a5dd0_len_114e0.c | 14 +- src/battle/area_hos/stage/hos_01.c | 60 +- src/evt/map_api.c | 14 +- src/world/area_dro/dro_01/dro_01.h | 1 - src/world/area_dro/dro_02/dro_02.h | 2 +- src/world/area_dro/dro_02/dro_02_5_npc.c | 11 +- .../dro_02/dro_02_toad_house_blanket_anim.c | 118 - .../dro_02_toad_house_blanket_skeleton.c | 128 - src/world/area_dro/dro_02/npc_moustafa.c | 2 +- .../area_end/end_01/end_01_4_opera_float.c | 4 +- src/world/area_flo/flo_14/flo_14_3_bubbles.c | 20 +- src/world/area_flo/flo_17/flo_17_5_entity.c | 2 +- src/world/area_hos/hos_02/A16220.c | 16 +- src/world/area_hos/hos_03/A1B130.c | 12 +- src/world/area_iwa/iwa_01/iwa_01_3_splash.c | 4 +- src/world/area_jan/jan_00/jan_00_4_whale.c | 12 +- src/world/area_kgr/kgr_01/kgr_01_2_wiggle.c | 10 +- src/world/area_kkj/kkj_25/B06D10.c | 94 +- src/world/area_kmr/kmr_03/kmr_03_3_npc.c | 4 +- src/world/area_kmr/kmr_30/kmr_30_3_the_end.c | 12 +- src/world/area_kzn/kzn_06/kzn_06_1_main.c | 2 + src/world/area_mac/mac.h | 87 + src/world/area_mac/mac_00/7EAD10.c | 25 - src/world/area_mac/mac_00/7EB340.c | 200 -- src/world/area_mac/mac_00/7ED280.c | 62 - src/world/area_mac/mac_00/mac_00.h | 83 +- src/world/area_mac/mac_00/mac_00_0_header.c | 20 + .../area_mac/mac_00/mac_00_10_shared_npc.c | 717 +++++ .../area_mac/mac_00/mac_00_11_intro_npc.c | 135 + src/world/area_mac/mac_00/mac_00_12_intro.c | 92 + .../area_mac/mac_00/mac_00_13_epilogue_npc.c | 462 +++ .../area_mac/mac_00/mac_00_14_epilogue.c | 93 + src/world/area_mac/mac_00/mac_00_1_music.c | 25 + src/world/area_mac/mac_00/mac_00_2_main.c | 128 + src/world/area_mac/mac_00/mac_00_3_entity.c | 19 + src/world/area_mac/mac_00/mac_00_4_rooms.c | 240 ++ src/world/area_mac/mac_00/mac_00_5_npc.c | 496 ++++ src/world/area_mac/mac_00/mac_00_6_shop.c | 83 + .../area_mac/mac_00/mac_00_7_music_mix.c | 34 + src/world/area_mac/mac_00/mac_00_8_demo.c | 117 + .../mac_00/{7ECFD0.c => mac_00_9_water_gfx.c} | 23 +- .../area_mac/mac_00/npc/dojo_members.inc.c | 335 +++ .../area_mac/mac_00/npc/russ_and_thief.inc.c | 385 +++ .../area_mac/mac_00/npc/trading_toad.inc.c | 62 + .../mac_00/npc/waterfront_family.inc.c | 226 ++ src/world/area_mac/mac_01/800880.c | 26 - src/world/area_mac/mac_01/801700.c | 33 - src/world/area_mac/mac_01/8017D0.c | 699 ----- src/world/area_mac/mac_01/805DD0.c | 11 - src/world/area_mac/mac_01/806D10.c | 4 - src/world/area_mac/mac_01/mac_01.h | 131 +- src/world/area_mac/mac_01/mac_01_0_header.c | 18 + .../area_mac/mac_01/mac_01_10_intro_npc.c | 68 + .../area_mac/mac_01/mac_01_11_epilogue_npc.c | 461 +++ src/world/area_mac/mac_01/mac_01_12_intro.c | 63 + src/world/area_mac/mac_01/mac_01_13_foliage.c | 72 + src/world/area_mac/mac_01/mac_01_1_music.c | 48 + src/world/area_mac/mac_01/mac_01_2_main.c | 189 ++ src/world/area_mac/mac_01/mac_01_3_entity.c | 19 + src/world/area_mac/mac_01/mac_01_4_rooms.c | 253 ++ src/world/area_mac/mac_01/mac_01_5_shop.c | 251 ++ .../{800C40.c => mac_01_6_crystal_ball_gfx.c} | 25 +- src/world/area_mac/mac_01/mac_01_7_bulletin.c | 115 + .../area_mac/mac_01/mac_01_8_music_mix.c | 47 + src/world/area_mac/mac_01/mac_01_9_npc.c | 2486 +++++++++++++++++ .../area_mac/mac_01/npc/flower_gate.inc.c | 787 ++++++ .../area_mac/mac_01/npc/post_office.inc.c | 477 ++++ .../area_mac/mac_01/npc/read_fortune.inc.c | 493 ++++ .../area_mac/mac_01/npc/rowf_and_rhuff.inc.c | 758 +++++ src/world/area_mac/mac_04/mac_04_5_shop.c | 2 +- src/world/area_mac/mac_04/mac_04_6_npc.c | 4 +- src/world/area_mac/mac_04/npc_twink.inc.c | 2 +- src/world/area_mac/mac_05/mac_05_4_npc.c | 81 +- src/world/area_mac/mac_05/mac_05_5_whale.c | 12 +- .../area_mac/mac_05/mac_05_7_club64_sign.c | 108 +- src/world/area_mac/mac_06/mac_06_2_whale.c | 12 +- src/world/area_mim/mim_04/mim_04_4_hint.c | 4 +- src/world/area_mim/mim_07/mim_07_4_hint.c | 4 +- src/world/area_obk/obk_08/BD3870.c | 92 +- src/world/area_sbk/sbk_02/sbk_02_4_npc.c | 6 +- src/world/area_sbk/sbk_30/sbk_30_2_main.c | 2 + src/world/area_sbk/sbk_30/sbk_30_3_npc.c | 2 +- src/world/area_trd/trd_06/trd_06_1_main.c | 2 + src/world/area_tst/tst_13/tst_13_1_main.c | 4 +- src/world/common/atomic/ToadHouse.data.inc.c | 2 +- src/world/common/atomic/WhaleAnim.inc.c | 8 +- .../common/complete/KnockDownPlayer.inc.c | 140 + .../common/complete/LetterDelivery.inc.c | 2 +- .../common/complete/NormalItemChoice.inc.c | 4 +- src/world/common/complete/Quizmo.inc.c | 2 + .../complete/ToadHouseBlanketAnim.inc.c | 250 ++ src/world/common/enemy/complete/ShyGuy.h | 29 + .../common/enemy/complete/ShyGuy_NoAI.inc.c | 10 + src/world/common/npc/Bobomb.h | 29 + src/world/common/npc/Bobomb.inc.c | 10 + src/world/common/npc/GoombaFamily.h | 54 + src/world/common/npc/GoombaFamily.inc.c | 2 +- src/world/common/npc/KoloradoWife.h | 29 + src/world/common/npc/KoloradoWife.inc.c | 8 + src/world/common/npc/Koopa.h | 29 + src/world/common/npc/Koopa.inc.c | 9 + src/world/common/npc/KoopaKoot.h | 29 + src/world/common/npc/KoopaKoot.inc.c | 8 + src/world/common/npc/Luigi.h | 29 + src/world/common/npc/Luigi.inc.c | 7 + src/world/common/todo/UnkFoldFunc.inc.c | 51 - src/world/common/todo/UnkMachiFunc.inc.c | 15 - src/world/common/todo/UnkPositionFunc.inc.c | 22 - .../util/CheckPositionRelativeToPlane.inc.c | 57 + .../dead/area_flo/flo_14/flo_14_3_bubbles.c | 30 +- .../dead/area_flo/flo_17/flo_17_5_entity.c | 2 +- src/world/partners.c | 2 +- src/world/script_api/7E0E80.c | 2 +- src/world/script_api/7E2AA0.c | 2 +- src/world/script_api/7E4690.c | 2 +- src/world/world.c | 5 +- tools/build/configure.py | 16 +- tools/splat/.gitrepo | 4 +- tools/splat/CHANGELOG.md | 7 + tools/splat/segtypes/n64/gfx.py | 47 +- tools/splat/segtypes/n64/vtx.py | 17 +- tools/splat/split.py | 2 +- tools/splat_ext/gfx_common.py | 5 + tools/splat_ext/msg.yaml | 4 +- tools/splat_ext/vtx_common.py | 5 + .../data/world/area_kpa/kpa_81/A789F0.data.s | 4 +- .../data/world/area_kpa/kpa_82/A7AA10.data.s | 4 +- .../data/world/area_kpa/kpa_83/A835D0.data.s | 4 +- .../data/world/area_mac/mac_00/7EE870.data.s | 111 - .../data/world/area_mac/mac_00/7F0A20.data.s | 294 -- .../data/world/area_mac/mac_00/7F8F20.data.s | 21 - .../data/world/area_mac/mac_00/7F9100.data.s | 9 - .../data/world/area_mac/mac_00/7F91D0.data.s | 9 - .../data/world/area_mac/mac_00/7F9800.data.s | 6 - .../data/world/area_mac/mac_00/7F9850.data.s | 129 - .../data/world/area_mac/mac_00/7FD1A0.data.s | 33 - .../data/world/area_mac/mac_00/7FDF30.data.s | 9 - .../data/world/area_mac/mac_00/7FE550.data.s | 117 - .../data/world/area_mac/mac_00/8000B0.data.s | 9 - .../data/world/area_mac/mac_01/806F50.data.s | 36 - .../data/world/area_mac/mac_01/807C00.data.s | 48 - .../data/world/area_mac/mac_01/808680.data.s | 24 - .../data/world/area_mac/mac_01/808D70.data.s | 27 - .../data/world/area_mac/mac_01/8091F0.data.s | 642 ----- .../data/world/area_mac/mac_01/8202D0.data.s | 138 - .../data/world/area_mac/mac_01/822100.data.s | 6 - .../data/world/area_mac/mac_01/822460.data.s | 42 - .../data/world/area_obk/obk_08/BD50D0.data.s | 4 +- .../data/world/area_pra/pra_01/D4E500.data.s | 6 +- .../data/world/area_pra/pra_02/D51720.data.s | 18 +- .../data/world/area_pra/pra_13/D65C70.data.s | 6 +- .../data/world/area_pra/pra_16/D6AAF0.data.s | 10 +- .../data/world/area_pra/pra_18/D6C5F0.data.s | 8 +- .../data/world/area_pra/pra_19/D70400.data.s | 4 +- .../data/world/area_pra/pra_20/D77390.data.s | 10 +- .../data/world/area_pra/pra_21/D780E0.data.s | 4 +- .../data/world/area_pra/pra_22/D78BF0.data.s | 4 +- .../data/world/area_pra/pra_27/D7AC90.data.s | 4 +- .../data/world/area_pra/pra_28/D7C540.data.s | 4 +- .../data/world/area_pra/pra_29/D7DE90.data.s | 10 +- .../data/world/area_pra/pra_31/D80E20.data.s | 8 +- .../data/world/area_pra/pra_32/D87240.data.s | 4 +- .../data/world/area_pra/pra_33/D8A820.data.s | 6 +- .../data/world/area_pra/pra_34/D8C470.data.s | 10 +- .../data/world/area_pra/pra_35/D8FF10.data.s | 6 +- .../asm/data/world/script_api/7E4EF0.data.s | 20 +- .../mac_00/7EB340/func_802418F0_7EC600.s | 28 - .../mac_00/7ED280/func_80243744_7EE454.s | 28 - .../mac_01/800880/func_802400C8_800948.s | 204 -- .../mac_01/8017D0/func_80243CD4_804554.s | 28 - .../mac_05/852170/func_80242A90_854C00.s | 141 - .../mac_05/855F20/func_80243DB0_855F20.s | 108 - ver/us/splat.yaml | 91 +- ver/us/symbol_addrs.txt | 161 +- 183 files changed, 11970 insertions(+), 4386 deletions(-) delete mode 100644 src/world/area_dro/dro_02/dro_02_toad_house_blanket_anim.c delete mode 100644 src/world/area_dro/dro_02/dro_02_toad_house_blanket_skeleton.c delete mode 100644 src/world/area_mac/mac_00/7EAD10.c delete mode 100644 src/world/area_mac/mac_00/7EB340.c delete mode 100644 src/world/area_mac/mac_00/7ED280.c create mode 100644 src/world/area_mac/mac_00/mac_00_0_header.c create mode 100644 src/world/area_mac/mac_00/mac_00_10_shared_npc.c create mode 100644 src/world/area_mac/mac_00/mac_00_11_intro_npc.c create mode 100644 src/world/area_mac/mac_00/mac_00_12_intro.c create mode 100644 src/world/area_mac/mac_00/mac_00_13_epilogue_npc.c create mode 100644 src/world/area_mac/mac_00/mac_00_14_epilogue.c create mode 100644 src/world/area_mac/mac_00/mac_00_1_music.c create mode 100644 src/world/area_mac/mac_00/mac_00_2_main.c create mode 100644 src/world/area_mac/mac_00/mac_00_3_entity.c create mode 100644 src/world/area_mac/mac_00/mac_00_4_rooms.c create mode 100644 src/world/area_mac/mac_00/mac_00_5_npc.c create mode 100644 src/world/area_mac/mac_00/mac_00_6_shop.c create mode 100644 src/world/area_mac/mac_00/mac_00_7_music_mix.c create mode 100644 src/world/area_mac/mac_00/mac_00_8_demo.c rename src/world/area_mac/mac_00/{7ECFD0.c => mac_00_9_water_gfx.c} (58%) create mode 100644 src/world/area_mac/mac_00/npc/dojo_members.inc.c create mode 100644 src/world/area_mac/mac_00/npc/russ_and_thief.inc.c create mode 100644 src/world/area_mac/mac_00/npc/trading_toad.inc.c create mode 100644 src/world/area_mac/mac_00/npc/waterfront_family.inc.c delete mode 100644 src/world/area_mac/mac_01/800880.c delete mode 100644 src/world/area_mac/mac_01/801700.c delete mode 100644 src/world/area_mac/mac_01/8017D0.c delete mode 100644 src/world/area_mac/mac_01/805DD0.c delete mode 100644 src/world/area_mac/mac_01/806D10.c create mode 100644 src/world/area_mac/mac_01/mac_01_0_header.c create mode 100644 src/world/area_mac/mac_01/mac_01_10_intro_npc.c create mode 100644 src/world/area_mac/mac_01/mac_01_11_epilogue_npc.c create mode 100644 src/world/area_mac/mac_01/mac_01_12_intro.c create mode 100644 src/world/area_mac/mac_01/mac_01_13_foliage.c create mode 100644 src/world/area_mac/mac_01/mac_01_1_music.c create mode 100644 src/world/area_mac/mac_01/mac_01_2_main.c create mode 100644 src/world/area_mac/mac_01/mac_01_3_entity.c create mode 100644 src/world/area_mac/mac_01/mac_01_4_rooms.c create mode 100644 src/world/area_mac/mac_01/mac_01_5_shop.c rename src/world/area_mac/mac_01/{800C40.c => mac_01_6_crystal_ball_gfx.c} (84%) create mode 100644 src/world/area_mac/mac_01/mac_01_7_bulletin.c create mode 100644 src/world/area_mac/mac_01/mac_01_8_music_mix.c create mode 100644 src/world/area_mac/mac_01/mac_01_9_npc.c create mode 100644 src/world/area_mac/mac_01/npc/flower_gate.inc.c create mode 100644 src/world/area_mac/mac_01/npc/post_office.inc.c create mode 100644 src/world/area_mac/mac_01/npc/read_fortune.inc.c create mode 100644 src/world/area_mac/mac_01/npc/rowf_and_rhuff.inc.c create mode 100644 src/world/common/complete/KnockDownPlayer.inc.c create mode 100644 src/world/common/complete/ToadHouseBlanketAnim.inc.c create mode 100644 src/world/common/enemy/complete/ShyGuy.h create mode 100644 src/world/common/enemy/complete/ShyGuy_NoAI.inc.c create mode 100644 src/world/common/npc/Bobomb.h create mode 100644 src/world/common/npc/Bobomb.inc.c create mode 100644 src/world/common/npc/KoloradoWife.h create mode 100644 src/world/common/npc/KoloradoWife.inc.c create mode 100644 src/world/common/npc/Koopa.h create mode 100644 src/world/common/npc/Koopa.inc.c create mode 100644 src/world/common/npc/KoopaKoot.h create mode 100644 src/world/common/npc/KoopaKoot.inc.c create mode 100644 src/world/common/npc/Luigi.h create mode 100644 src/world/common/npc/Luigi.inc.c delete mode 100644 src/world/common/todo/UnkFoldFunc.inc.c delete mode 100644 src/world/common/todo/UnkMachiFunc.inc.c delete mode 100644 src/world/common/todo/UnkPositionFunc.inc.c create mode 100644 src/world/common/util/CheckPositionRelativeToPlane.inc.c create mode 100644 tools/splat_ext/gfx_common.py create mode 100644 tools/splat_ext/vtx_common.py delete mode 100644 ver/us/asm/data/world/area_mac/mac_00/7EE870.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_00/7F0A20.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_00/7F8F20.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_00/7F9100.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_00/7F91D0.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_00/7F9800.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_00/7F9850.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_00/7FD1A0.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_00/7FDF30.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_00/7FE550.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_00/8000B0.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_01/806F50.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_01/807C00.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_01/808680.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_01/808D70.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_01/8091F0.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_01/8202D0.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_01/822100.data.s delete mode 100644 ver/us/asm/data/world/area_mac/mac_01/822460.data.s delete mode 100644 ver/us/asm/nonmatchings/world/area_mac/mac_00/7EB340/func_802418F0_7EC600.s delete mode 100644 ver/us/asm/nonmatchings/world/area_mac/mac_00/7ED280/func_80243744_7EE454.s delete mode 100644 ver/us/asm/nonmatchings/world/area_mac/mac_01/800880/func_802400C8_800948.s delete mode 100644 ver/us/asm/nonmatchings/world/area_mac/mac_01/8017D0/func_80243CD4_804554.s delete mode 100644 ver/us/asm/nonmatchings/world/area_mac/mac_05/852170/func_80242A90_854C00.s delete mode 100644 ver/us/asm/nonmatchings/world/area_mac/mac_05/855F20/func_80243DB0_855F20.s diff --git a/include/enums.h b/include/enums.h index 3544489bda..836e9d4ef2 100644 --- a/include/enums.h +++ b/include/enums.h @@ -1664,7 +1664,7 @@ enum ItemIDs { ITEM_LETTER06 = 0x0000003B, ITEM_LETTER07 = 0x0000003C, ITEM_LETTER08 = 0x0000003D, - ITEM_LETTER09 = 0x0000003E, + ITEM_LETTER_TO_MINHT = 0x0000003E, ITEM_UNUSED_LETTER02 = 0x0000003F, ITEM_LETTER10 = 0x00000040, ITEM_LETTER11 = 0x00000041, @@ -3067,7 +3067,7 @@ enum ItemEntityFlags { ITEM_ENTITY_FLAGS_CAM2 = 0x00000004, ITEM_ENTITY_FLAGS_CAM3 = 0x00000008, ITEM_ENTITY_FLAGS_10 = 0x00000010, - ITEM_ENTITY_FLAGS_40 = 0x00000040, + ITEM_ENTITY_FLAGS_HIDDEN = 0x00000040, // do not render; player cant pickup ITEM_ENTITY_FLAGS_80 = 0x00000080, ITEM_ENTITY_FLAGS_100 = 0x00000100, ITEM_ENTITY_FLAGS_NEVER_VANISH = 0x00000200, @@ -3430,7 +3430,7 @@ enum PopupType { POPUP_MENU_READ_DIARY_PAGE = 0xA, POPUP_MENU_READ_POSTCARD = 0xB, POPUP_MENU_USEKEY = 0xC, - POPUP_MENU_D = 0xD, + POPUP_MENU_POST_OFFICE = 0xD, }; /// not really @@ -4314,6 +4314,44 @@ enum TexPanner { TEX_PANNER_AUX = 1, }; +enum CustomGfxUnit { + CUSTOM_GFX_0 = 0x00, + CUSTOM_GFX_1 = 0x01, + CUSTOM_GFX_2 = 0x02, + CUSTOM_GFX_3 = 0x03, + CUSTOM_GFX_4 = 0x04, + CUSTOM_GFX_5 = 0x05, + CUSTOM_GFX_6 = 0x06, + CUSTOM_GFX_7 = 0x07, + CUSTOM_GFX_8 = 0x08, + CUSTOM_GFX_9 = 0x09, + CUSTOM_GFX_A = 0x0A, + CUSTOM_GFX_B = 0x0B, + CUSTOM_GFX_C = 0x0C, + CUSTOM_GFX_D = 0x0D, + CUSTOM_GFX_E = 0x0E, + CUSTOM_GFX_F = 0x0F, +}; + +enum CopiedVtxUnit { + VTX_COPY_0 = 0x0, + VTX_COPY_1 = 0x1, + VTX_COPY_2 = 0x2, + VTX_COPY_3 = 0x3, + VTX_COPY_4 = 0x4, + VTX_COPY_5 = 0x5, + VTX_COPY_6 = 0x6, + VTX_COPY_7 = 0x7, + VTX_COPY_8 = 0x8, + VTX_COPY_9 = 0x9, + VTX_COPY_A = 0xA, + VTX_COPY_B = 0xB, + VTX_COPY_C = 0xC, + VTX_COPY_D = 0xD, + VTX_COPY_E = 0xE, + VTX_COPY_F = 0xF, +}; + enum EnemyFlags { ENEMY_FLAGS_1 = 0x00000001, ENEMY_FLAGS_2 = 0x00000002, diff --git a/include/functions.h b/include/functions.h index e50f498471..96030128d5 100644 --- a/include/functions.h +++ b/include/functions.h @@ -1046,7 +1046,7 @@ void load_tattle_flags(s32); s32 use_consumable(s32 invSlot); void remove_consumable(void); void delete_shadow(s32); -void repartner_set_tether_distance(void); +void partner_reset_tether_distance(void); void save_tattle_flags(s32); void update_merlee_messages(void); void draw_merlee_messages(void); diff --git a/include/model.h b/include/model.h index 2a1bf8d4b6..68124bc275 100644 --- a/include/model.h +++ b/include/model.h @@ -94,7 +94,7 @@ typedef struct ModelLocalVertexCopy { /* 0x18 */ s32 selector; } ModelLocalVertexCopy; // size = 0x1C -typedef ModelLocalVertexCopy* ModelLocalVertexCopyList[0]; +typedef ModelLocalVertexCopy* ModelLocalVertexCopyList[16]; typedef struct ModelTreeInfo { /* 0x00 */ u8 modelIndex; diff --git a/include/script_api/common.h b/include/script_api/common.h index 7467f0527b..c7b72b0317 100644 --- a/include/script_api/common.h +++ b/include/script_api/common.h @@ -184,6 +184,7 @@ ApiStatus SetPlayerJumpscale(Evt* script, s32 isInitialCall); ApiStatus SetPlayerAnimation(Evt* script, s32 isInitialCall); ApiStatus SetPlayerActionState(Evt* script, s32 isInitialCall); ApiStatus PlayerMoveTo(Evt* script, s32 isInitialCall); +ApiStatus func_802D1270(Evt* script, s32 isInitialCall); ApiStatus PlayerJump(Evt* script, s32 isInitialCall); ApiStatus PlayerJump1(Evt* script, s32 isInitialCall); ApiStatus PlayerJump2(Evt* script, s32 isInitialCall); @@ -234,6 +235,7 @@ ApiStatus FadeOutMusic(Evt* script, s32 isInitialCall); ApiStatus SetMusicTrack(Evt* script, s32 isInitialCall); ApiStatus FadeInMusic(Evt* script, s32 isInitialCall); ApiStatus EnableMusicProximityMix(Evt* script, s32 isInitialCall); +ApiStatus AdjustMusicProximityMix(Evt* script, s32 isInitialCall); ApiStatus SetMusicTrackVolumes(Evt* script, s32 isInitialCall); ApiStatus ClearAmbientSounds(Evt* script, s32 isInitialCall); ApiStatus PlayAmbientSounds(Evt* script, s32 isInitialCall); @@ -242,6 +244,7 @@ ApiStatus PlaySoundWithVolume(Evt* script, s32 isInitialCall); ApiStatus PlaySoundAt(Evt* script, s32 isInitialCall); ApiStatus StopSound(Evt* script, s32 isInitialCall); ApiStatus UseDoorSounds(Evt* script, s32 isInitialCall); +ApiStatus UseAdvancedDoorSounds(Evt* script, s32 isInitialCall); ApiStatus PlaySoundAtF(Evt* script, s32 isInitialCall); ApiStatus RemoveKeyItemAt(Evt* script, s32 isInitialCall); ApiStatus RemoveItemAt(Evt* script, s32 isInitialCall); diff --git a/include/script_api/map.h b/include/script_api/map.h index fd26fc6eeb..c1fba502d4 100644 --- a/include/script_api/map.h +++ b/include/script_api/map.h @@ -32,6 +32,8 @@ extern EvtScript ExitDoubleDoor; extern EvtScript EnterDoubleDoor; extern EvtScript ExitSplitDoubleDoor; extern EvtScript EnterSplitDoubleDoor; +extern EvtScript BaseExitDoor; +extern EvtScript BaseEnterDoor; extern EvtScript EnterPostPipe; #endif diff --git a/src/77480.c b/src/77480.c index fab0562dc9..2e91183cc5 100644 --- a/src/77480.c +++ b/src/77480.c @@ -1248,7 +1248,7 @@ void check_for_interactables(void) { if (!(playerStatus->animFlags & PA_FLAGS_INTERACT_PROMPT_AVAILABLE)) { func_800EF3D4(0); - repartner_set_tether_distance(); + partner_reset_tether_distance(); return; } diff --git a/src/8a860_len_3f30.c b/src/8a860_len_3f30.c index c0d45f5ee4..1d7d2f0be5 100644 --- a/src/8a860_len_3f30.c +++ b/src/8a860_len_3f30.c @@ -108,7 +108,7 @@ void hide_popup_menu(void) { break; case POPUP_MENU_READ_DIARY_PAGE: case POPUP_MENU_READ_POSTCARD: - case POPUP_MENU_D: + case POPUP_MENU_POST_OFFICE: set_window_update(WINDOW_ID_14, (s32) basic_hidden_window_update); break; } @@ -131,7 +131,7 @@ void hide_popup_menu(void) { break; case POPUP_MENU_READ_DIARY_PAGE: case POPUP_MENU_READ_POSTCARD: - case POPUP_MENU_D: + case POPUP_MENU_POST_OFFICE: set_window_update(WINDOW_ID_14, 2); break; } @@ -217,7 +217,7 @@ void func_800F16CC(void) { break; case POPUP_MENU_READ_DIARY_PAGE: case POPUP_MENU_READ_POSTCARD: - case POPUP_MENU_D: + case POPUP_MENU_POST_OFFICE: set_window_update(WINDOW_ID_14, (s32) basic_window_update); sfx_play_sound(SOUND_1); break; @@ -244,7 +244,7 @@ void func_800F16CC(void) { break; case POPUP_MENU_READ_DIARY_PAGE: case POPUP_MENU_READ_POSTCARD: - case POPUP_MENU_D: + case POPUP_MENU_POST_OFFICE: set_window_update(WINDOW_ID_14, 1); break; } @@ -442,7 +442,7 @@ s32 popup_menu_update(void) { set_window_update(WINDOW_ID_15, WINDOW_UPDATE_SHOW); set_window_update(WINDOW_ID_17, WINDOW_UPDATE_HIDE); break; - case POPUP_MENU_D: + case POPUP_MENU_POST_OFFICE: set_window_properties(WINDOW_ID_14, posX, posY, 0x83, (D_8010D656 * 13) + 0x1A, 0x14, popup_menu_draw_menu_contents, NULL, -1); set_window_properties(WINDOW_ID_17, 0xA, -6, 0x72, 0x10, 0x15, popup_menu_draw_title_contents, NULL, 0xE); set_window_update(WINDOW_ID_15, WINDOW_UPDATE_HIDE); @@ -498,7 +498,7 @@ s32 popup_menu_update(void) { break; case POPUP_MENU_SWITCH_PARTNER: case POPUP_MENU_THROW_AWAY_ITEM: - case POPUP_MENU_D: + case POPUP_MENU_POST_OFFICE: set_window_properties(WINDOW_ID_21, posX, posY, 0x90, 0x28, 0x14, func_800F4944, NULL, -1); break; case POPUP_MENU_TRADE_FOR_BADGE: @@ -538,7 +538,7 @@ s32 popup_menu_update(void) { break; case POPUP_MENU_READ_DIARY_PAGE: case POPUP_MENU_READ_POSTCARD: - case POPUP_MENU_D: + case POPUP_MENU_POST_OFFICE: set_window_update(WINDOW_ID_14, WINDOW_UPDATE_SHOW); break; } @@ -565,7 +565,7 @@ s32 popup_menu_update(void) { break; case POPUP_MENU_READ_DIARY_PAGE: case POPUP_MENU_READ_POSTCARD: - case POPUP_MENU_D: + case POPUP_MENU_POST_OFFICE: set_window_update(WINDOW_ID_14, (s32)basic_window_update); sfx_play_sound(SOUND_1); break; @@ -650,7 +650,7 @@ s32 popup_menu_update(void) { D_8010D640 = -2; } break; - case POPUP_MENU_D: + case POPUP_MENU_POST_OFFICE: sfx_play_sound(SOUND_MENU_NEXT); if (!D_8010D68E) { D_8010D640 = -1; @@ -705,7 +705,7 @@ s32 popup_menu_update(void) { case POPUP_MENU_TAKE_FROM_CHEST: case POPUP_MENU_READ_DIARY_PAGE: case POPUP_MENU_READ_POSTCARD: - case POPUP_MENU_D: + case POPUP_MENU_POST_OFFICE: buttons = BUTTON_B; break; default: @@ -800,7 +800,7 @@ s32 popup_menu_update(void) { break; case POPUP_MENU_READ_DIARY_PAGE: case POPUP_MENU_READ_POSTCARD: - case POPUP_MENU_D: + case POPUP_MENU_POST_OFFICE: set_window_update(WINDOW_ID_14, WINDOW_UPDATE_HIDE); break; } @@ -913,7 +913,7 @@ s32 popup_menu_update(void) { break; case POPUP_MENU_READ_DIARY_PAGE: case POPUP_MENU_READ_POSTCARD: - case POPUP_MENU_D: + case POPUP_MENU_POST_OFFICE: set_window_update(WINDOW_ID_14, WINDOW_UPDATE_HIDE); break; } @@ -989,7 +989,7 @@ s32 popup_menu_update(void) { break; case POPUP_MENU_READ_DIARY_PAGE: case POPUP_MENU_READ_POSTCARD: - case POPUP_MENU_D: + case POPUP_MENU_POST_OFFICE: set_window_update(WINDOW_ID_14, WINDOW_UPDATE_SHOW); break; } @@ -1048,7 +1048,7 @@ void popup_menu_draw_title_contents( break; case POPUP_MENU_SWITCH_PARTNER: case POPUP_MENU_UPGRADE_PARTNER: - case POPUP_MENU_D: + case POPUP_MENU_POST_OFFICE: draw_msg(0x1D003D, baseX + 8, baseY + 2, D_8010D650, MSG_PAL_34, DRAW_MSG_STYLE_MENU); break; } @@ -1105,7 +1105,7 @@ void func_800F4944(s32* userData, s32 baseX, s32 baseY, s32 width, s32 height, s baseX += 72 - (msgWidth / 2); draw_msg(0x1D0067, baseX, baseY, 255, MSG_PAL_0F, 0); break; - case POPUP_MENU_D: + case POPUP_MENU_POST_OFFICE: msgWidth = get_msg_width(0x1D006F, 0); baseX += 72 - (msgWidth / 2); draw_msg(0x1D006F, baseX, baseY - 4, 255, MSG_PAL_0F, 0); diff --git a/src/C50A0.c b/src/C50A0.c index b09402f3e0..5c01df714d 100644 --- a/src/C50A0.c +++ b/src/C50A0.c @@ -700,20 +700,20 @@ ItemEntity* get_item_entity(s32 itemEntityIndex) { return gCurrentItemEntities[itemEntityIndex]; } -void item_entity_disable_shadow(ItemEntity* itemEntity) { +void hide_item_entity(ItemEntity* itemEntity) { Shadow* shadow; - itemEntity->flags |= ITEM_ENTITY_FLAGS_40; + itemEntity->flags |= ITEM_ENTITY_FLAGS_HIDDEN; if (itemEntity->shadowIndex >= 0) { shadow = get_shadow_by_index(itemEntity->shadowIndex); shadow->flags |= ENTITY_FLAGS_HIDDEN; } } -void item_entity_enable_shadow(ItemEntity* itemEntity) { +void reveal_item_entity(ItemEntity* itemEntity) { Shadow* shadow; - itemEntity->flags &= ~ITEM_ENTITY_FLAGS_40; + itemEntity->flags &= ~ITEM_ENTITY_FLAGS_HIDDEN; if (itemEntity->shadowIndex >= 0) { shadow = get_shadow_by_index(itemEntity->shadowIndex); shadow->flags &= ~ENTITY_FLAGS_HIDDEN; @@ -1006,7 +1006,7 @@ s32 make_item_entity(s32 itemID, f32 x, f32 y, f32 z, s32 itemSpawnMode, s32 pic } if (itemEntity->pickupDelay != 0) { - item_entity_disable_shadow(itemEntity); + hide_item_entity(itemEntity); } item_entity_load(itemEntity); @@ -1407,9 +1407,12 @@ void draw_item_entities(void) { for (i = 0; i < MAX_ITEM_ENTITIES; i++) { ItemEntity* itemEntity = gCurrentItemEntities[i]; - if (itemEntity != NULL && itemEntity->flags != 0 && !(itemEntity->flags & ITEM_ENTITY_FLAGS_40) && - (itemEntity->flags & (1 << gCurrentCamID)) && !(itemEntity->flags & ITEM_ENTITY_FLAGS_100000) && - !(itemEntity->renderGroup != -1 && ItemEntityRenderGroup != itemEntity->renderGroup)) + if (itemEntity != NULL + && itemEntity->flags != 0 + && !(itemEntity->flags & ITEM_ENTITY_FLAGS_HIDDEN) + && (itemEntity->flags & (1 << gCurrentCamID)) + && !(itemEntity->flags & ITEM_ENTITY_FLAGS_100000) + && (itemEntity->renderGroup == -1 || ItemEntityRenderGroup == itemEntity->renderGroup)) { if (!(itemEntity->flags & ITEM_ENTITY_FLAGS_TRANSPARENT)) { rtPtr->renderMode = RENDER_MODE_ALPHATEST; @@ -1476,7 +1479,7 @@ void render_item_entities(void) { ItemEntity* item = gCurrentItemEntities[i]; if (item != NULL) { if ((item->flags != 0)) { - if (!(item->flags & ITEM_ENTITY_FLAGS_40)) { + if (!(item->flags & ITEM_ENTITY_FLAGS_HIDDEN)) { if ((item->flags & ITEM_ENTITY_FLAGS_100000)) { if (!(item->flags & ITEM_ENTITY_FLAGS_40000)) { offsetY = -4; @@ -1716,7 +1719,7 @@ s32 test_item_player_collision(ItemEntity* item) { return FALSE; } - if (item->flags & ITEM_ENTITY_FLAGS_40) { + if (item->flags & ITEM_ENTITY_FLAGS_HIDDEN) { return FALSE; } @@ -1840,7 +1843,7 @@ s32 test_item_entity_position(f32 x, f32 y, f32 z, f32 dist) { continue; } - if (item->flags & ITEM_ENTITY_FLAGS_40) { + if (item->flags & ITEM_ENTITY_FLAGS_HIDDEN) { continue; } @@ -1929,7 +1932,7 @@ void update_item_entity_collectable(ItemEntity* item) { switch (item->state) { case 0: - item_entity_enable_shadow(item); + reveal_item_entity(item); physData = heap_malloc(sizeof(*physData)); item->physicsData = physData; ASSERT(physData != NULL); @@ -2359,9 +2362,9 @@ void func_8013559C(ItemEntity* itemEntity) { if (itemEntity->spawnType != ITEM_SPAWN_MODE_TOSS_FADE1) { if (physicsData->unk_1C < 60) { if ((itemEntity->flags & ITEM_ENTITY_FLAGS_200000) || ((gGameStatusPtr->frameCounter + flag) & 1)) { - itemEntity->flags &= ~ITEM_ENTITY_FLAGS_40; + itemEntity->flags &= ~ITEM_ENTITY_FLAGS_HIDDEN; } else { - itemEntity->flags |= ITEM_ENTITY_FLAGS_40; + itemEntity->flags |= ITEM_ENTITY_FLAGS_HIDDEN; } } } else { @@ -2410,7 +2413,7 @@ void update_item_entity_temp(ItemEntity* itemEntity) { gOverrideFlags |= GLOBAL_OVERRIDES_40; set_time_freeze_mode(TIME_FREEZE_FULL); } - item_entity_disable_shadow(itemEntity); + hide_item_entity(itemEntity); itemEntity->state = 1; } @@ -2530,9 +2533,9 @@ block_47: // TODO required to match } if (itemEntity->state == 0xA) { func_801363A0(itemEntity); - set_window_update(0xC, (s32) basic_window_update); - set_window_update(0x11, (s32) basic_window_update); - set_window_update(0x13, (s32) basic_window_update); + set_window_update(WINDOW_ID_12, (s32) basic_window_update); + set_window_update(WINDOW_ID_17, (s32) basic_window_update); + set_window_update(WINDOW_ID_19, (s32) basic_window_update); } increment_status_menu_disabled(); D_801568E4 = 10; @@ -2584,15 +2587,15 @@ block_47: // TODO required to match (itemEntity->flags & ITEM_ENTITY_FLAGS_4000000) || (itemEntity->pickupMsgFlags & 2)) { - itemEntity->flags &= ~ITEM_ENTITY_FLAGS_40; + itemEntity->flags &= ~ITEM_ENTITY_FLAGS_HIDDEN; } } if (D_801568E4 == 6) { func_801363A0(itemEntity); - set_window_update(0xC, (s32) basic_window_update); + set_window_update(WINDOW_ID_12, (s32) basic_window_update); if (itemEntity->itemID != ITEM_STAR_PIECE && itemEntity->itemID != ITEM_COIN) { - set_window_update(0x13, (s32) basic_window_update); + set_window_update(WINDOW_ID_19, (s32) basic_window_update); } } @@ -2604,7 +2607,7 @@ block_47: // TODO required to match if (gGameStatusPtr->pressedButtons[0] & (BUTTON_STICK_RIGHT | BUTTON_STICK_LEFT | BUTTON_STICK_DOWN | BUTTON_STICK_UP | BUTTON_A | BUTTON_B)) { - item_entity_disable_shadow(itemEntity); + hide_item_entity(itemEntity); if (func_800DFCF4() && playerStatus->actionState != ACTION_STATE_USE_SPINNING_FLOWER && !(playerStatus->animFlags & PA_FLAGS_NO_OOB_RESPAWN)) @@ -2615,8 +2618,8 @@ block_47: // TODO required to match if (gItemTable[itemEntity->itemID].typeFlags & ITEM_TYPE_FLAG_GEAR) { D_801568F0->data.gotItemOutline->unk_14 = 0xA; } - set_window_update(0xC, (s32) basic_hidden_window_update); - set_window_update(0x13, (s32) basic_hidden_window_update); + set_window_update(WINDOW_ID_12, (s32) basic_hidden_window_update); + set_window_update(WINDOW_ID_19, (s32) basic_hidden_window_update); itemEntity->state = 3; } break; @@ -2646,10 +2649,10 @@ block_47: // TODO required to match case 5: msgID = 0; if (gItemTable[itemEntity->itemID].typeFlags & ITEM_TYPE_FLAG_CONSUMABLE) { - msgID = 0x1D0002; + msgID = MSG_Menus_Tutorial_GotItem; } if (itemEntity->itemID == ITEM_STAR_PIECE) { - msgID = 0x1D0003; + msgID = MSG_Menus_Tutorial_GotStarPiece; } D_801568F4 = msg_get_printer_for_msg(msgID, &D_801568F8); msg_printer_set_origin_pos(D_801568F4, 0, 0); @@ -2699,8 +2702,8 @@ block_47: // TODO required to match menu->numEntries = numEntries; menu->initialPos = 0; create_popup_menu(menu); - set_window_update(0xC, (s32) basic_hidden_window_update); - set_window_update(0x11, (s32) basic_hidden_window_update); + set_window_update(WINDOW_ID_12, (s32) basic_hidden_window_update); + set_window_update(WINDOW_ID_17, (s32) basic_hidden_window_update); D_801568E4 = 0; itemEntity->state = 0xB; } @@ -2746,14 +2749,14 @@ block_47: // TODO required to match } suggest_player_anim_setUnkFlag(ANIM_Mario_6000C); func_801363A0(itemEntity); - set_window_update(0xC, (s32) basic_window_update); + set_window_update(WINDOW_ID_12, (s32) basic_window_update); D_801568E4 = 50; itemEntity->state = 0xD; } break; case 13: if (gGameStatusPtr->pressedButtons[0] & BUTTON_A) { - set_window_update(0xC, (s32) basic_hidden_window_update); + set_window_update(WINDOW_ID_12, (s32) basic_hidden_window_update); itemEntity->state = 0xE; } break; diff --git a/src/E20110.c b/src/E20110.c index fc9a49913f..3156905313 100644 --- a/src/E20110.c +++ b/src/E20110.c @@ -197,5 +197,5 @@ void func_802B79C8_E20AD8(void) { gPlayerStatusPtr->encounteredNPC = NULL; gPlayerStatusPtr->animFlags &= ~PA_FLAGS_INTERACT_PROMPT_AVAILABLE; func_800EF3D4(0); - repartner_set_tether_distance(); + partner_reset_tether_distance(); } diff --git a/src/a5dd0_len_114e0.c b/src/a5dd0_len_114e0.c index b263058af4..4cf69c1871 100644 --- a/src/a5dd0_len_114e0.c +++ b/src/a5dd0_len_114e0.c @@ -4510,16 +4510,16 @@ void mdl_local_gfx_update_vtx_pointers(Gfx* nodeDlist, Vtx* baseVtx, Gfx* arg2, INCLUDE_ASM(s32, "a5dd0_len_114e0", mdl_local_gfx_update_vtx_pointers); #endif -void mdl_local_gfx_copy_vertices(Vtx* from, s32 num, Vtx* to) { +void mdl_local_gfx_copy_vertices(Vtx* src, s32 num, Vtx* dest) { u32 i; - for (i = 0; i < num * sizeof(*from); i++) { - ((u8*)to)[i] = ((u8*)from)[i]; + for (i = 0; i < num * sizeof(*src); i++) { + ((u8*)dest)[i] = ((u8*)src)[i]; } } -void mdl_make_local_vertex_copy(s32 arg0, u16 treeIdx, s32 arg2) { +void mdl_make_local_vertex_copy(s32 copyIndex, u16 modelID, s32 isMakingCopy) { s32 numVertices; Vtx* baseVtx; s32 gfxCount; @@ -4528,13 +4528,13 @@ void mdl_make_local_vertex_copy(s32 arg0, u16 treeIdx, s32 arg2) { ModelLocalVertexCopy* copy; s32 i; - model = get_model_from_list_index(get_model_list_index_from_tree_index(treeIdx)); + model = get_model_from_list_index(get_model_list_index_from_tree_index(modelID)); nodeDlist = model->modelNode->displayData->displayList; mdl_get_vertex_count(nodeDlist, &numVertices, &baseVtx, &gfxCount, NULL); - copy = (*gCurrentModelLocalVtxBuffers)[arg0] = heap_malloc(sizeof(*copy)); + copy = (*gCurrentModelLocalVtxBuffers)[copyIndex] = heap_malloc(sizeof(*copy)); - if (arg2) { + if (isMakingCopy) { for (i = 0; i < ARRAY_COUNT(copy->gfxCopy); i++) { copy->gfxCopy[i] = heap_malloc(gfxCount * sizeof(*copy->gfxCopy[i])); copy->vtxCopy[i] = heap_malloc(numVertices * sizeof(*copy->vtxCopy[i])); diff --git a/src/battle/area_hos/stage/hos_01.c b/src/battle/area_hos/stage/hos_01.c index e36c65ad40..ddb5731133 100644 --- a/src/battle/area_hos/stage/hos_01.c +++ b/src/battle/area_hos/stage/hos_01.c @@ -106,54 +106,54 @@ void func_80218CEC_47FD9C(s32 arg0) { EvtScript N(beforeBattle_80224BD0) = { EVT_CALL(SetSpriteShading, -1) - EVT_CALL(MakeLocalVertexCopy, 0, MODEL_o345, 1) - EVT_CALL(SetCustomGfxBuilders, 1, EVT_PTR(func_802184C0_47F570), 0) - EVT_CALL(SetModelCustomGfx, MODEL_o345, 1, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_0, MODEL_o345, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_1, EVT_PTR(func_802184C0_47F570), 0) + EVT_CALL(SetModelCustomGfx, MODEL_o345, CUSTOM_GFX_1, -1) EVT_CALL(SetModelFlags, MODEL_o345, 128, 1) - EVT_CALL(MakeLocalVertexCopy, 1, MODEL_o338, 1) - EVT_CALL(SetCustomGfxBuilders, 2, EVT_PTR(func_802184C0_47F570), 0) - EVT_CALL(SetModelCustomGfx, MODEL_o338, 2, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_1, MODEL_o338, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_2, EVT_PTR(func_802184C0_47F570), 0) + EVT_CALL(SetModelCustomGfx, MODEL_o338, CUSTOM_GFX_2, -1) EVT_CALL(SetModelFlags, MODEL_o338, 128, 1) - EVT_CALL(MakeLocalVertexCopy, 2, MODEL_o344, 1) - EVT_CALL(SetCustomGfxBuilders, 3, EVT_PTR(func_802184C0_47F570), 0) - EVT_CALL(SetModelCustomGfx, MODEL_o344, 3, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_2, MODEL_o344, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_3, EVT_PTR(func_802184C0_47F570), 0) + EVT_CALL(SetModelCustomGfx, MODEL_o344, CUSTOM_GFX_3, -1) EVT_CALL(SetModelFlags, MODEL_o344, 128, 1) - EVT_CALL(MakeLocalVertexCopy, 3, MODEL_o354, 1) - EVT_CALL(SetCustomGfxBuilders, 4, EVT_PTR(func_802184C0_47F570), 0) - EVT_CALL(SetModelCustomGfx, MODEL_o354, 4, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_3, MODEL_o354, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_4, EVT_PTR(func_802184C0_47F570), 0) + EVT_CALL(SetModelCustomGfx, MODEL_o354, CUSTOM_GFX_4, -1) EVT_CALL(SetModelFlags, MODEL_o354, 128, 1) - EVT_CALL(MakeLocalVertexCopy, 4, MODEL_o341, 1) - EVT_CALL(SetCustomGfxBuilders, 5, EVT_PTR(func_802184C0_47F570), 0) - EVT_CALL(SetModelCustomGfx, MODEL_o341, 5, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_4, MODEL_o341, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_5, EVT_PTR(func_802184C0_47F570), 0) + EVT_CALL(SetModelCustomGfx, MODEL_o341, CUSTOM_GFX_5, -1) EVT_CALL(SetModelFlags, MODEL_o341, 128, 1) - EVT_CALL(MakeLocalVertexCopy, 5, MODEL_o352, 1) - EVT_CALL(SetCustomGfxBuilders, 6, EVT_PTR(func_802186B8_47F768), 0) - EVT_CALL(SetModelCustomGfx, MODEL_o352, 6, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_5, MODEL_o352, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_6, EVT_PTR(func_802186B8_47F768), 0) + EVT_CALL(SetModelCustomGfx, MODEL_o352, CUSTOM_GFX_6, -1) EVT_CALL(SetModelFlags, MODEL_o352, 128, 1) - EVT_CALL(MakeLocalVertexCopy, 6, MODEL_o346, 1) - EVT_CALL(SetCustomGfxBuilders, 7, EVT_PTR(func_802186B8_47F768), 0) - EVT_CALL(SetModelCustomGfx, MODEL_o346, 7, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_6, MODEL_o346, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_7, EVT_PTR(func_802186B8_47F768), 0) + EVT_CALL(SetModelCustomGfx, MODEL_o346, CUSTOM_GFX_7, -1) EVT_CALL(SetModelFlags, MODEL_o346, 128, 1) - EVT_CALL(MakeLocalVertexCopy, 7, MODEL_o349, 1) - EVT_CALL(SetCustomGfxBuilders, 8, EVT_PTR(func_802189D0_47FA80), 0) - EVT_CALL(SetModelCustomGfx, MODEL_o349, 8, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_7, MODEL_o349, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_8, EVT_PTR(func_802189D0_47FA80), 0) + EVT_CALL(SetModelCustomGfx, MODEL_o349, CUSTOM_GFX_8, -1) EVT_CALL(SetModelFlags, MODEL_o349, 128, 1) - EVT_CALL(MakeLocalVertexCopy, 8, MODEL_o353, 1) - EVT_CALL(SetCustomGfxBuilders, 9, EVT_PTR(func_802189D0_47FA80), 0) - EVT_CALL(SetModelCustomGfx, MODEL_o353, 9, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_8, MODEL_o353, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_9, EVT_PTR(func_802189D0_47FA80), 0) + EVT_CALL(SetModelCustomGfx, MODEL_o353, CUSTOM_GFX_9, -1) EVT_CALL(SetModelFlags, MODEL_o353, 128, 1) - EVT_CALL(MakeLocalVertexCopy, 9, MODEL_o347, 1) - EVT_CALL(SetCustomGfxBuilders, 10, EVT_PTR(func_80218CEC_47FD9C), 0) - EVT_CALL(SetModelCustomGfx, MODEL_o347, 10, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_9, MODEL_o347, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_A, EVT_PTR(func_80218CEC_47FD9C), 0) + EVT_CALL(SetModelCustomGfx, MODEL_o347, CUSTOM_GFX_A, -1) EVT_CALL(SetModelFlags, MODEL_o347, 128, 1) EVT_THREAD diff --git a/src/evt/map_api.c b/src/evt/map_api.c index 0bde7b328d..5ddd513b9c 100644 --- a/src/evt/map_api.c +++ b/src/evt/map_api.c @@ -154,15 +154,15 @@ ApiStatus SetCustomGfxEnabled(Evt* script, s32 isInitialCall) { ApiStatus SetModelCustomGfx(Evt* script, s32 isInitialCall) { Bytecode* args = script->ptrReadPos; s32 treeIndex = evt_get_variable(script, *args++); - s32 var2 = evt_get_variable(script, *args++); + s32 customGfxUnit = evt_get_variable(script, *args++); s32 var3 = evt_get_variable(script, *args++); Model* model; treeIndex = get_model_list_index_from_tree_index(treeIndex); model = get_model_from_list_index(treeIndex); - set_mdl_custom_gfx_set(model, var2, var3); - if (var2 != -1) { + set_mdl_custom_gfx_set(model, customGfxUnit, var3); + if (customGfxUnit != -1) { model->flags |= MODEL_FLAGS_USES_CUSTOM_GFX; } return ApiStatus_DONE2; @@ -491,11 +491,11 @@ ApiStatus EnableGroup(Evt* script, s32 isInitialCall) { ApiStatus MakeLocalVertexCopy(Evt* script, s32 isInitialCall) { Bytecode* args = script->ptrReadPos; - s32 var1 = evt_get_variable(script, *args++); - u16 var2 = evt_get_variable(script, *args++); - s32 var3 = evt_get_variable(script, *args++); + s32 copyIndex = evt_get_variable(script, *args++); + u16 modelID = evt_get_variable(script, *args++); + s32 isMakingCopy = evt_get_variable(script, *args++); - mdl_make_local_vertex_copy(var1, var2, var3); + mdl_make_local_vertex_copy(copyIndex, modelID, isMakingCopy); return ApiStatus_DONE2; } diff --git a/src/world/area_dro/dro_01/dro_01.h b/src/world/area_dro/dro_01/dro_01.h index dac87f34ac..a5133816d1 100644 --- a/src/world/area_dro/dro_01/dro_01.h +++ b/src/world/area_dro/dro_01/dro_01.h @@ -55,7 +55,6 @@ extern ShopOwner N(Shop_Owner); extern EvtScript ItemShopInteract; - extern EvtScript N(80244450); extern EvtScript N(8024CDA0); diff --git a/src/world/area_dro/dro_02/dro_02.h b/src/world/area_dro/dro_02/dro_02.h index e71516e6c5..3f9535e4da 100644 --- a/src/world/area_dro/dro_02/dro_02.h +++ b/src/world/area_dro/dro_02/dro_02.h @@ -52,7 +52,7 @@ extern EvtScript N(EVS_PlayRestMusic); extern EvtScript N(EVS_PlayMoustafaMusic); extern EvtScript N(EVS_SetupBuildings); -extern EvtScript N(EVS_SetToadHouseDialogue); +extern EvtScript N(EVS_ToadHouse_SetDialogue); extern EvtScript N(8024D434); extern EvtScript N(EVS_ToadHouse_GetInBed); extern EvtScript N(EVS_ToadHouse_ReturnFromRest); diff --git a/src/world/area_dro/dro_02/dro_02_5_npc.c b/src/world/area_dro/dro_02/dro_02_5_npc.c index 40401ebad3..45e95dd620 100644 --- a/src/world/area_dro/dro_02/dro_02_5_npc.c +++ b/src/world/area_dro/dro_02/dro_02_5_npc.c @@ -55,12 +55,7 @@ NpcSettings N(NpcSettings_Archeologist) = { MAP_STATIC_PAD(1,key_item); #include "world/common/complete/NormalItemChoice.inc.c" -extern IMG_BIN N(toad_house_blanket_img)[]; -#include "dro_02_toad_house_blanket_skeleton.c" -#include "world/area_dro/dro_02/toad_house_blanket.vtx.inc.c" -#include "world/area_dro/dro_02/toad_house_blanket.gfx.inc.c" -#include "world/area_dro/dro_02/toad_house_blanket.png.inc.c" -#include "dro_02_toad_house_blanket_anim.c" +#include "world/common/complete/ToadHouseBlanketAnim.inc.c" #include "world/common/atomic/ToadHouse.inc.c" #include "world/common/atomic/ToadHouse.data.inc.c" @@ -294,7 +289,7 @@ EvtScript N(EVS_NpcInit_Mouser_03) = { EVT_END }; -EvtScript N(EVS_SetToadHouseDialogue) = { +EvtScript N(EVS_ToadHouse_SetDialogue) = { EVT_SET(LVar0, MSG_CH2_00D1) EVT_SET(LVar8, MSG_CH2_00D2) EVT_SET(LVar1, MSG_CH2_00D3) @@ -324,7 +319,7 @@ EvtScript N(EVS_ToadHouse_GetInBed) = { EVT_CALL(InterpPlayerYaw, 230, 1) EVT_CALL(HidePlayerShadow, TRUE) EVT_CALL(SetPlayerAnimation, ANIM_Mario_10002) - EVT_CALL(func_802D286C, 0x00000800) + EVT_CALL(func_802D286C, 0x800) EVT_CALL(func_802D2520, ANIM_Mario_10002, 5, 7, 1, 1, 0) EVT_THREAD EVT_WAIT(60) diff --git a/src/world/area_dro/dro_02/dro_02_toad_house_blanket_anim.c b/src/world/area_dro/dro_02/dro_02_toad_house_blanket_anim.c deleted file mode 100644 index 1f872c497e..0000000000 --- a/src/world/area_dro/dro_02/dro_02_toad_house_blanket_anim.c +++ /dev/null @@ -1,118 +0,0 @@ -#include "animation_script.h" - -AnimScript script = { - AS_OP_19, - AS_SET_ROTATION, 1, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 1, 0, 0, 0, - AS_SET_SCALE, 1, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_SET_ROTATION, 2, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 2, 0, 0, 0, - AS_SET_SCALE, 2, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_SET_ROTATION, 3, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 3, 0, 0, 0, - AS_SET_SCALE, 3, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_SET_ROTATION, 4, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 4, 0, 0, 0, - AS_SET_SCALE, 4, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_SET_ROTATION, 5, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 5, 0, 0, 0, - AS_SET_SCALE, 5, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_SET_ROTATION, 6, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 6, 0, 0, 0, - AS_SET_SCALE, 6, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_SET_ROTATION, 7, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 7, 0, 0, 0, - AS_SET_SCALE, 7, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_SET_ROTATION, 8, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 8, 0, 0, 0, - AS_SET_SCALE, 8, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_SET_ROTATION, 9, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 9, 0, 0, 0, - AS_SET_SCALE, 9, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_SET_ROTATION, 10, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 10, 0, 0, 0, - AS_SET_SCALE, 10, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_SET_ROTATION, 11, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 11, 0, 0, 0, - AS_SET_SCALE, 11, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_SET_ROTATION, 12, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 12, 0, 0, 0, - AS_SET_SCALE, 12, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_SET_ROTATION, 13, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 13, 0, 0, 0, - AS_SET_SCALE, 13, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_SET_ROTATION, 14, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 14, 0, 0, 0, - AS_SET_SCALE, 14, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_SET_ROTATION, 15, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 15, 0, 0, 0, - AS_SET_SCALE, 15, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_SET_ROTATION, 16, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 16, 0, 0, 0, - AS_SET_SCALE, 16, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_SET_ROTATION, 17, AS_F(0.0), AS_F(0.0), AS_F(0.0), - AS_SET_POS, 17, 0, 0, 0, - AS_SET_SCALE, 17, AS_F(1.0), AS_F(1.0), AS_F(1.0), - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_WAIT, 1, - AS_END_LOOP, - AS_END, -}; diff --git a/src/world/area_dro/dro_02/dro_02_toad_house_blanket_skeleton.c b/src/world/area_dro/dro_02/dro_02_toad_house_blanket_skeleton.c deleted file mode 100644 index 710f15369b..0000000000 --- a/src/world/area_dro/dro_02/dro_02_toad_house_blanket_skeleton.c +++ /dev/null @@ -1,128 +0,0 @@ -#include "animation_script.h" - -extern Gfx N(toad_house_blanket_gfx)[]; -extern Vtx N(toad_house_blanket_vtx)[]; - -StaticAnimatorNode N(D_80248AA0_971C60) = { - .displayList = N(toad_house_blanket_gfx), - .vertexStartOffset = 0x02EE, - .vtxList = N(toad_house_blanket_vtx), -}; - -StaticAnimatorNode N(D_80248ACC_971C8C) = { - .displayList = N(toad_house_blanket_gfx), - .sibling = &N(D_80248AA0_971C60), - .vertexStartOffset = 0x02BC, - .vtxList = N(toad_house_blanket_vtx), -}; - -StaticAnimatorNode N(D_80248AF8_971CB8) = { - .displayList = N(toad_house_blanket_gfx), - .sibling = &N(D_80248ACC_971C8C), - .vertexStartOffset = 0x028A, - .vtxList = N(toad_house_blanket_vtx), -}; - -StaticAnimatorNode N(D_80248B24_971CE4) = { - .displayList = N(toad_house_blanket_gfx), - .sibling = &N(D_80248AF8_971CB8), - .vertexStartOffset = 0x0258, - .vtxList = N(toad_house_blanket_vtx), -}; - -StaticAnimatorNode N(D_80248B50_971D10) = { - .displayList = N(toad_house_blanket_gfx), - .sibling = &N(D_80248B24_971CE4), - .vertexStartOffset = 0x0226, - .vtxList = N(toad_house_blanket_vtx), -}; - -StaticAnimatorNode N(D_80248B7C_971D3C) = { - .displayList = N(toad_house_blanket_gfx), - .sibling = &N(D_80248B50_971D10), - .vertexStartOffset = 0x01F4, - .vtxList = N(toad_house_blanket_vtx), -}; - -StaticAnimatorNode N(D_80248BA8_971D68) = { - .displayList = N(toad_house_blanket_gfx), - .sibling = &N(D_80248B7C_971D3C), - .vertexStartOffset = 0x01C2, - .vtxList = N(toad_house_blanket_vtx), -}; - -StaticAnimatorNode N(D_80248BD4_971D94) = { - .displayList = N(toad_house_blanket_gfx), - .sibling = &N(D_80248BA8_971D68), - .vertexStartOffset = 0x0190, - .vtxList = N(toad_house_blanket_vtx), -}; - -StaticAnimatorNode N(D_80248C00_971DC0) = { - .displayList = N(toad_house_blanket_gfx), - .sibling = &N(D_80248BD4_971D94), - .vertexStartOffset = 0x015E, - .vtxList = N(toad_house_blanket_vtx), -}; - -StaticAnimatorNode N(D_80248C2C_971DEC) = { - .displayList = N(toad_house_blanket_gfx), - .sibling = &N(D_80248C00_971DC0), - .vertexStartOffset = 0x012C, - .vtxList = N(toad_house_blanket_vtx), -}; - -StaticAnimatorNode N(D_80248C58_971E18) = { - .displayList = N(toad_house_blanket_gfx), - .sibling = &N(D_80248C2C_971DEC), - .vertexStartOffset = 0x00FA, - .vtxList = N(toad_house_blanket_vtx), -}; - -StaticAnimatorNode N(D_80248C84_971E44) = { - .displayList = N(toad_house_blanket_gfx), - .sibling = &N(D_80248C58_971E18), - .vertexStartOffset = 0x00C8, - .vtxList = N(toad_house_blanket_vtx), -}; - -StaticAnimatorNode N(D_80248CB0_971E70) = { - .displayList = N(toad_house_blanket_gfx), - .sibling = &N(D_80248C84_971E44), - .vertexStartOffset = 0x0096, - .vtxList = N(toad_house_blanket_vtx), -}; - -StaticAnimatorNode N(D_80248CDC_971E9C) = { - .displayList = N(toad_house_blanket_gfx), - .sibling = &N(D_80248CB0_971E70), - .vertexStartOffset = 0x0064, - .vtxList = N(toad_house_blanket_vtx), -}; - -StaticAnimatorNode N(D_80248D08_971EC8) = { - .displayList = N(toad_house_blanket_gfx), - .sibling = &N(D_80248CDC_971E9C), - .vertexStartOffset = 0x0032, - .vtxList = N(toad_house_blanket_vtx), -}; - -StaticAnimatorNode N(D_80248D34_971EF4) = { - .displayList = N(toad_house_blanket_gfx), - .sibling = &N(D_80248D08_971EC8), - .vertexStartOffset = 0, - .vtxList = N(toad_house_blanket_vtx), -}; - -StaticAnimatorNode N(D_80248D60_971F20) = { - .child = &N(D_80248D34_971EF4), - .vertexStartOffset = -1, -}; - -StaticAnimatorNode* N(D_80248D8C_971F4C)[] = { - &N(D_80248D60_971F20), &N(D_80248D34_971EF4), &N(D_80248D08_971EC8), &N(D_80248CDC_971E9C), - &N(D_80248CB0_971E70), &N(D_80248C84_971E44), &N(D_80248C58_971E18), &N(D_80248C2C_971DEC), - &N(D_80248C00_971DC0), &N(D_80248BD4_971D94), &N(D_80248BA8_971D68), &N(D_80248B7C_971D3C), - &N(D_80248B50_971D10), &N(D_80248B24_971CE4), &N(D_80248AF8_971CB8), &N(D_80248ACC_971C8C), - &N(D_80248AA0_971C60), 0x00000000, 0x00000000, -}; diff --git a/src/world/area_dro/dro_02/npc_moustafa.c b/src/world/area_dro/dro_02/npc_moustafa.c index 297fad2e51..1b26b801e6 100644 --- a/src/world/area_dro/dro_02/npc_moustafa.c +++ b/src/world/area_dro/dro_02/npc_moustafa.c @@ -102,7 +102,7 @@ EvtScript N(EVS_NpcInteract_Moustafa) = { EVT_CALL(EndSpeech, NPC_DisguisedMoustafa, ANIM_DisguisedMoustafa_Talk, ANIM_DisguisedMoustafa_Idle, 0) EVT_END_IF EVT_LABEL(1) - EVT_CHOOSE_ANY_CONSUMABLE() + EVT_CHOOSE_ANY_CONSUMABLE(2) EVT_SWITCH(LVar0) EVT_CASE_EQ(0) EVT_CALL(SpeakToPlayer, NPC_DisguisedMoustafa, ANIM_DisguisedMoustafa_Talk, ANIM_DisguisedMoustafa_Idle, 0, MSG_CH2_00B8) diff --git a/src/world/area_end/end_01/end_01_4_opera_float.c b/src/world/area_end/end_01/end_01_4_opera_float.c index d68a719778..02319c2e8c 100644 --- a/src/world/area_end/end_01/end_01_4_opera_float.c +++ b/src/world/area_end/end_01/end_01_4_opera_float.c @@ -266,8 +266,8 @@ EvtScript N(EVS_UpdateLightshow) = { EVT_CALL(EnableModel, MODEL_kino7, TRUE) EVT_CALL(EnableModel, MODEL_kino8, TRUE) EVT_CALL(EnableTexPanning, MODEL_kino8, TRUE) - EVT_CALL(SetModelCustomGfx, MODEL_kino7, 1, -1) - EVT_CALL(SetCustomGfxBuilders, 1, EVT_PTR(N(gfx_build_set_spotlight_alpha)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_kino7, CUSTOM_GFX_1, -1) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_1, EVT_PTR(N(gfx_build_set_spotlight_alpha)), 0) EVT_CHILD_THREAD EVT_CALL(MakeLerp, 0, 255, 90, EASING_LINEAR) EVT_LOOP(0) diff --git a/src/world/area_flo/flo_14/flo_14_3_bubbles.c b/src/world/area_flo/flo_14/flo_14_3_bubbles.c index 0ec44a22cd..bde40571fa 100644 --- a/src/world/area_flo/flo_14/flo_14_3_bubbles.c +++ b/src/world/area_flo/flo_14/flo_14_3_bubbles.c @@ -225,14 +225,14 @@ void N(gfx_build_big_bubble)(void) { matrix[2][1] = (cos_rad(N(BubblePhase) / 17.0f) * 0.04); guMtxF2L(matrix, &gDisplayContext->matrixStack[gMatrixListPos]); - mdl_get_copied_vertices(0, &src, &dest, ©Count); + mdl_get_copied_vertices(VTX_COPY_0, &src, &dest, ©Count); new_var = 0; while (new_var); // TODO required to match gSPMatrix(gMasterGfxPos++, &gDisplayContext->matrixStack[gMatrixListPos++], G_MTX_NOPUSH | G_MTX_MUL | G_MTX_MODELVIEW); - gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(0)); + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(VTX_COPY_0)); N(BubblePhase) += 1.0f; } @@ -247,7 +247,7 @@ void N(gfx_build_bubble_flower)(void) { f32 openedScale; // controls how open the flower is f32 lengthScale; // controls longitudinal pulsing - mdl_get_copied_vertices(1, &verts, &copied, &numCopied); + mdl_get_copied_vertices(VTX_COPY_1, &verts, &copied, &numCopied); for (i = 0; i < numCopied; i++) { Vtx* src = &verts[i]; @@ -262,7 +262,7 @@ void N(gfx_build_bubble_flower)(void) { } } - gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(1)); + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(VTX_COPY_1)); if (evt_get_variable(NULL, AF_FLO_BlowingBigBubble)) { if (N(FlowerPhase) > 90) { @@ -386,17 +386,17 @@ EvtScript N(EVS_SetupBubbles) = { EVT_EXEC(N(EVS_ManageBlownBubble)) EVT_SET(LVar0, CLONED_MODEL(5)) EVT_EXEC(N(EVS_ManageBlownBubble)) - EVT_CALL(MakeLocalVertexCopy, 0, MODEL_o167, TRUE) - EVT_CALL(SetCustomGfxBuilders, 1, EVT_PTR(N(gfx_build_big_bubble)), 0) - EVT_CALL(SetModelCustomGfx, MODEL_o167, 1, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_0, MODEL_o167, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_1, EVT_PTR(N(gfx_build_big_bubble)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_o167, CUSTOM_GFX_1, -1) EVT_CALL(SetModelCustomGfx, CLONED_MODEL(1), 1, -1) EVT_CALL(SetModelCustomGfx, CLONED_MODEL(2), 1, -1) EVT_CALL(SetModelCustomGfx, CLONED_MODEL(3), 1, -1) EVT_CALL(SetModelCustomGfx, CLONED_MODEL(4), 1, -1) EVT_CALL(SetModelCustomGfx, CLONED_MODEL(5), 1, -1) - EVT_CALL(MakeLocalVertexCopy, 1, MODEL_o57, TRUE) - EVT_CALL(SetCustomGfxBuilders, 2, EVT_PTR(N(gfx_build_bubble_flower)), 0) - EVT_CALL(SetModelCustomGfx, MODEL_o57, 2, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_1, MODEL_o57, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_2, EVT_PTR(N(gfx_build_bubble_flower)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_o57, CUSTOM_GFX_2, -1) EVT_RETURN EVT_END }; diff --git a/src/world/area_flo/flo_17/flo_17_5_entity.c b/src/world/area_flo/flo_17/flo_17_5_entity.c index 822b7268cc..5b309cd337 100644 --- a/src/world/area_flo/flo_17/flo_17_5_entity.c +++ b/src/world/area_flo/flo_17/flo_17_5_entity.c @@ -4,7 +4,7 @@ EvtScript N(EVS_MakeEntities) = { EVT_CALL(MakeEntity, EVT_PTR(Entity_HiddenYellowBlock), 660, 60, -115, 0, ITEM_THUNDER_RAGE, MAKE_ENTITY_END) EVT_CALL(AssignBlockFlag, GF_FLO17_HiddenItem_ThunderRage) - EVT_CALL(MakeItemEntity, ITEM_LETTER09, -245, 0, 105, ITEM_SPAWN_MODE_FIXED_NEVER_VANISH, GF_FLO17_Item_Letter09) + EVT_CALL(MakeItemEntity, ITEM_LETTER_TO_MINHT, -245, 0, 105, ITEM_SPAWN_MODE_FIXED_NEVER_VANISH, GF_FLO17_Item_Letter09) EVT_RETURN EVT_END }; diff --git a/src/world/area_hos/hos_02/A16220.c b/src/world/area_hos/hos_02/A16220.c index 54b9693016..f1dc817a18 100644 --- a/src/world/area_hos/hos_02/A16220.c +++ b/src/world/area_hos/hos_02/A16220.c @@ -29,7 +29,7 @@ void func_80240434_A16654(void) { s32 i; s32 temp3; - mdl_get_copied_vertices(0, &firstVertex, &copiedVertices, &numVertices); + mdl_get_copied_vertices(VTX_COPY_0, &firstVertex, &copiedVertices, &numVertices); for (i = 0; i < numVertices; i++) { u8* colors = copiedVertices[i].v.cn; @@ -41,7 +41,7 @@ void func_80240434_A16654(void) { colors[2] = colors[0] * temp3 / 0x10000; } - gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(0)); + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(VTX_COPY_0)); D_802433AE_A195CE += 0x253; } @@ -52,7 +52,7 @@ void func_80240610_A16830(void) { s32 i; s32 temp3; - mdl_get_copied_vertices(1, &firstVertex, &copiedVertices, &numVertices); + mdl_get_copied_vertices(VTX_COPY_1, &firstVertex, &copiedVertices, &numVertices); for (i = 0; i < numVertices; i++) { u8* colors = copiedVertices[i].v.cn; @@ -64,7 +64,7 @@ void func_80240610_A16830(void) { colors[2] = colors[0] * temp3 / 0x10000 + 99.6078431372549; } - gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(1)); + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(VTX_COPY_1)); D_802433B0_A195D0 += 0x253; } @@ -75,7 +75,7 @@ void func_80240904_A16B24(void) { s32 i; s32 temp3; - mdl_get_copied_vertices(2, &firstVertex, &copiedVertices, &numVertices); + mdl_get_copied_vertices(VTX_COPY_2, &firstVertex, &copiedVertices, &numVertices); for (i = 0; i < numVertices; i++) { u8* colors = copiedVertices[i].v.cn; @@ -87,7 +87,7 @@ void func_80240904_A16B24(void) { colors[2] = colors[0] * temp3 / 0x10000 + 59.21568627450981; } - gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(2)); + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(VTX_COPY_2)); D_802433B2_A195D2 += 0x253; } @@ -98,7 +98,7 @@ void func_80240BFC_A16E1C(void) { s32 i; s32 temp3; - mdl_get_copied_vertices(3, &firstVertex, &copiedVertices, &numVertices); + mdl_get_copied_vertices(VTX_COPY_3, &firstVertex, &copiedVertices, &numVertices); for (i = 0; i < numVertices; i++) { u8* colors = copiedVertices[i].v.cn; @@ -110,7 +110,7 @@ void func_80240BFC_A16E1C(void) { colors[2] = colors[0] * temp3 / 0x10000 + 96.07843137254902; } - gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(3)); + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(VTX_COPY_3)); D_802433B4_A195D4 += 0x253; } diff --git a/src/world/area_hos/hos_03/A1B130.c b/src/world/area_hos/hos_03/A1B130.c index 999bfaf475..c4234775f9 100644 --- a/src/world/area_hos/hos_03/A1B130.c +++ b/src/world/area_hos/hos_03/A1B130.c @@ -20,7 +20,7 @@ void func_8024033C_A1B43C(void) { guRotate(&gDisplayContext->matrixStack[gMatrixListPos], angle, 0.0f, 1.0f, 0.0f); gSPMatrix(gMasterGfxPos++, &gDisplayContext->matrixStack[gMatrixListPos++], G_MTX_NOPUSH | G_MTX_MUL | G_MTX_MODELVIEW); - mdl_get_copied_vertices(1, &firstVertex, &copiedVertices, &numVertices); + mdl_get_copied_vertices(VTX_COPY_1, &firstVertex, &copiedVertices, &numVertices); for (i = 0; i < numVertices; i++) { u8* colors = copiedVertices[i].v.cn; @@ -33,7 +33,7 @@ void func_8024033C_A1B43C(void) { } gSPClearGeometryMode(gMasterGfxPos++, G_CULL_BOTH); - gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(1)); + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(VTX_COPY_1)); D_80243BCE_A1ECCE += 0x666; } @@ -44,7 +44,7 @@ void func_8024060C_A1B70C(void) { s32 i; s32 temp3; - mdl_get_copied_vertices(2, &firstVertex, &copiedVertices, &numVertices); + mdl_get_copied_vertices(VTX_COPY_2, &firstVertex, &copiedVertices, &numVertices); for (i = 0; i < numVertices; i++) { u8* colors = copiedVertices[i].v.cn; @@ -56,7 +56,7 @@ void func_8024060C_A1B70C(void) { colors[2] = colors[0] * temp3 / 0x10000; } - gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(2)); + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(VTX_COPY_2)); D_80243BD0_A1ECD0 += 0x253; } @@ -66,7 +66,7 @@ void func_802407E8_A1B8E8(void) { s32 numVertices; s32 i; - mdl_get_copied_vertices(0, &firstVertex, &copiedVertices, &numVertices); + mdl_get_copied_vertices(VTX_COPY_0, &firstVertex, &copiedVertices, &numVertices); for (i = 0; i < numVertices; i++) { Vtx* vtxDst = &copiedVertices[i]; @@ -75,7 +75,7 @@ void func_802407E8_A1B8E8(void) { vtxDst->v.ob[1] = vtxSrc->v.ob[1] + v0 / 0x8000; } - gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(0)); + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(VTX_COPY_0)); D_80243BD2_A1ECD2 += 0xA3; } diff --git a/src/world/area_iwa/iwa_01/iwa_01_3_splash.c b/src/world/area_iwa/iwa_01/iwa_01_3_splash.c index f69c09dbe1..f1d0432ac4 100644 --- a/src/world/area_iwa/iwa_01/iwa_01_3_splash.c +++ b/src/world/area_iwa/iwa_01/iwa_01_3_splash.c @@ -95,8 +95,8 @@ API_CALLABLE(N(InitSplashes)) { EvtScript N(EVS_MakeSplashes) = { EVT_CALL(N(InitSplashes)) - EVT_CALL(SetCustomGfxBuilders, 0, 0, EVT_PTR(N(gfx_build_splashes))) - EVT_CALL(SetModelCustomGfx, MODEL_dummy_sprash2, 0, -1) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_0, 0, EVT_PTR(N(gfx_build_splashes))) + EVT_CALL(SetModelCustomGfx, MODEL_dummy_sprash2, CUSTOM_GFX_0, -1) EVT_RETURN EVT_END }; diff --git a/src/world/area_jan/jan_00/jan_00_4_whale.c b/src/world/area_jan/jan_00/jan_00_4_whale.c index abfffce4a5..474c13249e 100644 --- a/src/world/area_jan/jan_00/jan_00_4_whale.c +++ b/src/world/area_jan/jan_00/jan_00_4_whale.c @@ -217,12 +217,12 @@ EvtScript N(D_8024652C_B26A6C) = { EvtScript N(EVS_802467AC) = { EVT_SET_GROUP(EVT_GROUP_00) - EVT_CALL(MakeLocalVertexCopy, 1, MODEL_karada, TRUE) - EVT_CALL(SetCustomGfxBuilders, 1, EVT_PTR(N(unkAngleFunc002)), 0) - EVT_CALL(SetModelCustomGfx, MODEL_karada, 1, -1) - EVT_CALL(MakeLocalVertexCopy, 2, MODEL_onaka, TRUE) - EVT_CALL(SetCustomGfxBuilders, 2, EVT_PTR(N(unkAngleFunc003)), 0) - EVT_CALL(SetModelCustomGfx, MODEL_onaka, 2, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_1, MODEL_karada, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_1, EVT_PTR(N(unkAngleFunc002)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_karada, CUSTOM_GFX_1, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_2, MODEL_onaka, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_2, EVT_PTR(N(unkAngleFunc003)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_onaka, CUSTOM_GFX_2, -1) EVT_THREAD EVT_LABEL(0) EVT_CALL(N(UnkAngleFunc001), 0, LVar0, LVar1, LVar2) diff --git a/src/world/area_kgr/kgr_01/kgr_01_2_wiggle.c b/src/world/area_kgr/kgr_01/kgr_01_2_wiggle.c index e4b696a532..1f9a98a61a 100644 --- a/src/world/area_kgr/kgr_01/kgr_01_2_wiggle.c +++ b/src/world/area_kgr/kgr_01/kgr_01_2_wiggle.c @@ -61,9 +61,9 @@ void N(make_tongue_gfx)(s32 index) { Vtx* vtxCopy; s32 numCopied; - mdl_get_copied_vertices(1, &vtxSrc, &vtxCopy, &numCopied); + mdl_get_copied_vertices(VTX_COPY_1, &vtxSrc, &vtxCopy, &numCopied); N(add_tongue_deformation)(vtxSrc, vtxCopy, numCopied, N(TongueWiggleTime)); - gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(1)); + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(VTX_COPY_1)); N(TongueWiggleTime) += TONGUE_WIGGLE_RATE; } @@ -106,9 +106,9 @@ EvtScript N(EVS_StartTongueWiggle) = { EVT_CALL(ParentColliderToModel, COLLIDER_sita, TONGUE_COPY_MODEL_ID) EVT_CALL(EnableModel, TONGUE_COPY_MODEL_ID, FALSE) EVT_EXEC(N(EVS_WiggleTongue)) - EVT_CALL(MakeLocalVertexCopy, 1, MODEL_sita, TRUE) - EVT_CALL(SetCustomGfxBuilders, 1, EVT_PTR(N(make_tongue_gfx)), 0) - EVT_CALL(SetModelCustomGfx, MODEL_sita, 1, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_1, MODEL_sita, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_1, EVT_PTR(N(make_tongue_gfx)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_sita, CUSTOM_GFX_1, -1) EVT_CALL(HidePlayerShadow, TRUE) EVT_RETURN EVT_END diff --git a/src/world/area_kkj/kkj_25/B06D10.c b/src/world/area_kkj/kkj_25/B06D10.c index 62c1f80804..a1afaa04f4 100644 --- a/src/world/area_kkj/kkj_25/B06D10.c +++ b/src/world/area_kkj/kkj_25/B06D10.c @@ -1,98 +1,8 @@ #include "kkj_25.h" #include "effects.h" -#include "world/common/todo/UnkFoldFunc.inc.c" - -ApiStatus func_802406EC_B070EC(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 spriteIndex = evt_get_variable(script, *args++); - s32 rasterIndex = evt_get_variable(script, *args++); - UnkEntityStruct* unkStruct = heap_malloc(sizeof(*unkStruct)); - - unkStruct->spriteIndex = spriteIndex; - unkStruct->rasterIndex = rasterIndex; - unkStruct->unk_34 = gPlayerStatus.colliderHeight; - unkStruct->unk_38 = gPlayerStatus.colliderDiameter; - unkStruct->pos.x = gPlayerStatus.position.x; - unkStruct->pos.y = gPlayerStatus.position.y; - unkStruct->pos.z = gPlayerStatus.position.z; - unkStruct->rot.x = 0.0f; - unkStruct->rot.y = 0.0f; - unkStruct->rot.z = 0.0f; - unkStruct->scale.x = SPRITE_WORLD_SCALE_F; - unkStruct->scale.y = SPRITE_WORLD_SCALE_F; - unkStruct->scale.z = SPRITE_WORLD_SCALE_F; - unkStruct->foldID = func_8013A704(1); - unkStruct->entityID = create_worker_world(NULL, kkj_25_UnkFoldFunc); - - evt_set_variable(script, MapVar(10), (s32) unkStruct); - return ApiStatus_DONE2; -} - -ApiStatus func_80240800_B07200(Evt* script, s32 isInitialCall) { - UnkEntityStruct* unkStruct = (UnkEntityStruct*) evt_get_variable(NULL, MapVar(10)); - - func_8013A854(unkStruct->foldID); - free_worker(unkStruct->entityID); - heap_free(unkStruct); - evt_set_variable(script, MapVar(10), 0); - - return ApiStatus_DONE2; -} - -ApiStatus func_8024086C_B0726C(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 x = evt_get_float_variable(script, *args++); - s32 y = evt_get_float_variable(script, *args++); - s32 z = evt_get_float_variable(script, *args++); - UnkEntityStruct* unkStruct = (UnkEntityStruct*) evt_get_variable(NULL, MapVar(10)); - - unkStruct->pos.x = x; - unkStruct->pos.y = y; - unkStruct->pos.z = z; - - return ApiStatus_DONE2; -} - -ApiStatus func_8024092C_B0732C(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 x = evt_get_float_variable(script, *args++); - s32 y = evt_get_float_variable(script, *args++); - s32 z = evt_get_float_variable(script, *args++); - UnkEntityStruct* unkStruct = (UnkEntityStruct*) evt_get_variable(NULL, MapVar(10)); - - unkStruct->rot.x = x; - unkStruct->rot.y = y; - unkStruct->rot.z = z; - - return ApiStatus_DONE2; -} - -ApiStatus func_802409EC_B073EC(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 x = evt_get_float_variable(script, *args++); - s32 y = evt_get_float_variable(script, *args++); - s32 z = evt_get_float_variable(script, *args++); - UnkEntityStruct* unkStruct = (UnkEntityStruct*) evt_get_variable(NULL, MapVar(10)); - - unkStruct->scale.x = x; - unkStruct->scale.y = y; - unkStruct->scale.z = z; - - return ApiStatus_DONE2; -} - -ApiStatus func_80240AAC_B074AC(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 spriteIndex = evt_get_variable(script, *args++); - s32 rasterIndex = evt_get_variable(script, *args++); - UnkEntityStruct* unkStruct = (UnkEntityStruct*) evt_get_variable(NULL, MapVar(10)); - - unkStruct->spriteIndex = spriteIndex; - unkStruct->rasterIndex = rasterIndex; - - return ApiStatus_DONE2; -} +#define KNOCK_DOWN_MAP_VAR MapVar(10) +#include "world/common/complete/KnockDownPlayer.inc.c" ApiStatus func_80240B18_B07518(Evt* script, s32 isInitialCall) { EffectInstance* effect; diff --git a/src/world/area_kmr/kmr_03/kmr_03_3_npc.c b/src/world/area_kmr/kmr_03/kmr_03_3_npc.c index 68d435c794..7315f64823 100644 --- a/src/world/area_kmr/kmr_03/kmr_03_3_npc.c +++ b/src/world/area_kmr/kmr_03/kmr_03_3_npc.c @@ -11,7 +11,7 @@ API_CALLABLE(N(func_802401B0_8C8140)) { return ApiStatus_DONE2; } -#include "world/common/todo/UnkPositionFunc.inc.c" +#include "world/common/util/CheckPositionRelativeToPlane.inc.c" NpcSettings N(NpcSettings_Goompa) = { .height = 22, @@ -56,7 +56,7 @@ EvtScript N(EVS_NpcAI_Goompa) = { EVT_SWITCH(GB_StoryProgress) EVT_CASE_EQ(STORY_CH0_FELL_OFF_CLIFF) EVT_LABEL(89) - EVT_CALL(N(UnkPositionFunc), -118, 86, -70, -15) + EVT_CALL(N(CheckPositionRelativeToPlane), -118, 86, -70, -15) EVT_WAIT(1) EVT_IF_EQ(LVar0, 0) EVT_GOTO(89) diff --git a/src/world/area_kmr/kmr_30/kmr_30_3_the_end.c b/src/world/area_kmr/kmr_30/kmr_30_3_the_end.c index 5f14f31ade..f35c3291da 100644 --- a/src/world/area_kmr/kmr_30/kmr_30_3_the_end.c +++ b/src/world/area_kmr/kmr_30/kmr_30_3_the_end.c @@ -196,12 +196,12 @@ EvtScript N(EVS_Scene_TheEnd) = { EVT_END_THREAD EVT_WAIT(30) EVT_CALL(EnableGroup, MODEL_the_end, TRUE) - EVT_CALL(SetModelCustomGfx, MODEL_t, 1, -1) - EVT_CALL(SetModelCustomGfx, MODEL_h, 1, -1) - EVT_CALL(SetModelCustomGfx, MODEL_e, 1, -1) - EVT_CALL(SetModelCustomGfx, MODEL_d, 1, -1) - EVT_CALL(SetModelCustomGfx, MODEL_n, 1, -1) - EVT_CALL(SetCustomGfxBuilders, 1, EVT_PTR(N(gfx_build_the_end)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_t, CUSTOM_GFX_1, -1) + EVT_CALL(SetModelCustomGfx, MODEL_h, CUSTOM_GFX_1, -1) + EVT_CALL(SetModelCustomGfx, MODEL_e, CUSTOM_GFX_1, -1) + EVT_CALL(SetModelCustomGfx, MODEL_d, CUSTOM_GFX_1, -1) + EVT_CALL(SetModelCustomGfx, MODEL_n, CUSTOM_GFX_1, -1) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_1, EVT_PTR(N(gfx_build_the_end)), 0) EVT_CALL(MakeLerp, 0, 255, 90, EASING_LINEAR) EVT_LOOP(0) EVT_CALL(UpdateLerp) diff --git a/src/world/area_kzn/kzn_06/kzn_06_1_main.c b/src/world/area_kzn/kzn_06/kzn_06_1_main.c index 87b90763d4..21687632a9 100644 --- a/src/world/area_kzn/kzn_06/kzn_06_1_main.c +++ b/src/world/area_kzn/kzn_06/kzn_06_1_main.c @@ -15,6 +15,8 @@ EvtScript N(EVS_BindExitTriggers) = { EVT_END }; +MAP_RODATA_PAD(1, unk) // can be fixed with subalign 16 for this map + EvtScript N(EVS_StartTexPanners) = { EVT_SET_GROUP(EVT_GROUP_00) EVT_CALL(SetTexPanner, MODEL_yo1, TEX_PANNER_0) diff --git a/src/world/area_mac/mac.h b/src/world/area_mac/mac.h index eed474ee97..5048817a4b 100644 --- a/src/world/area_mac/mac.h +++ b/src/world/area_mac/mac.h @@ -23,6 +23,15 @@ enum { enum { AF_MAC_01 = AreaFlag(1), AF_ExitingToybox = AreaFlag(2), + AF_MAC_0D = AreaFlag(13), + AF_MAC_0E = AreaFlag(14), + AF_MAC_0F = AreaFlag(15), + AF_MAC_10 = AreaFlag(16), + AF_MAC_11 = AreaFlag(17), + AF_MAC_12 = AreaFlag(18), + AF_MAC_13 = AreaFlag(19), + AF_MAC_14 = AreaFlag(20), + AF_MAC_15 = AreaFlag(21), AF_MAC_16 = AreaFlag(22), AF_MAC_17 = AreaFlag(23), AF_MAC_18 = AreaFlag(24), @@ -47,7 +56,85 @@ enum { AF_MAC_3D = AreaFlag(61), AF_MAC_3E = AreaFlag(62), AF_MAC_3F = AreaFlag(63), + + AF_MAC_40 = AreaFlag(64), + AF_MAC_41 = AreaFlag(65), + AF_MAC_43 = AreaFlag(67), AF_MAC_44 = AreaFlag(68), + + AF_MAC_45 = AreaFlag(0x45), + AF_MAC_46 = AreaFlag(0x46), + AF_MAC_47 = AreaFlag(0x47), + AF_MAC_48 = AreaFlag(0x48), + AF_MAC_49 = AreaFlag(0x49), + AF_MAC_4A = AreaFlag(0x4A), + AF_MAC_4B = AreaFlag(0x4B), + AF_MAC_4C = AreaFlag(0x4C), + AF_MAC_4D = AreaFlag(0x4D), + AF_MAC_4E = AreaFlag(0x4E), + AF_MAC_4F = AreaFlag(0x4F), + AF_MAC_50 = AreaFlag(0x50), + AF_MAC_51 = AreaFlag(0x51), + AF_MAC_52 = AreaFlag(0x52), + AF_MAC_53 = AreaFlag(0x53), + AF_MAC_54 = AreaFlag(0x54), + AF_MAC_55 = AreaFlag(0x55), + AF_MAC_56 = AreaFlag(0x56), + AF_MAC_57 = AreaFlag(0x57), + AF_MAC_58 = AreaFlag(0x58), + AF_MAC_59 = AreaFlag(0x59), + AF_MAC_5A = AreaFlag(0x5A), + AF_MAC_5B = AreaFlag(0x5B), + AF_MAC_5C = AreaFlag(0x5C), + AF_MAC_5D = AreaFlag(0x5D), + AF_MAC_5E = AreaFlag(0x5E), + AF_MAC_5F = AreaFlag(0x5F), + AF_MAC_60 = AreaFlag(0x60), + AF_MAC_61 = AreaFlag(0x61), + AF_MAC_62 = AreaFlag(0x62), + AF_MAC_63 = AreaFlag(0x63), + AF_MAC_64 = AreaFlag(0x64), + AF_MAC_65 = AreaFlag(0x65), + AF_MAC_66 = AreaFlag(0x66), + AF_MAC_67 = AreaFlag(0x67), + AF_MAC_68 = AreaFlag(0x68), + + AF_MAC_77 = AreaFlag(0x77), + AF_MAC_78 = AreaFlag(0x78), + AF_MAC_79 = AreaFlag(0x79), + AF_MAC_7A = AreaFlag(0x7A), + AF_MAC_7B = AreaFlag(0x7B), + AF_MAC_7C = AreaFlag(0x7C), + AF_MAC_7D = AreaFlag(0x7D), + AF_MAC_7E = AreaFlag(0x7E), + AF_MAC_7F = AreaFlag(0x7F), + AF_MAC_80 = AreaFlag(0x80), + AF_MAC_81 = AreaFlag(0x81), + AF_MAC_82 = AreaFlag(0x82), + AF_MAC_83 = AreaFlag(0x83), + AF_MAC_84 = AreaFlag(0x84), + AF_MAC_85 = AreaFlag(0x85), + AF_MAC_86 = AreaFlag(0x86), + AF_MAC_87 = AreaFlag(0x87), + AF_MAC_88 = AreaFlag(0x88), + AF_MAC_89 = AreaFlag(0x89), + AF_MAC_8A = AreaFlag(0x8A), + AF_MAC_8B = AreaFlag(0x8B), + AF_MAC_8C = AreaFlag(0x8C), + AF_MAC_8D = AreaFlag(0x8D), + AF_MAC_8E = AreaFlag(0x8E), + AF_MAC_8F = AreaFlag(0x8F), + AF_MAC_90 = AreaFlag(0x90), + AF_MAC_91 = AreaFlag(0x91), + AF_MAC_92 = AreaFlag(0x92), + AF_MAC_93 = AreaFlag(0x93), + AF_MAC_94 = AreaFlag(0x94), + AF_MAC_95 = AreaFlag(0x95), + AF_MAC_96 = AreaFlag(0x96), + AF_MAC_97 = AreaFlag(0x97), + AF_MAC_98 = AreaFlag(0x98), + AF_MAC_99 = AreaFlag(0x99), + AF_MAC_9A = AreaFlag(0x9A), }; extern MapSettings machi_settings; diff --git a/src/world/area_mac/mac_00/7EAD10.c b/src/world/area_mac/mac_00/7EAD10.c deleted file mode 100644 index cb5a1baccd..0000000000 --- a/src/world/area_mac/mac_00/7EAD10.c +++ /dev/null @@ -1,25 +0,0 @@ -#include "mac_00.h" - -static char* N(exit_str_0) = "kmr_10"; -static char* N(exit_str_1) = "mac_01"; -static char* N(exit_str_2) = "tik_19"; -static char* N(exit_str_3) = "kmr_20"; -static char* N(exit_str_4) = "mac_00"; -static char* N(exit_str_5) = "\0\0\0\0"; - -#include "world/common/entity/Pipe.inc.c" - -#include "world/common/atomic/TexturePan.inc.c" - -ApiStatus func_802405EC_7EB2FC(Evt* script, s32 isInitialCall) { - f32 x; - f32 y; - f32 z; - - get_collider_center(evt_get_variable(script, *script->ptrReadPos), &x, &y, &z); - return ApiStatus_DONE2; -} - -ApiStatus func_80240624_7EB334(Evt* script, s32 isInitialCall) { - return ApiStatus_DONE2; -} diff --git a/src/world/area_mac/mac_00/7EB340.c b/src/world/area_mac/mac_00/7EB340.c deleted file mode 100644 index 287f3abbbf..0000000000 --- a/src/world/area_mac/mac_00/7EB340.c +++ /dev/null @@ -1,200 +0,0 @@ -#include "mac_00.h" -#include "effects.h" -#include "model.h" - -#define CHUCK_QUIZMO_NPC_ID 6 - -extern s32 N(Quizmo_Worker); -extern s32 N(Quizmo_AnswerResult); -extern EffectInstance* N(Quizmo_StageEffect); -extern EffectInstance* N(Quizmo_AudienceEffect); -extern EffectInstance* N(Quizmo_VannaTEffect); - -#include "world/common/atomic/Quizmo.inc.c" - -#include "world/common/todo/GetNpcCollisionHeight.inc.c" - -#include "world/common/todo/AddPlayerHandsOffset.inc.c" - -INCLUDE_ASM(s32, "world/area_mac/mac_00/7EB340", func_802418F0_7EC600); - -extern s32 N(ItemChoice_HasSelectedItem); -extern s32 N(ItemChoice_SelectedItemID); - -ApiStatus N(ItemChoice_SaveSelected)(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - - N(ItemChoice_SelectedItemID) = evt_get_variable(script, *args++); - N(ItemChoice_HasSelectedItem) = TRUE; - return ApiStatus_DONE2; -} - -extern s32 mac_00_D_80255BA0[]; - -ApiStatus func_8024197C_7EC68C(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32* ptr = (s32*) evt_get_variable(script, *args++); - s32 i; - - if (ptr != NULL) { - for (i = 0; ptr[i] != 0; i++) { - mac_00_D_80255BA0[i] = ptr[i]; - } - mac_00_D_80255BA0[i] = 0; - } else { - for (i = 0; i < 112; i++) { - mac_00_D_80255BA0[i] = i + 16; - mac_00_D_80255BA0[112] = 0; - } - } - return ApiStatus_DONE2; -} - -extern s32 mac_00_D_80255D68[]; - -ApiStatus func_80241A18_7EC728(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32* ptr = (s32*) evt_get_variable(script, *args++); - s32 i; - - if (ptr != NULL) { - for (i = 0; ptr[i] != 0; i++) { - mac_00_D_80255D68[i] = ptr[i]; - } - mac_00_D_80255D68[i] = 0; - } else { - for (i = 0; i < 91; i++) { - mac_00_D_80255D68[i] = i + 128; - mac_00_D_80255D68[91] = 0; - } - } - return ApiStatus_DONE2; -} - -extern s32 N(LetterDelivery_SavedNpcAnim); -#include "world/common/todo/LetterDelivery.inc.c" - -typedef struct UnkMac00 { - /* 0x00 */ s32 unk_00; - /* 0x04 */ s32 unk_04; - /* 0x08 */ s32 unk_08; - /* 0x0C */ s32 unk_0C; - /* 0x10 */ s32 unk_10; -} UnkMac00; // size = 0x14 - -extern UnkMac00 D_80248F18_7F3C28[36]; - -ApiStatus func_80241DA0_7ECAB0(Evt* script, s32 isInitialCall) { - UnkMac00* it = D_80248F18_7F3C28; - u32 i; - - for (i = 0; i < ARRAY_COUNT(D_80248F18_7F3C28); i++, it++) { - evt_set_variable(script, it->unk_10, 0); - } - return ApiStatus_DONE2; -} - -ApiStatus func_80241E04_7ECB14(Evt* script, s32 isInitialCall) { - UnkMac00* it = D_80248F18_7F3C28; - u32 i; - - for (i = 0; i < ARRAY_COUNT(D_80248F18_7F3C28); i++, it++) { - s32 t1 = evt_get_variable(script, GameByte(0)); - - evt_set_variable(script, it->unk_08, t1 >= it->unk_04); - } - return ApiStatus_DONE2; -} - -ApiStatus func_80241E80_7ECB90(Evt* script, s32 isInitialCall) { - UnkMac00* it = D_80248F18_7F3C28; - s32 cond = FALSE; - s32 count = 0; - u32 i; - - for (i = 0; i < ARRAY_COUNT(D_80248F18_7F3C28); i++, it++) { - if (evt_get_variable(script, it->unk_08) != 0) { - if (evt_get_variable(script, it->unk_0C) == 0) { - cond = TRUE; - break; - } else { - if (evt_get_variable(script, it->unk_10) == 0) { - count++; - } - } - } - } - - if (!cond) { - it = D_80248F18_7F3C28; - i = 0; - if (count != 0) { - s32 temp_s6 = rand_int(count - 1); - - count = 0; - - for (i = cond; i < ARRAY_COUNT(D_80248F18_7F3C28); i++, it++) { - if (evt_get_variable(script, it->unk_08) != 0 && - evt_get_variable(script, it->unk_10) == 0 && - count++ >= temp_s6) - { - break; - } - } - } - } - script->varTable[0] = i; - script->varTable[1] = it->unk_00; - script->varTable[2] = cond; - evt_set_variable(script, it->unk_0C, 1); - evt_set_variable(script, it->unk_10, 1); - return ApiStatus_DONE2; -} - -ApiStatus func_80241FF0_7ECD00(Evt* script, s32 isInitialCall) { - UnkMac00* it = D_80248F18_7F3C28; - s32 count = 0; - u32 i; - - for (i = 0; i < ARRAY_COUNT(D_80248F18_7F3C28); i++, it++) { - if (evt_get_variable(script, it->unk_08) != 0 && evt_get_variable(script, it->unk_10) == 0) { - count++; - } - } - script->varTable[0] = count; - return ApiStatus_DONE2; -} - -#include "world/common/todo/UnkPositionFunc.inc.c" - -ApiStatus N(SetDojoBattle)(Evt* script, s32 isInitialCall) { - Enemy* enemy = script->owner1.enemy; - - gCurrentEncounter.encounterList[enemy->encounterIndex]->battle = N(dojoBattleIDs)[evt_get_variable(script, GB_MAC00_DojoRank)]; - return ApiStatus_DONE2; -} - -ApiStatus func_802421D0_7ECEE0(Evt* script, s32 isInitialCall) { - func_8011B950(0x8A, -1, 1, 1); - set_background_color_blend(0, 0, 0, 255); - gCameras[CAM_DEFAULT].bgColor[0] = 0; - gCameras[CAM_DEFAULT].bgColor[1] = 0; - gCameras[CAM_DEFAULT].bgColor[2] = 0; - return ApiStatus_DONE2; -} - -ApiStatus func_80242224_7ECF34(Evt* script, s32 isInitialCall) { - gPlayerData.curHP = 1; - sync_status_menu(); - return ApiStatus_DONE2; -} - -ApiStatus func_80242250_7ECF60(Evt* script, s32 isInitialCall) { - script->varTable[0] = (s32) ((gPlayerData.frameCounter - gPlayerData.tradeEventStartTime) / 3600) < script->varTable[0]; - return ApiStatus_DONE2; -} - -ApiStatus func_8024228C_7ECF9C(Evt* script, s32 isInitialCall) { - script->varTable[0] = get_item_count(); - return ApiStatus_DONE2; -} diff --git a/src/world/area_mac/mac_00/7ED280.c b/src/world/area_mac/mac_00/7ED280.c deleted file mode 100644 index aba1c8109c..0000000000 --- a/src/world/area_mac/mac_00/7ED280.c +++ /dev/null @@ -1,62 +0,0 @@ -#include "mac_00.h" - -#include "world/common/enemy/ai/PatrolNoAttackAI.inc.c" - -static char* N(exit_str_0) = "mac_01"; - -#define NAMESPACE dup_mac_00 -#include "world/common/todo/StashVars.inc.c" -#define NAMESPACE mac_00 - -#define NAMESPACE dup_mac_00 -#include "world/common/todo/GetItemName.inc.c" -#define NAMESPACE mac_00 - -#define NAMESPACE dup_mac_00 -#include "world/common/todo/GetNpcCollisionHeight.inc.c" -#define NAMESPACE mac_00 - -#define NAMESPACE dup_mac_00 -#include "world/common/todo/AddPlayerHandsOffset.inc.c" -#define NAMESPACE mac_00 - -INCLUDE_ASM(s32, "world/area_mac/mac_00/7ED280", func_80243744_7EE454); - -#define NAMESPACE dup_mac_00 -extern s32 N(ItemChoice_HasSelectedItem); -extern s32 N(ItemChoice_SelectedItemID); - -ApiStatus N(ItemChoice_SaveSelected)(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - - N(ItemChoice_SelectedItemID) = evt_get_variable(script, *args++); - N(ItemChoice_HasSelectedItem) = TRUE; - return ApiStatus_DONE2; -} -#define NAMESPACE mac_00 - -extern s32 D_80255EE0[]; - -ApiStatus func_802437D0_7EE4E0(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32* ptr = (s32*) evt_get_variable(script, *args++); - s32 i; - - if (ptr != NULL) { - for (i = 0; ptr[i] != 0; i++) { - D_80255EE0[i] = ptr[i]; - } - D_80255EE0[i] = 0; - } else { - for (i = 0; i < 112; i++) { - D_80255EE0[i] = i + 16; - D_80255EE0[112] = 0; - } - } - return ApiStatus_DONE2; -} - -#define NAMESPACE dup_mac_00 -extern s32 N(LetterDelivery_SavedNpcAnim); -#include "world/common/todo/LetterDelivery.inc.c" -#define NAMESPACE mac_00 diff --git a/src/world/area_mac/mac_00/mac_00.h b/src/world/area_mac/mac_00/mac_00.h index dc065360b7..00eef6aad7 100644 --- a/src/world/area_mac/mac_00/mac_00.h +++ b/src/world/area_mac/mac_00/mac_00.h @@ -2,10 +2,89 @@ /// @brief Toad Town - Gate District #include "common.h" -#include "../mac.h" #include "message_ids.h" #include "map.h" +#include "../mac.h" +#include "mapfs/mac_00_shape.h" +#include "mapfs/mac_00_hit.h" + +#include "sprite/npc/ChuckQuizmo.h" +#include "sprite/npc/WorldParakarry.h" +#include "sprite/npc/ShyGuy.h" +#include "sprite/npc/RussT.h" +#include "sprite/npc/HarryT.h" +#include "sprite/npc/Toad.h" +#include "sprite/npc/Chan.h" +#include "sprite/npc/TheMaster.h" +#include "sprite/npc/Lee.h" +#include "sprite/npc/Toadette.h" +#include "sprite/npc/ToadKid.h" +#include "sprite/npc/Luigi.h" +#include "sprite/npc/Goompapa.h" +#include "sprite/npc/Goomama.h" +#include "sprite/npc/Gooma.h" +#include "sprite/npc/VannaT.h" + +enum { + NPC_Luigi_Intro = 0, + NPC_RussT = 0, + NPC_Toad_01 = 1, + NPC_Toad_02 = 2, + NPC_Toad_03 = 3, + NPC_TheMaster = 3, + NPC_Chan = 4, + NPC_Lee = 5, + NPC_ChuckQuizmo = 6, + NPC_Toad_04 = 7, + NPC_Toad_05 = 8, + NPC_Toad_06 = 9, + NPC_FickleLover = 10, + NPC_ShamelessLover = 11, + NPC_KrisT = 12, + NPC_MissT = 13, + NPC_FelissaT = 14, + NPC_DojoSpectator = 15, + NPC_DojoFan = 16, + NPC_Waterfront_Dad = 17, + NPC_Waterfront_Mom = 18, + NPC_Waterfront_Kid1 = 19, + NPC_Waterfront_Kid2 = 20, + NPC_ShyGuyThief = 21, + NPC_ShyGuy_02 = 22, + NPC_GardenShyGuy1 = 23, + NPC_Toad_11 = 24, + NPC_Luigi_Epilogue = 25, + NPC_Goompapa_Epilogue = 26, + NPC_Goomama_Epilogue = 27, + NPC_Gooma_Epilogue = 28, + NPC_HarryT = 29, + NPC_VannaT_Epilogue = 30, +}; + +enum { + MF_MusicMixTrigger1 = MapFlag(10), + MF_MusicMixTrigger2 = MapFlag(11), +}; + #define NAMESPACE mac_00 -extern s32 N(dojoBattleIDs)[]; +extern EvtScript N(EVS_Main); +extern EvtScript N(EVS_SetupMusic); +extern EvtScript N(EVS_SetupMusicTriggers); +extern EvtScript N(EVS_SetupShop); +extern EvtScript N(EVS_SetupRooms); +extern EvtScript N(EVS_SetupWaterCustomGfx); +extern EvtScript N(EVS_SetupDemo); +extern EvtScript N(EVS_Scene_Intro); +extern EvtScript N(EVS_Scene_BeginEpilogue); +extern EvtScript N(EVS_Scene_ToadTownGreeting); +extern EvtScript N(EVS_BlockExitToGoomaRoad); +extern EvtScript N(EVS_WaterfrontHouse_DoorLocked); +extern EvtScript N(EVS_MakeEntities); + +extern NpcGroupList N(IntroNPCs); +extern NpcGroupList N(EpilogueNPCs); +extern NpcGroupList N(DefaultNPCs); + +extern EvtScript ItemShopInteract; diff --git a/src/world/area_mac/mac_00/mac_00_0_header.c b/src/world/area_mac/mac_00/mac_00_0_header.c new file mode 100644 index 0000000000..a6a4e6d0aa --- /dev/null +++ b/src/world/area_mac/mac_00/mac_00_0_header.c @@ -0,0 +1,20 @@ +#include "mac_00.h" + +EntryList N(Entrances) = { + [mac_00_ENTRY_0] { -387.0, 0.0, -460.0, 125.0 }, + [mac_00_ENTRY_1] { 600.0, 0.0, 0.0, 270.0 }, + [mac_00_ENTRY_2] { -435.0, 147.0, -441.0, 125.0 }, + [mac_00_ENTRY_3] { 0.0, 50.0, 300.0, 180.0 }, + [mac_00_ENTRY_4] { -100.0, 30.0, -370.0, 180.0 }, + [mac_00_ENTRY_5] { -100.0, 30.0, -370.0, 135.0 }, + [mac_00_ENTRY_6] { -100.0, 30.0, -370.0, 135.0 }, + [mac_00_ENTRY_7] { -100.0, 30.0, -370.0, 135.0 }, +}; + +MapSettings N(settings) = { + .main = &N(EVS_Main), + .entryList = &N(Entrances), + .entryCount = ENTRY_COUNT(N(Entrances)), + .background = &gBackgroundImage, + .tattle = { MSG_MapTattle_mac_00 }, +}; diff --git a/src/world/area_mac/mac_00/mac_00_10_shared_npc.c b/src/world/area_mac/mac_00/mac_00_10_shared_npc.c new file mode 100644 index 0000000000..2166ccb4ad --- /dev/null +++ b/src/world/area_mac/mac_00/mac_00_10_shared_npc.c @@ -0,0 +1,717 @@ +#include "mac_00.h" + +#define NAME_SUFFIX _Shared +#include "world/common/npc/Toad_Wander.inc.c" +#include "world/common/npc/Toad_Patrol.inc.c" +#include "world/common/npc/Toad_Stationary.inc.c" +#include "world/common/complete/LetterDelivery.inc.c" +#define NAME_SUFFIX + +s32 N(LetterList_MissT)[] = { + ITEM_LETTER18, + ITEM_NONE +}; + +EvtScript N(EVS_LetterPrompt_MissT) = { + EVT_CALL(N(LetterDelivery_Init_Shared), + NPC_MissT, ANIM_Toadette_Orange_Talk, ANIM_Toadette_Orange_Idle, + ITEM_LETTER18, ITEM_LETTER19, + MSG_MAC_Gate_00FF, MSG_MAC_Gate_0100, MSG_MAC_Gate_0101, MSG_MAC_Gate_0102, + EVT_PTR(N(LetterList_MissT))) + EVT_EXEC_WAIT(N(EVS_DoLetterDelivery_Shared)) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_Scene_ToadTownGreeting) = { + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(UseSettingsFrom, CAM_DEFAULT, -225, 0, -300) + EVT_CALL(SetPanTarget, CAM_DEFAULT, -225, 0, -300) + EVT_CALL(SetCamDistance, CAM_DEFAULT, EVT_FLOAT(800.0)) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(90.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_THREAD + EVT_WAIT(35) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(2.1)) + EVT_CALL(UseSettingsFrom, CAM_DEFAULT, -225, 0, -300) + EVT_CALL(SetCamDistance, CAM_DEFAULT, EVT_FLOAT(300.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_CALL(WaitForCam, CAM_DEFAULT, EVT_FLOAT(1.0)) + EVT_WAIT(10) + EVT_CALL(InterpNpcYaw, NPC_Toad_04, 230, 0) + EVT_CALL(SetNpcJumpscale, NPC_Toad_04, EVT_FLOAT(1.5)) + EVT_CALL(GetNpcPos, NPC_Toad_04, LVar0, LVar1, LVar2) + EVT_CALL(NpcJump0, NPC_Toad_04, LVar0, LVar1, LVar2, 5) + EVT_WAIT(10) + EVT_CALL(SetNpcAnimation, NPC_Toad_04, ANIM_Toad_Red_Run) + EVT_CALL(NpcMoveTo, NPC_Toad_04, -185, -295, 15) + EVT_CALL(SetNpcAnimation, NPC_Toad_04, ANIM_Toad_Red_Idle) + EVT_END_THREAD + EVT_WAIT(2) + EVT_CALL(PlayerMoveTo, -225, -300, 80) + EVT_CALL(SetPlayerPos, -225, 0, -300) + EVT_WAIT(50) + EVT_THREAD + EVT_WAIT(20) + EVT_CALL(SetPlayerAnimation, ANIM_Mario_80007) + EVT_END_THREAD + EVT_CALL(SpeakToPlayer, NPC_Toad_04, ANIM_Toad_Red_Talk, ANIM_Toad_Red_Idle, 0, MSG_MAC_Gate_007E) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_CALL(SetCamDistance, CAM_DEFAULT, EVT_FLOAT(400.0)) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(4.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_CALL(WaitForCam, CAM_DEFAULT, EVT_FLOAT(1.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Toad_04) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Gate_007F) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(LVar0, MSG_MAC_Gate_0080) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_0081) + EVT_CASE_LT(STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_0082) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_0083) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_0084) + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC00_DictionaryStolen, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_0085) + EVT_ELSE + EVT_IF_EQ(GF_MAC00_DictionaryReturned, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_0086) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_0087) + EVT_END_IF + EVT_END_IF + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MAC_Gate_0088) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_0089) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MAC_Gate_008A) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_008B) + EVT_CASE_LT(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_SET(LVar0, MSG_MAC_Gate_008C) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_008D) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Gate_008E) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_002C) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Red_Talk, ANIM_Toad_Red_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_Scene_CantLeaveTown) = { + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(NpcFacePlayer, NPC_Toad_04, 0) + EVT_WAIT(5) + EVT_CALL(SpeakToPlayer, NPC_Toad_04, ANIM_Toad_Red_Talk, ANIM_Toad_Red_Idle, 0, MSG_Outro_002D) + EVT_WAIT(10) + EVT_CALL(SetPlayerSpeed, EVT_FLOAT(4.0)) + EVT_CALL(PlayerMoveTo, -220, -250, 0) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_BlockExitToGoomaRoad) = { + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_Scene_CantLeaveTown)), TRIGGER_FLOOR_TOUCH, COLLIDER_o484, 1, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Toad_05) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Gate_008F) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(LVar0, MSG_MAC_Gate_0090) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_0091) + EVT_CASE_LT(STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_0092) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_0093) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_0094) + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC00_DictionaryStolen, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_0095) + EVT_ELSE + EVT_IF_EQ(GF_MAC00_DictionaryReturned, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_0096) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_0097) + EVT_END_IF + EVT_END_IF + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MAC_Gate_0098) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_0099) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MAC_Gate_009A) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_009B) + EVT_CASE_LT(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_SET(LVar0, MSG_MAC_Gate_009C) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_009D) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Gate_009E) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_002E) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Red_Talk, ANIM_Toad_Red_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Toad_06) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Gate_009F) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(LVar0, MSG_MAC_Gate_00A0) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_00A1) + EVT_CASE_LT(STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_00A2) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_00A3) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_00A4) + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC00_DictionaryStolen, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_00A5) + EVT_ELSE + EVT_IF_EQ(GF_MAC00_DictionaryReturned, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_00A6) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_00A7) + EVT_END_IF + EVT_END_IF + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MAC_Gate_00A8) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_00A9) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MAC_Gate_00AA) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_00AB) + EVT_CASE_LT(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_SET(LVar0, MSG_MAC_Gate_00AC) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_00AD) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Gate_00AE) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_002F) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Yellow_Talk, ANIM_Toad_Yellow_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Lovers) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Gate_00AF) + EVT_SET(LVar1, MSG_MAC_Gate_00B0) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(LVar0, MSG_MAC_Gate_00B1) + EVT_SET(LVar1, MSG_MAC_Gate_00B2) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_00B3) + EVT_SET(LVar1, MSG_MAC_Gate_00B4) + EVT_CASE_LT(STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_00B5) + EVT_SET(LVar1, MSG_MAC_Gate_00B6) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_00B7) + EVT_SET(LVar1, MSG_MAC_Gate_00B8) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_00B9) + EVT_SET(LVar1, MSG_MAC_Gate_00BA) + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_ShyGuyBlockingTracks, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_00BB) + EVT_SET(LVar1, MSG_MAC_Gate_00BC) + EVT_ELSE + EVT_IF_EQ(GF_MAC03_ShyGuyChasedOff, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_00BD) + EVT_SET(LVar1, MSG_MAC_Gate_00BE) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_00BF) + EVT_SET(LVar1, MSG_MAC_Gate_00C0) + EVT_END_IF + EVT_END_IF + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MAC_Gate_00C1) + EVT_SET(LVar1, MSG_MAC_Gate_00C2) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_00C3) + EVT_SET(LVar1, MSG_MAC_Gate_00C4) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MAC_Gate_00C5) + EVT_SET(LVar1, MSG_MAC_Gate_00C6) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_00C7) + EVT_SET(LVar1, MSG_MAC_Gate_00C8) + EVT_CASE_LT(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_SET(LVar0, MSG_MAC_Gate_00C9) + EVT_SET(LVar1, MSG_MAC_Gate_00CA) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_00CB) + EVT_SET(LVar1, MSG_MAC_Gate_00CC) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Gate_00CD) + EVT_SET(LVar1, MSG_MAC_Gate_00CE) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_0030) + EVT_SET(LVar1, MSG_Outro_0031) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_FickleLover, ANIM_Toad_Blue_Talk, ANIM_Toad_Blue_Idle, 5, LVar0) + EVT_CALL(SpeakToPlayer, NPC_ShamelessLover, ANIM_Toadette_Pink_Talk, ANIM_Toadette_Pink_Idle, 5, LVar1) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_ThreeSisters) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Gate_00CF) + EVT_SET(LVar1, MSG_MAC_Gate_00D0) + EVT_SET(LVar2, MSG_MAC_Gate_00D1) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(LVar0, MSG_MAC_Gate_00D2) + EVT_SET(LVar1, MSG_MAC_Gate_00D3) + EVT_SET(LVar2, MSG_MAC_Gate_00D4) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_00D5) + EVT_SET(LVar1, MSG_MAC_Gate_00D6) + EVT_SET(LVar2, MSG_MAC_Gate_00D7) + EVT_CASE_LT(STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_00D8) + EVT_SET(LVar1, MSG_MAC_Gate_00D9) + EVT_SET(LVar2, MSG_MAC_Gate_00DA) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_00DB) + EVT_SET(LVar1, MSG_MAC_Gate_00DC) + EVT_SET(LVar2, MSG_MAC_Gate_00DD) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_00DE) + EVT_SET(LVar1, MSG_MAC_Gate_00DF) + EVT_SET(LVar2, MSG_MAC_Gate_00E0) + EVT_CASE_LT(STORY_CH4_RETURNED_STOREROOM_KEY) + EVT_IF_EQ(GF_MAC04_StoreroomKeyStolen, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_00E1) + EVT_SET(LVar1, MSG_MAC_Gate_00E2) + EVT_SET(LVar2, MSG_MAC_Gate_00E3) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_00E4) + EVT_SET(LVar1, MSG_MAC_Gate_00E5) + EVT_SET(LVar2, MSG_MAC_Gate_00E6) + EVT_END_IF + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_00E7) + EVT_SET(LVar1, MSG_MAC_Gate_00E8) + EVT_SET(LVar2, MSG_MAC_Gate_00E9) + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MAC_Gate_00EA) + EVT_SET(LVar1, MSG_MAC_Gate_00EB) + EVT_SET(LVar2, MSG_MAC_Gate_00EC) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_00ED) + EVT_SET(LVar1, MSG_MAC_Gate_00EE) + EVT_SET(LVar2, MSG_MAC_Gate_00EF) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MAC_Gate_00F0) + EVT_SET(LVar1, MSG_MAC_Gate_00F1) + EVT_SET(LVar2, MSG_MAC_Gate_00F2) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_00F3) + EVT_SET(LVar1, MSG_MAC_Gate_00F4) + EVT_SET(LVar2, MSG_MAC_Gate_00F5) + EVT_CASE_LT(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_SET(LVar0, MSG_MAC_Gate_00F6) + EVT_SET(LVar1, MSG_MAC_Gate_00F7) + EVT_SET(LVar2, MSG_MAC_Gate_00F8) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_00F9) + EVT_SET(LVar1, MSG_MAC_Gate_00FA) + EVT_SET(LVar2, MSG_MAC_Gate_00FB) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Gate_00FC) + EVT_SET(LVar1, MSG_MAC_Gate_00FD) + EVT_SET(LVar2, MSG_MAC_Gate_00FE) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_0032) + EVT_SET(LVar1, MSG_Outro_0033) + EVT_SET(LVar2, MSG_Outro_0034) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_KrisT, ANIM_Toadette_Green_Talk, ANIM_Toadette_Green_Idle, 0, LVar0) + EVT_CALL(SpeakToPlayer, NPC_MissT, ANIM_Toadette_Orange_Talk, ANIM_Toadette_Orange_Idle, 0, LVar1) + EVT_CALL(SpeakToPlayer, NPC_FelissaT, ANIM_Toadette_Purple_Talk, ANIM_Toadette_Purple_Idle, 0, LVar2) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_MissT) = { + EVT_EXEC_WAIT(N(EVS_NpcInteract_ThreeSisters)) + EVT_EXEC_WAIT(N(EVS_LetterPrompt_MissT)) + EVT_IF_NE(LVarC, 0) + EVT_RETURN + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Toad_08) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Gate_0103) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(LVar0, MSG_MAC_Gate_0104) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_0105) + EVT_CASE_LT(STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_0106) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_0107) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_0108) + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC00_DictionaryStolen, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_0109) + EVT_ELSE + EVT_IF_EQ(GF_MAC00_DictionaryReturned, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_010A) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_010B) + EVT_END_IF + EVT_END_IF + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MAC_Gate_010C) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_010D) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MAC_Gate_010E) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_010F) + EVT_CASE_LT(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_SET(LVar0, MSG_MAC_Gate_0110) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_0111) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Gate_0112) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_0035) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Blue_Talk, ANIM_Toad_Blue_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcAux_ShamelessLover) = { + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Toadette_Pink_Still) + EVT_WAIT(3) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Toadette_Pink_Idle) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcAux_KrisT) = { + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Toadette_Green_Still) + EVT_WAIT(2) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Toadette_Green_Idle) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcAux_MissT) = { + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Toadette_Orange_Still) + EVT_WAIT(6) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Toadette_Orange_Idle) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcAux_FelissaT) = { + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Toadette_Purple_Still) + EVT_WAIT(8) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Toadette_Purple_Idle) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Toad_09) = { + EVT_CALL(FindKeyItem, ITEM_FIRST_DEGREE_CARD, LVar1) + EVT_CALL(FindKeyItem, ITEM_SECOND_DEGREE_CARD, LVar2) + EVT_CALL(FindKeyItem, ITEM_THIRD_DEGREE_CARD, LVar3) + EVT_CALL(FindKeyItem, ITEM_FOURTH_DEGREE_CARD, LVar4) + EVT_CALL(FindKeyItem, ITEM_DIPLOMA, LVar5) + EVT_IF_NE(LVar1, -1) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Yellow_Talk, ANIM_Toad_Yellow_Idle, 0, MSG_MAC_Gate_0114) + EVT_RETURN + EVT_END_IF + EVT_IF_NE(LVar2, -1) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Yellow_Talk, ANIM_Toad_Yellow_Idle, 0, MSG_MAC_Gate_0115) + EVT_RETURN + EVT_END_IF + EVT_IF_NE(LVar3, -1) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Yellow_Talk, ANIM_Toad_Yellow_Idle, 0, MSG_MAC_Gate_0116) + EVT_RETURN + EVT_END_IF + EVT_IF_NE(LVar4, -1) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Yellow_Talk, ANIM_Toad_Yellow_Idle, 0, MSG_MAC_Gate_0117) + EVT_RETURN + EVT_END_IF + EVT_IF_NE(LVar5, -1) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Yellow_Talk, ANIM_Toad_Yellow_Idle, 0, MSG_MAC_Gate_0118) + EVT_RETURN + EVT_END_IF + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Yellow_Talk, ANIM_Toad_Yellow_Idle, 0, MSG_MAC_Gate_0113) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Toad_04) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Toad_04))) + EVT_IF_LT(GB_StoryProgress, STORY_EPILOGUE) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetEntryID, LVar0) + EVT_IF_NE(LVar0, mac_00_ENTRY_7) + EVT_EXEC(N(EVS_BlockExitToGoomaRoad)) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Toad_05) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Toad_05))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Toad_06) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Toad_06))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_FickleLover) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Lovers))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_ShamelessLover) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Lovers))) + EVT_CALL(BindNpcAux, NPC_SELF, EVT_PTR(N(EVS_NpcAux_ShamelessLover))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_KrisT) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_ThreeSisters))) + EVT_CALL(BindNpcAux, NPC_SELF, EVT_PTR(N(EVS_NpcAux_KrisT))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_MissT) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_MissT))) + EVT_CALL(BindNpcAux, NPC_SELF, EVT_PTR(N(EVS_NpcAux_MissT))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_FelissaT) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_ThreeSisters))) + EVT_CALL(BindNpcAux, NPC_SELF, EVT_PTR(N(EVS_NpcAux_FelissaT))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_DojoSpectator) = { + EVT_IF_GE(GB_StoryProgress, STORY_EPILOGUE) + EVT_CALL(SetNpcPos, NPC_DojoSpectator, 350, 20, -100) + EVT_END_IF + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Toad_08))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_DojoFan) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Toad_09))) + EVT_RETURN + EVT_END +}; + +StaticNpc N(NpcData_SharedTownsfolk)[] = { + { + .id = NPC_Toad_04, + .settings = &N(NpcSettings_Toad_Stationary_Shared), + .pos = { -150.0f, 0.0f, -275.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000, + .init = &N(EVS_NpcInit_Toad_04), + .drops = TOAD_DROPS, + .animations = TOAD_RED_ANIMS, + .tattle = MSG_NpcTattle_MAC_GateGuardian, + }, + { + .id = NPC_Toad_05, + .settings = &N(NpcSettings_Toad_Wander_Shared), + .pos = { 219.0f, 0.0f, -45.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000, + .init = &N(EVS_NpcInit_Toad_05), + .drops = TOAD_DROPS, + .territory = { + .patrol = { + .isFlying = TRUE, + .moveSpeedOverride = NO_OVERRIDE_MOVEMENT_SPEED, + .numPoints = 5, + .points = { + { 219, 0, -45 }, + { 144, 0, -10 }, + { 163, 0, -50 }, + { 240, 0, 50 }, + { 275, 0, 10 }, + }, + .detectShape = SHAPE_CYLINDER, + .detectPos = { 0, 0, 0 }, + .detectSize = { 200 }, + } + }, + .animations = TOAD_RED_ANIMS, + .tattle = MSG_NpcTattle_MAC_ShopLoiterer, + }, + { + .id = NPC_Toad_06, + .settings = &N(NpcSettings_Toad_Patrol_Shared), + .pos = { -290.0f, 0.0f, -120.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000, + .init = &N(EVS_NpcInit_Toad_06), + .drops = TOAD_DROPS, + .territory = { + .patrol = { + .isFlying = TRUE, + .moveSpeedOverride = NO_OVERRIDE_MOVEMENT_SPEED, + .numPoints = 2, + .points = { + { -290, 0, -120 }, + { 37, 0, -150 }, + }, + .detectShape = SHAPE_CYLINDER, + .detectPos = { 0, 0, 0 }, + .detectSize = { 200 }, + } + }, + .animations = TOAD_YELLOW_ANIMS, + .tattle = MSG_NpcTattle_MAC_NewsEnthusiast, + }, + { + .id = NPC_FickleLover, + .settings = &N(NpcSettings_Toad_Stationary_Shared), + .pos = { -40.0f, 0.0f, 61.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_400000, + .init = &N(EVS_NpcInit_FickleLover), + .drops = TOAD_DROPS, + .animations = TOAD_BLUE_ANIMS, + .tattle = MSG_NpcTattle_MAC_FickleLovers, + }, + { + .id = NPC_ShamelessLover, + .settings = &N(NpcSettings_Toad_Stationary_Shared), + .pos = { -15.0f, 0.0f, 60.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_400000, + .init = &N(EVS_NpcInit_ShamelessLover), + .drops = TOADETTE_DROPS, + .animations = TOADETTE_PINK_ANIMS, + .tattle = MSG_NpcTattle_MAC_ShamelessLover, + }, + { + .id = NPC_KrisT, + .settings = &N(NpcSettings_Toad_Stationary_Shared), + .pos = { 426.0f, 20.0f, 268.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000, + .init = &N(EVS_NpcInit_KrisT), + .drops = TOADETTE_DROPS, + .animations = TOADETTE_GREEN_ANIMS, + .tattle = MSG_NpcTattle_MAC_ThreeSisters_Eldest, + }, + { + .id = NPC_MissT, + .settings = &N(NpcSettings_Toad_Stationary_Shared), + .pos = { 381.0f, 20.0f, 326.0f }, + .yaw = 180, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000, + .init = &N(EVS_NpcInit_MissT), + .drops = TOADETTE_DROPS, + .animations = TOADETTE_ORANGE_ANIMS, + .tattle = MSG_NpcTattle_MAC_ThreeSisters_Middle, + }, + { + .id = NPC_FelissaT, + .settings = &N(NpcSettings_Toad_Stationary_Shared), + .pos = { 476.0f, 20.0f, 326.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000, + .init = &N(EVS_NpcInit_FelissaT), + .drops = TOADETTE_DROPS, + .animations = TOADETTE_PURPLE_ANIMS, + .tattle = MSG_NpcTattle_MAC_ThreeSisters_Youngest, + }, + { + .id = NPC_DojoSpectator, + .settings = &N(NpcSettings_Toad_Stationary_Shared), + .pos = { 424.0f, 20.0f, -85.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000, + .init = &N(EVS_NpcInit_DojoSpectator), + .drops = TOAD_DROPS, + .animations = TOAD_BLUE_ANIMS, + .tattle = MSG_NpcTattle_MAC_DojoSpectator, + }, + { + .id = NPC_DojoFan, + .settings = &N(NpcSettings_Toad_Stationary_Shared), + .pos = { 373.0f, 0.0f, 22.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000, + .init = &N(EVS_NpcInit_DojoFan), + .drops = TOAD_DROPS, + .animations = TOAD_YELLOW_ANIMS, + .tattle = MSG_NpcTattle_MAC_DojoFanToad, + }, +}; diff --git a/src/world/area_mac/mac_00/mac_00_11_intro_npc.c b/src/world/area_mac/mac_00/mac_00_11_intro_npc.c new file mode 100644 index 0000000000..6d9c712b27 --- /dev/null +++ b/src/world/area_mac/mac_00/mac_00_11_intro_npc.c @@ -0,0 +1,135 @@ +#include "mac_00.h" + +#define NAME_SUFFIX _Intro +#include "world/common/npc/Luigi.inc.c" +#include "world/common/npc/Toad_Stationary.inc.c" +#include "world/common/npc/Toad_Wander.inc.c" +#define NAME_SUFFIX + +EvtScript N(EVS_NpcInit_Chan_Intro) = { + EVT_CALL(SetNpcPos, NPC_SELF, 570, 20, -150) + EVT_CALL(SetNpcYaw, NPC_SELF, 270) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Lee_Intro) = { + EVT_CALL(SetNpcPos, NPC_SELF, 600, 20, -145) + EVT_CALL(SetNpcYaw, NPC_SELF, 270) + EVT_RETURN + EVT_END +}; + +s32 N(ExtraAnims_Chan_Intro)[] = { + ANIM_Chan_Still, + ANIM_Chan_Idle, + ANIM_Chan_Run, + -1 +}; + +s32 N(ExtraAnims_Lee_Intro)[] = { + ANIM_Lee_Still, + ANIM_Lee_Idle, + ANIM_Lee_Talk, + -1 +}; + +StaticNpc N(NpcData_IntroNPCs)[] = { + { + .id = NPC_Luigi_Intro, + .settings = &N(NpcSettings_Luigi_Intro), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_4 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_200 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800, + .drops = LUIGI_DROPS, + .animations = LUIGI_ANIMS, + }, + { + .id = NPC_Toad_01, + .settings = &N(NpcSettings_Toad_Stationary_Intro), + .pos = { -150.0f, 0.0f, -275.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000, + .drops = TOAD_DROPS, + .animations = TOAD_RED_ANIMS, + .tattle = MSG_NpcTattle_MAC_GateGuardian, + }, + { + .id = NPC_Toad_02, + .settings = &N(NpcSettings_Toad_Wander_Intro), + .pos = { 219.0f, 0.0f, -45.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000, + .drops = TOAD_DROPS, + .territory = { + .patrol = { + .isFlying = TRUE, + .moveSpeedOverride = NO_OVERRIDE_MOVEMENT_SPEED, + .numPoints = 5, + .points = { + { 219, 0, -45 }, + { 144, 0, -10 }, + { 163, 0, -50 }, + { 240, 0, 50 }, + { 275, 0, 10 }, + }, + .detectShape = SHAPE_CYLINDER, + .detectPos = { 0, 0, 0 }, + .detectSize = { 200 }, + } + }, + .animations = TOAD_RED_ANIMS, + .tattle = MSG_NpcTattle_MAC_ShopLoiterer, + }, + { + .id = NPC_Toad_03, + .settings = &N(NpcSettings_Toad_Stationary_Intro), + .pos = { 424.0f, 20.0f, -85.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000, + .drops = TOAD_DROPS, + .animations = TOAD_BLUE_ANIMS, + .tattle = MSG_NpcTattle_MAC_DojoSpectator, + }, + { + .id = NPC_Chan, + .settings = &N(NpcSettings_Toad_Stationary_Intro), + .pos = { 310.0f, 115.0f, -390.0f }, + .yaw = 45, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000, + .init = &N(EVS_NpcInit_Chan_Intro), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_Chan_Idle, + }, + .extraAnimations = N(ExtraAnims_Chan_Intro), + .tattle = MSG_NpcTattle_Chan, + }, + { + .id = NPC_Lee, + .settings = &N(NpcSettings_Toad_Stationary_Intro), + .pos = { 330.0f, 115.0f, -410.0f }, + .yaw = 45, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000, + .init = &N(EVS_NpcInit_Lee_Intro), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_Lee_Idle, + }, + .extraAnimations = N(ExtraAnims_Lee_Intro), + .tattle = MSG_NpcTattle_Lee, + }, +}; + +NpcGroupList N(IntroNPCs) = { + NPC_GROUP(N(NpcData_IntroNPCs)), + {} +}; diff --git a/src/world/area_mac/mac_00/mac_00_12_intro.c b/src/world/area_mac/mac_00/mac_00_12_intro.c new file mode 100644 index 0000000000..273a2e6a12 --- /dev/null +++ b/src/world/area_mac/mac_00/mac_00_12_intro.c @@ -0,0 +1,92 @@ +#include "mac_00.h" + +EvtScript N(EVS_PlayerExitPipe_Intro) = { + EVT_CALL(DisablePlayerPhysics, TRUE) + EVT_CALL(HidePlayerShadow, TRUE) + EVT_CALL(SetPlayerPos, -100, -10, -370) + EVT_CALL(InterpPlayerYaw, 135, 0) + EVT_WAIT(2) + EVT_CALL(PlaySoundAtPlayer, SOUND_ENTER_PIPE, 0) + EVT_CALL(func_802D286C, 0x100) + EVT_CALL(func_802D2520, ANIM_Mario_10002, 5, 2, 1, 1, 0) + EVT_CALL(GetPlayerPos, LVar0, LVar1, LVar2) + EVT_LOOP(40) + EVT_ADD(LVar1, 1) + EVT_CALL(SetPlayerPos, LVar0, LVar1, LVar2) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(func_802D2520, ANIM_Mario_10002, 0, 0, 0, 0, 0) + EVT_CALL(HidePlayerShadow, FALSE) + EVT_CALL(DisablePlayerPhysics, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_LuigiExitPipe_Intro) = { + EVT_CALL(EnableNpcShadow, NPC_Luigi_Intro, FALSE) + EVT_CALL(SetNpcPos, NPC_Luigi_Intro, -100, -35, -370) + EVT_CALL(SetNpcYaw, NPC_Luigi_Intro, 135) + EVT_WAIT(2) + EVT_CALL(PlaySoundAtNpc, NPC_Luigi_Intro, SOUND_ENTER_PIPE, 0) + EVT_CALL(func_802CFE2C, 0, 0x100) + EVT_CALL(func_802CFD30, 0, 5, 2, 1, 1, 0) + EVT_CALL(SetNpcPos, NPC_Luigi_Intro, -100, -10, -370) + EVT_CALL(GetNpcPos, NPC_Luigi_Intro, LVar0, LVar1, LVar2) + EVT_LOOP(45) + EVT_ADD(LVar1, 1) + EVT_CALL(SetNpcPos, NPC_Luigi_Intro, LVar0, LVar1, LVar2) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(func_802CFD30, 0, 0, 0, 0, 0, 0) + EVT_CALL(SetNpcPos, NPC_Luigi_Intro, -100, 30, -370) + EVT_WAIT(3) + EVT_CALL(EnableNpcShadow, NPC_Luigi_Intro, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_Scene_Intro) = { + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(UseSettingsFrom, CAM_DEFAULT, -100, 30, -370) + EVT_CALL(SetPanTarget, CAM_DEFAULT, -100, 30, -370) + EVT_CALL(SetCamDistance, CAM_DEFAULT, EVT_FLOAT(300.0)) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(90.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_THREAD + EVT_EXEC_WAIT(N(EVS_PlayerExitPipe_Intro)) + EVT_WAIT(10) + EVT_CALL(func_802D1270, -60, -320, EVT_FLOAT(4.0)) + EVT_WAIT(63) + EVT_CALL(func_802D1270, 80, -60, EVT_FLOAT(4.0)) + EVT_CALL(func_802D1270, 180, 0, EVT_FLOAT(4.0)) + EVT_CALL(func_802D1270, 650, 0, EVT_FLOAT(4.0)) + EVT_END_THREAD + EVT_THREAD + EVT_WAIT(70) + EVT_EXEC_WAIT(N(EVS_LuigiExitPipe_Intro)) + EVT_WAIT(10) + EVT_CALL(SetNpcFlagBits, NPC_Luigi_Intro, NPC_FLAG_GRAVITY, TRUE) + EVT_CALL(SetNpcAnimation, NPC_Luigi_Intro, ANIM_Luigi_Run) + EVT_CALL(SetNpcSpeed, NPC_Luigi_Intro, EVT_FLOAT(4.0)) + EVT_CALL(NpcMoveTo, NPC_Luigi_Intro, 80, -60, 0) + EVT_CALL(NpcMoveTo, NPC_Luigi_Intro, 180, 0, 0) + EVT_CALL(NpcMoveTo, NPC_Luigi_Intro, 650, 0, 0) + EVT_END_THREAD + EVT_WAIT(70) + EVT_CALL(SetPanTarget, CAM_DEFAULT, -60, 0, -320) + EVT_CALL(SetCamDistance, CAM_DEFAULT, EVT_FLOAT(600.0)) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(2.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_CALL(WaitForCam, CAM_DEFAULT, EVT_FLOAT(1.0)) + EVT_CALL(UseSettingsFrom, CAM_DEFAULT, 400, 0, 0) + EVT_CALL(SetPanTarget, CAM_DEFAULT, 400, 0, 0) + EVT_CALL(SetCamDistance, CAM_DEFAULT, EVT_FLOAT(450.0)) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(0.5)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_CALL(WaitForCam, CAM_DEFAULT, EVT_FLOAT(1.0)) + EVT_CALL(GotoMap, EVT_PTR("mac_01"), mac_01_ENTRY_4) + EVT_WAIT(100) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_00/mac_00_13_epilogue_npc.c b/src/world/area_mac/mac_00/mac_00_13_epilogue_npc.c new file mode 100644 index 0000000000..b98ddcbce5 --- /dev/null +++ b/src/world/area_mac/mac_00/mac_00_13_epilogue_npc.c @@ -0,0 +1,462 @@ +#include "mac_00.h" + +#define NAME_SUFFIX _Epilogue +#include "world/common/npc/Luigi.inc.c" +#include "world/common/npc/GoombaFamily.inc.c" +#include "world/common/npc/Toad_Stationary.inc.c" +#define NAME_SUFFIX + +EvtScript N(EVS_NpcInteract_Goompapa_Epilogue) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Goompapa_Talk, ANIM_Goompapa_Idle, 0, MSG_Outro_0024) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Goompapa_Epilogue) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Goompapa_Epilogue))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Goomama_Epilogue) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Goomama_Talk, ANIM_Goomama_Idle, 0, MSG_Outro_0025) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Goomama_Epilogue) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Goomama_Epilogue))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Gooma_Epilogue) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Gooma_Talk, ANIM_Gooma_Idle, 0, MSG_Outro_0026) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Gooma_Epilogue) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Gooma_Epilogue))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_ChuckQuizmo_Epilogue) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_ChuckQuizmo_Talk, ANIM_ChuckQuizmo_Idle, 0, MSG_Outro_0027) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_ChuckQuizmo_Epilogue) = { + EVT_CALL(SetNpcPos, NPC_ChuckQuizmo, 460, 20, -130) + EVT_CALL(SetNpcYaw, NPC_ChuckQuizmo, 90) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_ChuckQuizmo_Epilogue))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_VannaT_Epilogue) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_VannaT_Wave, ANIM_VannaT_Wave, 0, MSG_Outro_003B) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_VannaT_Epilogue) = { + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_VannaT_Happy) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_VannaT_Epilogue))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Chan_Epilogue) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Chan_Run, ANIM_Chan_Idle, 0, MSG_Outro_0029) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Chan_Epilogue) = { + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_tt, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Chan_Epilogue))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Lee_Epilogue) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Lee_Talk, ANIM_Lee_Idle, 0, MSG_Outro_002A) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Lee_Epilogue) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Lee_Epilogue))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_TheMaster_Epilogue) = { + EVT_CALL(SpeakToPlayer, NPC_TheMaster, ANIM_TheMaster_Talk, ANIM_TheMaster_Idle, 0, MSG_Outro_0028) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_TheMaster_Epilogue) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_TheMaster_Epilogue))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Toad_01_Epilogue) = { + EVT_CALL(SpeakToPlayer, NPC_Toad_01, ANIM_HarryT_Talk, ANIM_HarryT_Idle, 0, MSG_Outro_002B) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Toad_01_Epilogue) = { + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_mono1, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_mono2, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_mono3, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_mono4, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_mono5, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_mono6, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_dummy, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Toad_01_Epilogue))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_HarryT_Epilogue) = { + EVT_CALL(SpeakToPlayer, NPC_HarryT, ANIM_HarryT_Talk, ANIM_HarryT_Idle, 0, MSG_Outro_003A) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_HarryT_Epilogue) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_HarryT_Epilogue))) + EVT_RETURN + EVT_END +}; + +s32 N(ExtraAnims_Luigi_Epilogue)[] = { + ANIM_Luigi_Still, + ANIM_Luigi_Idle, + ANIM_Luigi_Walk, + ANIM_Luigi_Run, + ANIM_Luigi_Talk, + -1 +}; + +StaticNpc N(NpcData_Luigi_Epilogue) = { + .id = NPC_Luigi_Epilogue, + .settings = &N(NpcSettings_Luigi_Epilogue), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_4 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_200 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800, + .drops = LUIGI_DROPS, + .animations = LUIGI_ANIMS, + .extraAnimations = N(ExtraAnims_Luigi_Epilogue), +}; + +s32 N(ExtraAnims_Goompapa_Epilogue)[] = { + ANIM_Goompapa_Still, + ANIM_Goompapa_Idle, + ANIM_Goompapa_Talk, + -1 +}; + +s32 N(ExtraAnims_Goomama_Epilogue)[] = { + ANIM_Goomama_Still, + ANIM_Goomama_Idle, + ANIM_Goomama_Talk, + -1 +}; + +s32 N(ExtraAnims_Gooma_Epilogue)[] = { + ANIM_Gooma_Still, + ANIM_Gooma_Idle, + ANIM_Gooma_Talk, + -1 +}; + +StaticNpc N(NpcData_Goompapa_Epilogue)[] = { + { + .id = NPC_Goompapa_Epilogue, + .settings = &N(NpcSettings_GoombaFamily_Epilogue), + .pos = { 70.0f, 0.0f, -30.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000, + .init = &N(EVS_NpcInit_Goompapa_Epilogue), + .drops = GOOMPAPA_DROPS, + .animations = GOOMPAPA_ANIMS, + .extraAnimations = N(ExtraAnims_Goompapa_Epilogue), + .tattle = MSG_NpcTattle_Goompapa, + }, + { + .id = NPC_Goomama_Epilogue, + .settings = &N(NpcSettings_GoombaFamily_Epilogue), + .pos = { 40.0f, 0.0f, 20.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000, + .init = &N(EVS_NpcInit_Goomama_Epilogue), + .drops = GOOMAMA_DROPS, + .animations = GOOMAMA_ANIMS, + .extraAnimations = N(ExtraAnims_Goomama_Epilogue), + .tattle = MSG_NpcTattle_Goomama, + }, + { + .id = NPC_Gooma_Epilogue, + .settings = &N(NpcSettings_GoombaFamily_Epilogue), + .pos = { 20.0f, 0.0f, -35.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000, + .init = &N(EVS_NpcInit_Gooma_Epilogue), + .drops = GOOMA_DROPS, + .animations = GOOMA_ANIMS, + .extraAnimations = N(ExtraAnims_Gooma_Epilogue), + .tattle = MSG_NpcTattle_Gooma, + }, +}; + +s32 N(ExtraAnims_Quizmo_Epilogue)[] = { + ANIM_ChuckQuizmo_Still, + ANIM_ChuckQuizmo_Idle, + ANIM_ChuckQuizmo_Talk, + -1 +}; + +s32 N(ExtraAnims_VannaT_Epilogue)[] = { + ANIM_VannaT_Still, + ANIM_VannaT_Happy, + ANIM_VannaT_Wave, + -1 +}; + +StaticNpc N(NpcData_ChuckQuizmo_Epilogue)[] = { + { + .id = NPC_ChuckQuizmo, + .settings = &N(NpcSettings_Luigi_Epilogue), + .pos = { 545.0f, 20.0f, 150.0f }, + .yaw = 30, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_ChuckQuizmo_Epilogue), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_ChuckQuizmo_Idle, + .walk = ANIM_ChuckQuizmo_Walk, + .run = ANIM_ChuckQuizmo_Run, + .chase = ANIM_ChuckQuizmo_Run, + .anim_4 = ANIM_ChuckQuizmo_Idle, + .anim_5 = ANIM_ChuckQuizmo_Idle, + .death = ANIM_ChuckQuizmo_Still, + .hit = ANIM_ChuckQuizmo_Still, + .anim_8 = ANIM_ChuckQuizmo_Run, + .anim_9 = ANIM_ChuckQuizmo_Run, + .anim_A = ANIM_ChuckQuizmo_Run, + .anim_B = ANIM_ChuckQuizmo_Run, + .anim_C = ANIM_ChuckQuizmo_Run, + .anim_D = ANIM_ChuckQuizmo_Run, + .anim_E = ANIM_ChuckQuizmo_Run, + .anim_F = ANIM_ChuckQuizmo_Run, + }, + .extraAnimations = N(ExtraAnims_Quizmo_Epilogue), + .tattle = MSG_NpcTattle_ChuckQuizmo, + }, + { + .id = NPC_VannaT_Epilogue, + .settings = &N(NpcSettings_Toad_Stationary_Epilogue), + .pos = { 500.0f, 20.0f, -130.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_VannaT_Epilogue), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_VannaT_Still, + .walk = ANIM_VannaT_Walk, + .run = ANIM_VannaT_Still, + .chase = ANIM_VannaT_Still, + .anim_4 = ANIM_VannaT_Still, + .anim_5 = ANIM_VannaT_Still, + .death = ANIM_VannaT_Still, + .hit = ANIM_VannaT_Still, + .anim_8 = ANIM_VannaT_Still, + .anim_9 = ANIM_VannaT_Still, + .anim_A = ANIM_VannaT_Still, + .anim_B = ANIM_VannaT_Still, + .anim_C = ANIM_VannaT_Still, + .anim_D = ANIM_VannaT_Still, + .anim_E = ANIM_VannaT_Still, + .anim_F = ANIM_VannaT_Still, + }, + .extraAnimations = N(ExtraAnims_VannaT_Epilogue), + .tattle = MSG_NpcTattle_MAC00_ShopOwner, + }, +}; + +s32 N(D_80254944_7FF654_Epilogue)[] = { + ANIM_TheMaster_Still, + ANIM_TheMaster_Idle, + ANIM_TheMaster_Talk, + -1 +}; + +s32 N(D_80254954_7FF664_Epilogue)[] = { + ANIM_Chan_Still, + ANIM_Chan_Idle, + ANIM_Chan_Run, + -1 +}; + +s32 N(D_80254964_7FF674_Epilogue)[] = { + ANIM_Lee_Still, + ANIM_Lee_Idle, + ANIM_Lee_Talk, + -1 +}; + +StaticNpc N(NpcData_DojoMembers_Epilogue)[] = { + { + .id = NPC_TheMaster, + .settings = &N(NpcSettings_Luigi_Epilogue), + .pos = { 375.0f, 115.0f, -440.0f }, + .yaw = 225, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_4 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000, + .init = &N(EVS_NpcInit_TheMaster_Epilogue), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_TheMaster_Idle, + .walk = ANIM_TheMaster_Still, + .run = ANIM_TheMaster_Still, + .chase = ANIM_TheMaster_Still, + .anim_4 = ANIM_TheMaster_Still, + .anim_5 = ANIM_TheMaster_Still, + .death = ANIM_TheMaster_Still, + .hit = ANIM_TheMaster_Still, + .anim_8 = ANIM_TheMaster_Still, + .anim_9 = ANIM_TheMaster_Still, + .anim_A = ANIM_TheMaster_Still, + .anim_B = ANIM_TheMaster_Still, + .anim_C = ANIM_TheMaster_Still, + .anim_D = ANIM_TheMaster_Still, + .anim_E = ANIM_TheMaster_Still, + .anim_F = ANIM_TheMaster_Still, + }, + .extraAnimations = N(D_80254944_7FF654_Epilogue), + .tattle = MSG_NpcTattle_TheMaster, + }, + { + .id = NPC_Chan, + .settings = &N(NpcSettings_Luigi_Epilogue), + .pos = { 310.0f, 115.0f, -390.0f }, + .yaw = 45, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_4 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000, + .init = &N(EVS_NpcInit_Chan_Epilogue), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_Chan_Idle, + }, + .extraAnimations = N(D_80254954_7FF664_Epilogue), + .tattle = MSG_NpcTattle_Chan, + }, + { + .id = NPC_Lee, + .settings = &N(NpcSettings_Luigi_Epilogue), + .pos = { 330.0f, 115.0f, -410.0f }, + .yaw = 45, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_4 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000, + .init = &N(EVS_NpcInit_Lee_Epilogue), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_Lee_Idle, + }, + .extraAnimations = N(D_80254964_7FF674_Epilogue), + .tattle = MSG_NpcTattle_Lee, + }, +}; + +s32 N(ExtraAnims_HarryT_Epilogue)[] = { + ANIM_HarryT_Still, + ANIM_HarryT_Idle, + ANIM_HarryT_Talk, + -1 +}; + +StaticNpc N(NpcData_Toad_01_Epilogue)[] = { + { + .id = NPC_Toad_01, + .settings = &N(NpcSettings_Toad_Stationary_Epilogue), + .pos = { 430.0f, 20.0f, -373.0f }, + .yaw = 223, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000, + .init = &N(EVS_NpcInit_Toad_01_Epilogue), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_HarryT_Idle, + .walk = ANIM_HarryT_Walk, + .run = ANIM_HarryT_Run, + .chase = ANIM_HarryT_Run, + .anim_4 = ANIM_HarryT_Idle, + }, + .extraAnimations = N(ExtraAnims_HarryT_Epilogue), + .tattle = MSG_NpcTattle_MAC00_ShopOwner, + }, + { + .id = NPC_HarryT, + .settings = &N(NpcSettings_Toad_Stationary_Epilogue), + .pos = { 410.0f, 20.0f, -320.0f }, + .yaw = 43, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000, + .init = &N(EVS_NpcInit_HarryT_Epilogue), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_HarryT_Idle, + .walk = ANIM_HarryT_Walk, + .run = ANIM_HarryT_Run, + .chase = ANIM_HarryT_Run, + .anim_4 = ANIM_HarryT_Idle, + }, + .extraAnimations = N(ExtraAnims_HarryT_Epilogue), + .tattle = MSG_NpcTattle_MAC00_ShopOwner, + }, +}; + +extern StaticNpc N(NpcData_SharedTownsfolk)[9]; //@bug this NPC list actually has 10 NPCs in it... +extern StaticNpc N(NpcData_Waterfront_Family)[4]; + +NpcGroupList N(EpilogueNPCs) = { + NPC_GROUP(N(NpcData_Luigi_Epilogue)), + NPC_GROUP(N(NpcData_DojoMembers_Epilogue)), + NPC_GROUP(N(NpcData_Goompapa_Epilogue)), + NPC_GROUP(N(NpcData_ChuckQuizmo_Epilogue)), + NPC_GROUP(N(NpcData_Toad_01_Epilogue)), + NPC_GROUP(N(NpcData_SharedTownsfolk)), + NPC_GROUP(N(NpcData_Waterfront_Family)), + {} +}; diff --git a/src/world/area_mac/mac_00/mac_00_14_epilogue.c b/src/world/area_mac/mac_00/mac_00_14_epilogue.c new file mode 100644 index 0000000000..d03ae5a3ef --- /dev/null +++ b/src/world/area_mac/mac_00/mac_00_14_epilogue.c @@ -0,0 +1,93 @@ +#include "mac_00.h" + +EvtScript N(EVS_PlayerExitPipe_Epilogue) = { + EVT_CALL(DisablePlayerPhysics, TRUE) + EVT_CALL(HidePlayerShadow, TRUE) + EVT_CALL(SetPlayerPos, -100, -10, -370) + EVT_CALL(InterpPlayerYaw, 135, 0) + EVT_WAIT(2) + EVT_CALL(PlaySoundAtPlayer, SOUND_ENTER_PIPE, 0) + EVT_CALL(func_802D286C, 0x100) + EVT_CALL(func_802D2520, ANIM_Mario_10002, 5, 2, 1, 1, 0) + EVT_CALL(GetPlayerPos, LVar0, LVar1, LVar2) + EVT_LOOP(40) + EVT_ADD(LVar1, 1) + EVT_CALL(SetPlayerPos, LVar0, LVar1, LVar2) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(func_802D2520, ANIM_Mario_10002, 0, 0, 0, 0, 0) + EVT_CALL(HidePlayerShadow, FALSE) + EVT_CALL(DisablePlayerPhysics, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_LuigiExitPipe_Epilogue) = { + EVT_CALL(EnableNpcShadow, NPC_Luigi_Epilogue, FALSE) + EVT_CALL(SetNpcPos, NPC_Luigi_Epilogue, -100, -35, -370) + EVT_CALL(SetNpcYaw, NPC_Luigi_Epilogue, 135) + EVT_WAIT(2) + EVT_CALL(PlaySoundAtNpc, NPC_Luigi_Epilogue, SOUND_ENTER_PIPE, 0) + EVT_CALL(func_802CFE2C, 25, 0x100) + EVT_CALL(func_802CFD30, 25, 5, 2, 1, 1, 0) + EVT_CALL(SetNpcPos, NPC_Luigi_Epilogue, -100, -10, -370) + EVT_CALL(GetNpcPos, NPC_Luigi_Epilogue, LVar0, LVar1, LVar2) + EVT_LOOP(45) + EVT_ADD(LVar1, 1) + EVT_CALL(SetNpcPos, NPC_Luigi_Epilogue, LVar0, LVar1, LVar2) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(func_802CFD30, 25, 0, 0, 0, 0, 0) + EVT_CALL(SetNpcPos, NPC_Luigi_Epilogue, -100, 30, -370) + EVT_WAIT(3) + EVT_CALL(EnableNpcShadow, NPC_Luigi_Epilogue, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_Scene_BeginEpilogue) = { + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(UseSettingsFrom, CAM_DEFAULT, -100, 30, -370) + EVT_CALL(SetPanTarget, CAM_DEFAULT, -100, 30, -370) + EVT_CALL(SetCamDistance, CAM_DEFAULT, EVT_FLOAT(300.0)) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(90.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_THREAD + EVT_EXEC_WAIT(N(EVS_PlayerExitPipe_Epilogue)) + EVT_WAIT(10) + EVT_CALL(func_802D1270, -60, -320, EVT_FLOAT(4.0)) + EVT_END_THREAD + EVT_THREAD + EVT_WAIT(70) + EVT_EXEC_WAIT(N(EVS_LuigiExitPipe_Epilogue)) + EVT_WAIT(10) + EVT_CALL(SetNpcFlagBits, NPC_Luigi_Epilogue, NPC_FLAG_GRAVITY, TRUE) + EVT_CALL(SetNpcAnimation, NPC_Luigi_Epilogue, ANIM_Luigi_Run) + EVT_CALL(SetNpcSpeed, NPC_Luigi_Epilogue, EVT_FLOAT(4.0)) + EVT_CALL(NpcMoveTo, NPC_Luigi_Epilogue, -100, -300, 0) + EVT_CALL(SetNpcAnimation, NPC_Luigi_Epilogue, ANIM_Luigi_Idle) + EVT_END_THREAD + EVT_WAIT(70) + EVT_CALL(UseSettingsFrom, CAM_DEFAULT, -60, 0, -320) + EVT_CALL(SetPanTarget, CAM_DEFAULT, -60, 0, -320) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(2.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_WAIT(80) + EVT_CALL(SpeakToPlayer, NPC_Luigi_Epilogue, ANIM_Luigi_Talk, ANIM_Luigi_Idle, 0, MSG_Outro_0023) + EVT_WAIT(10) + EVT_CHILD_THREAD + EVT_LOOP(0) + EVT_CALL(PlayerFaceNpc, NPC_Luigi_Epilogue, FALSE) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_CHILD_THREAD + EVT_CALL(SetNpcAnimation, NPC_Luigi_Epilogue, ANIM_Luigi_Run) + EVT_CALL(NpcMoveTo, NPC_Luigi_Epilogue, 60, -100, 0) + EVT_CALL(SetNpcFlagBits, NPC_Luigi_Epilogue, NPC_FLAG_GRAVITY, FALSE) + EVT_CALL(SetNpcPos, NPC_Luigi_Epilogue, NPC_DISPOSE_LOCATION) + EVT_EXEC(N(EVS_BlockExitToGoomaRoad)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 0) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_00/mac_00_1_music.c b/src/world/area_mac/mac_00/mac_00_1_music.c new file mode 100644 index 0000000000..87a9e9aea3 --- /dev/null +++ b/src/world/area_mac/mac_00/mac_00_1_music.c @@ -0,0 +1,25 @@ +#include "mac_00.h" + +EvtScript N(EVS_SetupMusic) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_EQ(STORY_INTRO) + EVT_CALL(SetMusicTrack, 0, SONG_PEACHS_CASTLE_PARTY, 1, 8) + EVT_CASE_EQ(STORY_EPILOGUE) + EVT_CALL(SetMusicTrack, 0, SONG_PEACHS_CASTLE_PARTY, 0, 8) + EVT_CASE_RANGE(STORY_CH3_STAR_SPRIT_DEPARTED, STORY_CH4_STAR_SPIRIT_RESCUED) + EVT_CALL(SetMusicTrack, 0, SONG_SHY_GUY_INVASION, 0, 8) + EVT_CASE_DEFAULT + EVT_EXEC(N(EVS_SetupMusicTriggers)) + EVT_END_SWITCH + EVT_CALL(GetEntryID, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(mac_00_ENTRY_4) + EVT_CASE_OR_EQ(mac_00_ENTRY_5) + EVT_CASE_OR_EQ(mac_00_ENTRY_6) + EVT_CASE_OR_EQ(mac_00_ENTRY_7) + EVT_CALL(ClearAmbientSounds, 250) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_00/mac_00_2_main.c b/src/world/area_mac/mac_00/mac_00_2_main.c new file mode 100644 index 0000000000..aa530d16ee --- /dev/null +++ b/src/world/area_mac/mac_00/mac_00_2_main.c @@ -0,0 +1,128 @@ +#include "mac_00.h" + +#include "world/common/entity/Pipe.inc.c" +#include "world/common/entity/Pipe.data.inc.c" + +#include "world/common/atomic/TexturePan.inc.c" +#include "world/common/atomic/TexturePan.data.inc.c" + +API_CALLABLE(N(DummyColliderFunction)) { + Bytecode* args = script->ptrReadPos; + f32 x, y, z; + + get_collider_center(evt_get_variable(script, *args++), &x, &y, &z); + return ApiStatus_DONE2; +} + +API_CALLABLE(N(DummyInitFunction)) { + return ApiStatus_DONE2; +} + +EvtScript N(EVS_ExitWalk_kmr_10_1) = EVT_EXIT_WALK(60, mac_00_ENTRY_0, "kmr_10", kmr_10_ENTRY_1); +EvtScript N(EVS_ExitWalk_mac_01_0) = EVT_EXIT_WALK(60, mac_00_ENTRY_1, "mac_01", mac_01_ENTRY_0); + +EvtScript N(EVS_GotoMap_tik_19_9) = { + EVT_CALL(GotoMap, EVT_PTR("tik_19"), tik_19_ENTRY_0) + EVT_WAIT(100) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_GotoMap_kmr_20_4) = { + EVT_CALL(GotoMap, EVT_PTR("kmr_20"), kmr_20_ENTRY_4) + EVT_WAIT(100) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ExitPipe_tik_19_9) = EVT_EXIT_PIPE_VERTICAL(mac_00_ENTRY_3, COLLIDER_deilit, N(EVS_GotoMap_tik_19_9)); +EvtScript N(EVS_ExitPipe_kmr_20_4) = EVT_EXIT_PIPE_VERTICAL(mac_00_ENTRY_4, COLLIDER_deilim, N(EVS_GotoMap_kmr_20_4)); + +EvtScript N(EVS_BindExitTriggers) = { + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_ExitWalk_mac_01_0)), TRIGGER_FLOOR_ABOVE, COLLIDER_deilie, 1, 0) + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_ExitPipe_kmr_20_4)), TRIGGER_FLOOR_ABOVE, COLLIDER_deilim, 1, 0) + EVT_IF_GE(GB_StoryProgress, STORY_EPILOGUE) + EVT_RETURN + EVT_END_IF + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_ExitWalk_kmr_10_1)), TRIGGER_FLOOR_ABOVE, COLLIDER_deilinw, 1, 0) + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_ExitPipe_tik_19_9)), TRIGGER_FLOOR_TOUCH, COLLIDER_deilit, 1, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_EnterMap) = { + EVT_CALL(GetEntryID, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(mac_00_ENTRY_3) + EVT_CASE_OR_EQ(mac_00_ENTRY_4) + EVT_ENTER_PIPE_VERTICAL(N(EVS_BindExitTriggers)) + EVT_END_CASE_GROUP + EVT_CASE_EQ(mac_00_ENTRY_5) + EVT_EXEC(N(EVS_Scene_Intro)) + EVT_CASE_EQ(mac_00_ENTRY_7) + EVT_EXEC_WAIT(N(EVS_Scene_BeginEpilogue)) + EVT_EXEC(N(EVS_BindExitTriggers)) + EVT_CASE_DEFAULT + EVT_SET(LVar0, EVT_PTR(N(EVS_BindExitTriggers))) + EVT_EXEC(EnterWalk) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_Main) = { + EVT_SET(GB_WorldLocation, LOCATION_TOAD_TOWN) + EVT_CALL(SetSpriteShading, SHADING_NONE) + EVT_SETUP_CAMERA_NO_LEAD() + EVT_IF_GE(GB_StoryProgress, STORY_CH0_KAMMY_RETURNED_TO_BOWSER) + EVT_SET(GF_MAP_ToadTown, TRUE) + EVT_END_IF + EVT_CALL(SetRenderMode, MODEL_minka1_yuka, RENDER_MODE_SURFXLU_ZB_ZUPD) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_dummy, COLLIDER_FLAGS_UPPER_MASK) + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_EQ(STORY_INTRO) + EVT_CALL(MakeNpcs, FALSE, EVT_PTR(N(IntroNPCs))) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_CALL(MakeNpcs, FALSE, EVT_PTR(N(EpilogueNPCs))) + EVT_CASE_DEFAULT + EVT_CALL(MakeNpcs, FALSE, EVT_PTR(N(DefaultNPCs))) + EVT_END_SWITCH + EVT_EXEC_WAIT(N(EVS_MakeEntities)) + EVT_EXEC(N(EVS_SetupRooms)) + EVT_EXEC(N(EVS_SetupShop)) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_SURFACE, COLLIDER_water, SURFACE_TYPE_WATER) + EVT_EXEC(N(EVS_SetupWaterCustomGfx)) + EVT_CALL(EnableTexPanning, MODEL_water, TRUE) + EVT_THREAD + TEX_PAN_PARAMS_ID(TEX_PANNER_1) + TEX_PAN_PARAMS_STEP( 0, 0, 0, 120) + TEX_PAN_PARAMS_FREQ( 0, 1, 0, 0) + TEX_PAN_PARAMS_INIT( 0, 0, 0, 0) + EVT_EXEC(N(EVS_UpdateTexturePan)) + EVT_END_THREAD + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_SURFACE, COLLIDER_op_1, SURFACE_TYPE_DOCK_WALL) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_SURFACE, COLLIDER_op2, SURFACE_TYPE_DOCK_WALL) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_SURFACE, COLLIDER_op3, SURFACE_TYPE_DOCK_WALL) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_op_1, COLLIDER_FLAGS_80000) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_op2, COLLIDER_FLAGS_80000) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_op3, COLLIDER_FLAGS_80000) + EVT_CALL(N(DummyColliderFunction), COLLIDER_op_1) + EVT_CALL(N(DummyColliderFunction), COLLIDER_op2) + EVT_CALL(N(DummyColliderFunction), COLLIDER_op3) + EVT_CALL(GetDemoState, LVar0) + EVT_IF_NE(LVar0, DEMO_STATE_NONE) + EVT_ENTER_PIPE_VERTICAL(N(EVS_BindExitTriggers)) + EVT_EXEC_WAIT(N(EVS_SetupDemo)) + EVT_RETURN + EVT_END_IF + EVT_EXEC(N(EVS_SetupMusic)) + EVT_IF_EQ(GB_StoryProgress, STORY_CH0_KAMMY_RETURNED_TO_BOWSER) + EVT_SET(GB_StoryProgress, STORY_CH0_ARRIVED_AT_TOAD_TOWN) + EVT_EXEC(N(EVS_Scene_ToadTownGreeting)) + EVT_END_IF + EVT_EXEC(N(EVS_EnterMap)) + EVT_WAIT(1) + EVT_CALL(N(DummyInitFunction)) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_00/mac_00_3_entity.c b/src/world/area_mac/mac_00/mac_00_3_entity.c new file mode 100644 index 0000000000..8ce2b08640 --- /dev/null +++ b/src/world/area_mac/mac_00/mac_00_3_entity.c @@ -0,0 +1,19 @@ +#include "mac_00.h" +#include "entity.h" + +EvtScript N(EVS_Inspect_StreetSign) = { + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(ShowMessageAtScreenPos, MSG_Menus_016F, 160, 40) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_MakeEntities) = { + EVT_CALL(MakeEntity, EVT_PTR(Entity_HiddenPanel), 545, 20, 205, 0, MODEL_o262, MAKE_ENTITY_END) + EVT_CALL(AssignPanelFlag, GF_MAC00_HiddenPanel) + EVT_CALL(MakeItemEntity, ITEM_STAR_PIECE, -420, 20, 410, ITEM_SPAWN_MODE_FIXED_NEVER_VANISH, GF_MAC00_Item_StarPiece) + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_Inspect_StreetSign)), TRIGGER_WALL_PRESS_A, COLLIDER_sign, 1, 0) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_00/mac_00_4_rooms.c b/src/world/area_mac/mac_00/mac_00_4_rooms.c new file mode 100644 index 0000000000..e7c526cba2 --- /dev/null +++ b/src/world/area_mac/mac_00/mac_00_4_rooms.c @@ -0,0 +1,240 @@ +#include "mac_00.h" + +EvtScript N(EVS_SetDoorRot_RussHouse) = { + EVT_CALL(RotateModel, MODEL_o210, LVar0, 0, 1, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_MoveWalls_RussHouse) = { + EVT_SET(LVar1, LVar0) + EVT_MULF(LVar1, EVT_FLOAT(-2.0)) + EVT_CALL(RotateModel, MODEL_o201, LVar1, 0, 1, 0) + EVT_CALL(RotateModel, MODEL_o467, LVar1, 0, 1, 0) + EVT_CALL(RotateModel, MODEL_o466, LVar1, 0, 1, 0) + EVT_SET(LVar1, LVar0) + EVT_MULF(LVar1, EVT_FLOAT(-1.11)) + EVT_CALL(RotateModel, MODEL_o194, LVar1, 0, 1, 0) + EVT_CALL(RotateModel, MODEL_o463, LVar1, 0, 1, 0) + EVT_CALL(RotateModel, MODEL_o469, LVar1, 0, 1, 0) + EVT_CALL(RotateModel, MODEL_o335, LVar1, 0, 1, 0) + EVT_SET(LVar1, LVar0) + EVT_MULF(LVar1, EVT_FLOAT(-0.328125)) + EVT_CALL(RotateModel, MODEL_o198, LVar1, 0, 1, 0) + EVT_CALL(RotateModel, MODEL_o460, LVar1, 0, 1, 0) + EVT_CALL(RotateModel, MODEL_o461, LVar1, 0, 1, 0) + EVT_SET(LVar1, LVar0) + EVT_MULF(LVar1, EVT_FLOAT(2.21875)) + EVT_CALL(RotateModel, MODEL_o213, LVar1, 0, 1, 0) + EVT_CALL(RotateModel, MODEL_o215, LVar1, 0, 1, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_DropDoor_RussHouse) = { + EVT_CALL(RotateModel, MODEL_o210, LVar0, 1, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ToggleVis_RussHouse) = { + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_CALL(SetGroupEnabled, MODEL_intel_inn, 1) + EVT_SET(MF_MusicMixTrigger1, TRUE) + EVT_CASE_EQ(3) + EVT_CALL(SetGroupEnabled, MODEL_intel_inn, 0) + EVT_SET(MF_MusicMixTrigger1, FALSE) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_SetDoorRot_Shop) = { + EVT_CALL(RotateModel, MODEL_o121, LVar0, 0, -1, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_MoveWalls_Shop) = { + EVT_SET(LVar1, LVar0) + EVT_CALL(RotateModel, MODEL_o370, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_o371, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_o373, LVar1, 1, 0, 0) + EVT_SET(LVar1, LVar0) + EVT_CALL(RotateModel, MODEL_o396, LVar1, -1, 0, 0) + EVT_CALL(RotateModel, MODEL_o397, LVar1, -1, 0, 0) + EVT_CALL(RotateModel, MODEL_o155, LVar1, -1, 0, 0) + EVT_CALL(RotateModel, MODEL_o146, LVar1, -1, 0, 0) + EVT_CALL(RotateModel, MODEL_o398, LVar1, -1, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ToggleVis_Shop) = { + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_CALL(SetGroupEnabled, MODEL_shop_in, 1) + EVT_CALL(EnableModel, MODEL_o375, FALSE) + EVT_CASE_EQ(2) + EVT_CASE_EQ(3) + EVT_CALL(SetGroupEnabled, MODEL_shop_in, 0) + EVT_CALL(EnableModel, MODEL_o375, TRUE) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_SetDoorRot_Dojo) = { + EVT_CALL(RotateModel, MODEL_o168, LVar0, 0, -1, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_MoveWalls_Dojo) = { + EVT_SET(LVar1, LVar0) + EVT_MULF(LVar1, EVT_FLOAT(2.0)) + EVT_CALL(RotateModel, MODEL_o159, LVar1, 0, 1, 0) + EVT_CALL(RotateModel, MODEL_o169, LVar1, 0, 1, 0) + EVT_CALL(RotateModel, MODEL_o164, LVar1, 0, 1, 0) + EVT_CALL(RotateModel, MODEL_o162, LVar1, 0, 1, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_DropDoor_Dojo) = { + EVT_CALL(RotateModel, MODEL_o168, LVar0, 1, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ToggleVis_Dojo) = { + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_CALL(SetGroupEnabled, MODEL_minka_inn, 1) + EVT_SET(MF_MusicMixTrigger2, TRUE) + EVT_CASE_EQ(3) + EVT_CALL(SetGroupEnabled, MODEL_minka_inn, 0) + EVT_CALL(EnableMusicProximityMix, 0) + EVT_SET(MF_MusicMixTrigger2, FALSE) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_SetDoorRot_Waterfront) = { + EVT_CALL(RotateModel, MODEL_o228, LVar0, 0, -1, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_MoveWalls_Waterfront) = { + EVT_SET(LVar1, LVar0) + EVT_CALL(RotateModel, MODEL_o437, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_o453, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_o454, LVar1, 1, 0, 0) + EVT_SET(LVar1, LVar0) + EVT_MULF(LVar1, EVT_FLOAT(-0.671875)) + EVT_CALL(RotateModel, MODEL_o242, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_o239, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_o243, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_o245, LVar1, 1, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ToggleVis_Waterfront) = { + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_RANGE(STORY_CH3_STAR_SPRIT_DEPARTED, STORY_CH4_BEGAN_PEACH_MISSION) + EVT_EXEC(N(EVS_WaterfrontHouse_DoorLocked)) + EVT_SET(LVar0, -1) + EVT_CASE_DEFAULT + EVT_CALL(SetGroupEnabled, MODEL_minka2_inn, 1) + EVT_END_SWITCH + EVT_CASE_EQ(3) + EVT_CALL(SetGroupEnabled, MODEL_minka2_inn, 0) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +s32 N(InteriorNPCs_RussHouse)[] = { + NPC_RussT, + -1 +}; + +s32 N(InteriorNPCs_Shop)[] = { + NPC_Toad_01, + NPC_ShyGuy_02, + NPC_HarryT, + -1 +}; + +s32 N(InteriorNPCs_Dojo)[] = { + NPC_TheMaster, + NPC_Chan, + NPC_Lee, + -1 +}; + +s32 N(InteriorNPCs_WaterfrontHouse)[] = { + NPC_Waterfront_Dad, + NPC_Waterfront_Mom, + NPC_Waterfront_Kid1, + NPC_Waterfront_Kid2, + -1 +}; + +EvtScript N(EVS_SetupRooms) = { + // RussT's house + EVT_CALL(MakeDoorAdvanced, + VIS_GROUP_PAIR(VIS_GROUP_0, VIS_GROUP_0), + EVT_PTR(N(EVS_SetDoorRot_RussHouse)), + EVT_PTR(N(EVS_MoveWalls_RussHouse)), + EVT_PTR(N(EVS_DropDoor_RussHouse)), + EVT_PTR(N(EVS_ToggleVis_RussHouse)), + COLLIDER_deilit3, + COLLIDER_deilit3u, + MODEL_intel_house, + EVT_PTR(N(InteriorNPCs_RussHouse))) + // harry's shop + EVT_CALL(MakeDoorAdvanced, + VIS_GROUP_PAIR(VIS_GROUP_1, VIS_GROUP_2), + EVT_PTR(N(EVS_SetDoorRot_Shop)), + EVT_PTR(N(EVS_MoveWalls_Shop)), + NULL, + EVT_PTR(N(EVS_ToggleVis_Shop)), + COLLIDER_deilit5, COLLIDER_deilit5u, MODEL_omise, EVT_PTR(N(InteriorNPCs_Shop))) + // the dojo + EVT_CALL(MakeDoorAdvanced, + VIS_GROUP_PAIR(VIS_GROUP_0, VIS_GROUP_2), + EVT_PTR(N(EVS_SetDoorRot_Dojo)), + EVT_PTR(N(EVS_MoveWalls_Dojo)), + EVT_PTR(N(EVS_DropDoor_Dojo)), + EVT_PTR(N(EVS_ToggleVis_Dojo)), + COLLIDER_deilit6, + COLLIDER_deilit6u, + MODEL_minka_1, + EVT_PTR(N(InteriorNPCs_Dojo))) + // the waterfront house + EVT_CALL(MakeDoorAdvanced, + VIS_GROUP_PAIR(VIS_GROUP_0, VIS_GROUP_2), + EVT_PTR(N(EVS_SetDoorRot_Waterfront)), + EVT_PTR(N(EVS_MoveWalls_Waterfront)), + NULL, + EVT_PTR(N(EVS_ToggleVis_Waterfront)), + COLLIDER_deilit4, + COLLIDER_deilit4u, + MODEL_minka2, + EVT_PTR(N(InteriorNPCs_WaterfrontHouse))) + // initial visibility + EVT_SET(LVar0, VIS_GROUP_3) + EVT_EXEC(N(EVS_ToggleVis_RussHouse)) + EVT_EXEC(N(EVS_ToggleVis_Waterfront)) + EVT_EXEC(N(EVS_ToggleVis_Shop)) + EVT_EXEC(N(EVS_ToggleVis_Dojo)) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_00/mac_00_5_npc.c b/src/world/area_mac/mac_00/mac_00_5_npc.c new file mode 100644 index 0000000000..96a4523528 --- /dev/null +++ b/src/world/area_mac/mac_00/mac_00_5_npc.c @@ -0,0 +1,496 @@ +#include "mac_00.h" +#include "effects.h" + +#include "world/common/npc/Toad_Stationary.inc.c" +#include "world/common/enemy/complete/ShyGuy_NoAI.inc.c" +#include "world/common/npc/Dummy.inc.c" + +#define CHUCK_QUIZMO_NPC_ID NPC_ChuckQuizmo +#include "world/common/complete/Quizmo.inc.c" + +MAP_STATIC_PAD(1,key_choice); +#include "world/common/complete/KeyItemChoice.inc.c" +MAP_STATIC_PAD(1,item_choice); +#include "world/common/complete/NormalItemChoice.inc.c" + +#include "world/common/complete/LetterDelivery.inc.c" + +#include "npc/russ_and_thief.inc.c" + +EvtScript N(EVS_NpcAI_ShyGuy_03) = { + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(SetNpcAnimation, NPC_ShyGuy_02, ANIM_ShyGuy_Red_Anim0C) + EVT_WAIT(10) + EVT_CALL(SetNpcAnimation, NPC_ShyGuy_02, ANIM_ShyGuy_Red_Anim03) + EVT_CALL(SetNpcJumpscale, NPC_ShyGuy_02, EVT_FLOAT(1.0)) + EVT_CALL(PlaySoundAtNpc, NPC_ShyGuy_02, SOUND_32C, 0) + EVT_CALL(NpcJump0, NPC_ShyGuy_02, 400, 20, -300, 20) + EVT_CALL(NpcFacePlayer, NPC_ShyGuy_02, 0) + EVT_WAIT(10) + EVT_CALL(SpeakToPlayer, NPC_ShyGuy_02, ANIM_ShyGuy_Red_Anim11, ANIM_ShyGuy_Red_Anim01, 0, MSG_MAC_Gate_0002) + EVT_CALL(ShowSweat, 22, 1, 45, 1, 0, 0, 0, 0, 20) + EVT_WAIT(10) + EVT_CALL(ShowSweat, 22, 1, 45, 1, 0, 0, 0, 0, 20) + EVT_WAIT(10) + EVT_THREAD + EVT_CALL(SetPlayerSpeed, EVT_FLOAT(2.0)) + EVT_CALL(PlayerMoveTo, 410, -340, 0) + EVT_END_THREAD + EVT_SET(LVar0, 22) + EVT_CALL(PlaySoundAtNpc, LVar0, SOUND_203F, 0) + EVT_EXEC_GET_TID(N(EVS_ShyGuy_PlayRunningSounds), LVarA) + EVT_CALL(SetNpcSpeed, NPC_ShyGuy_02, EVT_FLOAT(8.0)) + EVT_CALL(NpcMoveTo, NPC_ShyGuy_02, 170, -140, 0) + EVT_KILL_THREAD(LVarA) + EVT_CALL(SetNpcPos, NPC_ShyGuy_02, NPC_DISPOSE_LOCATION) + EVT_CALL(SetNpcPos, NPC_Toad_02, NPC_DISPOSE_LOCATION) + EVT_CALL(SetNpcPos, NPC_Toad_01, 170, 20, -140) + EVT_CALL(SetNpcFlagBits, NPC_Toad_01, NPC_FLAG_100, TRUE) + EVT_CALL(SetNpcSpeed, NPC_Toad_01, EVT_FLOAT(8.0)) + EVT_CALL(SetNpcAnimation, NPC_Toad_01, ANIM_HarryT_Run) + EVT_CALL(NpcMoveTo, NPC_Toad_01, 430, -373, 0) + EVT_CALL(SetNpcPos, NPC_Toad_01, 430, 20, -373) + EVT_CALL(SetNpcAnimation, NPC_Toad_01, ANIM_HarryT_Idle) + EVT_CALL(SetNpcFlagBits, NPC_Toad_01, NPC_FLAG_100, FALSE) + EVT_CALL(NpcFacePlayer, NPC_Toad_01, 0) + EVT_WAIT(10) + EVT_CALL(SpeakToPlayer, NPC_Toad_01, ANIM_HarryT_Talk, ANIM_HarryT_Idle, 0, MSG_MAC_Gate_0003) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_mono1, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_mono2, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_mono3, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_mono4, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_mono5, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_mono6, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_dummy, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +#include "world/common/util/CheckPositionRelativeToPlane.inc.c" + +EvtScript N(EVS_NpcHit_ShyGuy_03) = { + EVT_CALL(GetOwnerEncounterTrigger, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(ENCOUNTER_TRIGGER_HAMMER) + EVT_SET(LVar1, 1) + EVT_CASE_EQ(ENCOUNTER_TRIGGER_JUMP) + EVT_SET(LVar1, 1) + EVT_CASE_EQ(ENCOUNTER_TRIGGER_PARTNER) + EVT_SET(LVar1, 1) + EVT_CASE_DEFAULT + EVT_SET(LVar1, 0) + EVT_END_SWITCH + EVT_IF_EQ(LVar1, 0) + EVT_RETURN + EVT_END_IF + EVT_CALL(N(CheckPositionRelativeToPlane), 266, -350, 366, -253) + EVT_IF_EQ(LVar0, PLANE_SIDE_POSITIVE) + EVT_RETURN + EVT_END_IF + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_HIT_PLAYER_NORMAL, 0) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_203E, 0) + EVT_SET(GF_MAC00_ShyGuyChasedFromShop, TRUE) + EVT_CALL(SetNpcPos, NPC_SELF, NPC_DISPOSE_LOCATION) + EVT_CALL(SetEnemyFlagBits, NPC_ShyGuy_02, ENEMY_FLAGS_8000000, 1) + EVT_CALL(BindNpcAI, NPC_SELF, EVT_PTR(N(EVS_NpcAI_ShyGuy_03))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_ShyGuy_02) = { + EVT_CALL(SpeakToPlayer, NPC_ShyGuy_02, ANIM_ShyGuy_Red_Anim11, ANIM_ShyGuy_Red_Anim01, 0, MSG_MAC_Gate_0001) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_ShyGuy_02) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_RANGE(STORY_CH3_STAR_SPRIT_DEPARTED, STORY_CH4_STAR_SPIRIT_RESCUED) + EVT_IF_EQ(GF_MAC00_ShyGuyChasedFromShop, FALSE) + EVT_SET(GF_MAC01_ShyGuyTookOverShop, TRUE) + EVT_CALL(SetNpcPos, NPC_SELF, 430, 20, -373) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_ShyGuy_02))) + EVT_RETURN + EVT_END_IF + EVT_END_SWITCH + EVT_CALL(RemoveNpc, NPC_SELF) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_GardenShyGuy1) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_RANGE(STORY_CH3_STAR_SPRIT_DEPARTED, STORY_CH4_STAR_SPIRIT_RESCUED) + EVT_IF_EQ(GF_MAC00_ShyGuyChasedFromShop, FALSE) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_mono1, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_mono2, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_mono3, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_mono4, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_mono5, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_mono6, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_dummy, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(SetNpcFlagBits, NPC_SELF, NPC_FLAG_100, FALSE) + EVT_CALL(SetNpcFlagBits, NPC_SELF, NPC_FLAG_2, TRUE) + EVT_CALL(SetNpcPos, NPC_SELF, 430, 20, -373) + EVT_CALL(BindNpcHit, NPC_SELF, EVT_PTR(N(EVS_NpcHit_ShyGuy_03))) + EVT_RETURN + EVT_END_IF + EVT_END_SWITCH + EVT_CALL(RemoveNpc, NPC_SELF) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Toad_01) = { + EVT_EXEC_WAIT(ItemShopInteract) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Toad_02) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Red_Talk, ANIM_Toad_Red_Idle, 0, MSG_MAC_Gate_0000) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Toad_01) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_RANGE(STORY_CH3_STAR_SPRIT_DEPARTED, STORY_CH4_STAR_SPIRIT_RESCUED) + EVT_IF_EQ(GF_MAC00_ShyGuyChasedFromShop, FALSE) + EVT_CALL(SetNpcPos, NPC_Toad_01, NPC_DISPOSE_LOCATION) + EVT_END_IF + EVT_END_SWITCH + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Toad_01))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Toad_02) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_RANGE(STORY_CH3_STAR_SPRIT_DEPARTED, STORY_CH4_STAR_SPIRIT_RESCUED) + EVT_IF_EQ(GF_MAC00_ShyGuyChasedFromShop, FALSE) + EVT_CALL(SetNpcPos, NPC_SELF, 105, 0, -40) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Toad_02))) + EVT_RETURN + EVT_END_IF + EVT_END_SWITCH + EVT_CALL(RemoveNpc, NPC_SELF) + EVT_RETURN + EVT_END +}; + +#include "npc/dojo_members.inc.c" +#include "npc/waterfront_family.inc.c" +#include "npc/trading_toad.inc.c" + +StaticNpc N(NpcData_ShyGuy_01)[] = { + { + .id = NPC_ShyGuyThief, + .settings = &N(NpcSettings_ShyGuy_NoAI), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_200 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000 | ENEMY_FLAGS_400000, + .init = &N(EVS_NpcInit_ShyGuyThief), + .drops = SHY_GUY_NO_DROPS, + .animations = SHY_GUY_ANIMS, + }, + { + .id = NPC_ShyGuy_02, + .settings = &N(NpcSettings_ShyGuy_NoAI), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_200 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000 | ENEMY_FLAGS_400000, + .init = &N(EVS_NpcInit_ShyGuy_02), + .drops = SHY_GUY_NO_DROPS, + .animations = SHY_GUY_ANIMS, + .tattle = MSG_NpcTattle_MAC_ShyGuyShopOwner, + }, + { + .id = NPC_GardenShyGuy1, + .settings = &N(NpcSettings_ShyGuy_NoAI), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 270, + .flags = ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_100000 | ENEMY_FLAGS_200000 | ENEMY_FLAGS_IGNORE_TOUCH, + .init = &N(EVS_NpcInit_GardenShyGuy1), + .drops = SHY_GUY_NO_DROPS, + .animations = SHY_GUY_ANIMS, + .tattle = MSG_NpcTattle_MAC_ShyGuyShopOwner, + }, +}; + +StaticNpc N(NpcData_RussT) = { + .id = NPC_RussT, + .settings = &N(NpcSettings_RussT), + .pos = { -66.0f, 20.0f, -532.0f }, + .yaw = 119, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000, + .init = &N(EVS_NpcInit_RussT), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_RussT_Idle, + .walk = ANIM_RussT_Idle, + .run = ANIM_RussT_Idle, + .chase = ANIM_RussT_Idle, + .anim_4 = ANIM_RussT_Idle, + .anim_5 = ANIM_RussT_Idle, + .death = ANIM_RussT_Idle, + .hit = ANIM_RussT_Idle, + .anim_8 = ANIM_RussT_Idle, + .anim_9 = ANIM_RussT_Idle, + .anim_A = ANIM_RussT_Idle, + .anim_B = ANIM_RussT_Idle, + .anim_C = ANIM_RussT_Idle, + .anim_D = ANIM_RussT_Idle, + .anim_E = ANIM_RussT_Idle, + .anim_F = ANIM_RussT_Idle, + }, + .tattle = MSG_NpcTattle_RussT, +}; + +StaticNpc N(NpcData_Toad_01)[] = { + { + .id = NPC_Toad_01, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { 430.0f, 20.0f, -373.0f }, + .yaw = 223, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000, + .init = &N(EVS_NpcInit_Toad_01), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_HarryT_Idle, + .walk = ANIM_HarryT_Walk, + .run = ANIM_HarryT_Run, + .chase = ANIM_HarryT_Run, + .anim_4 = ANIM_HarryT_Idle, + }, + .tattle = MSG_NpcTattle_MAC00_ShopOwner, + }, + { + .id = NPC_Toad_02, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 223, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000, + .init = &N(EVS_NpcInit_Toad_02), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_HarryT_Idle, + .walk = ANIM_HarryT_Walk, + .run = ANIM_HarryT_Run, + .chase = ANIM_HarryT_Run, + .anim_4 = ANIM_HarryT_Idle, + }, + .tattle = MSG_NpcTattle_MAC00_ShopOwner, + }, +}; + +s32 N(D_8024CFFC_7F7D0C)[] = { + ANIM_TheMaster_Still, + ANIM_TheMaster_Idle, + ANIM_TheMaster_Walk, + ANIM_TheMaster_Talk, + -1 +}; + +s32 N(D_8024D010_7F7D20)[] = { + ANIM_Chan_Still, + ANIM_Chan_Idle, + ANIM_Chan_Walk, + ANIM_Chan_Run, + -1 +}; + +s32 N(D_8024D024_7F7D34)[] = { + ANIM_Lee_Still, + ANIM_Lee_Idle, + ANIM_Lee_Walk, + ANIM_Lee_Talk, + -1 +}; + +StaticNpc N(NpcData_Toad_03)[] = { + { + .id = NPC_TheMaster, + .settings = &N(NpcSettings_Dummy), + .pos = { 375.0f, 115.0f, -440.0f }, + .yaw = 225, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_4 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_40000 | ENEMY_FLAGS_800000, + .init = &N(EVS_NpcInit_TheMaster), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_TheMaster_Idle, + .walk = ANIM_TheMaster_Still, + .run = ANIM_TheMaster_Still, + .chase = ANIM_TheMaster_Still, + .anim_4 = ANIM_TheMaster_Still, + .anim_5 = ANIM_TheMaster_Still, + .death = ANIM_TheMaster_Still, + .hit = ANIM_TheMaster_Still, + .anim_8 = ANIM_TheMaster_Still, + .anim_9 = ANIM_TheMaster_Still, + .anim_A = ANIM_TheMaster_Still, + .anim_B = ANIM_TheMaster_Still, + .anim_C = ANIM_TheMaster_Still, + .anim_D = ANIM_TheMaster_Still, + .anim_E = ANIM_TheMaster_Still, + .anim_F = ANIM_TheMaster_Still, + }, + .extraAnimations = N(D_8024CFFC_7F7D0C), + .tattle = MSG_NpcTattle_TheMaster, + }, + { + .id = NPC_Chan, + .settings = &N(NpcSettings_Dummy), + .pos = { 310.0f, 115.0f, -390.0f }, + .yaw = 45, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_4 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_40000 | ENEMY_FLAGS_800000, + .init = &N(EVS_NpcInit_Chan), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_Chan_Idle, + }, + .extraAnimations = N(D_8024D010_7F7D20), + .tattle = MSG_NpcTattle_Chan, + }, + { + .id = NPC_Lee, + .settings = &N(NpcSettings_Dummy), + .pos = { 330.0f, 115.0f, -410.0f }, + .yaw = 45, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_4 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_40000 | ENEMY_FLAGS_800000, + .init = &N(EVS_NpcInit_Lee), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_Lee_Idle, + }, + .extraAnimations = N(D_8024D024_7F7D34), + .tattle = MSG_NpcTattle_Lee, + }, +}; + +StaticNpc N(NpcData_Quizmo_Unused) = { + .id = NPC_ChuckQuizmo, + .settings = &N(Quizmo_NpcSettings), + .pos = { 545.0f, 20.0f, 150.0f }, + .yaw = 30, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_4000, + .initVarCount = 1, + .initVar = { .bytes = { 0, QUIZ_AREA_MAC, QUIZ_COUNT_MAC, QUIZ_MAP_MAC_00 }}, + .drops = QUIZMO_DROPS, + .animations = QUIZMO_ANIMS, + .tattle = MSG_NpcTattle_ChuckQuizmo, +}; + +StaticNpc N(NpcData_Waterfront_Family)[] = { + { + .id = NPC_Waterfront_Dad, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { -496.0f, 20.0f, 218.0f }, + .yaw = 133, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000, + .init = &N(EVS_NpcInit_WaterfrontDad), + .drops = TOAD_DROPS, + .animations = TOAD_GREEN_ANIMS, + .tattle = MSG_NpcTattle_MAC_LuckyCastleWorker, + }, + { + .id = NPC_Waterfront_Mom, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { -566.0f, 20.0f, 267.0f }, + .yaw = 133, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000, + .init = &N(EVS_NpcInit_WaterfrontMom), + .drops = TOADETTE_DROPS, + .animations = TOADETTE_ORANGE_ANIMS, + .tattle = MSG_NpcTattle_MAC_Homemaker, + }, + { + .id = NPC_Waterfront_Kid1, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { -508.0f, 20.0f, 324.0f }, + .yaw = 313, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000, + .init = &N(EVS_NpcInit_WaterfrontKid1), + .drops = TOAD_KID_DROPS, + .animations = TOAD_KID_GREEN_ANIMS, + .tattle = MSG_NpcTattle_MAC_FriendlyToadKid, + }, + { + .id = NPC_Waterfront_Kid2, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { -480.0f, 20.0f, 329.0f }, + .yaw = 313, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000, + .init = &N(EVS_NpcInit_WaterfrontKid2), + .drops = TOAD_KID_DROPS, + .animations = TOAD_KID_GREEN_ANIMS, + .tattle = MSG_NpcTattle_MAC_PowerHungryToadKid, + }, +}; + +StaticNpc N(NpcData_PrizeToad) = { + .id = NPC_Toad_11, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { -112.0f, 0.0f, -62.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000, + .init = &N(EVS_NpcInit_TradingToad), + .drops = TOAD_DROPS, + .animations = { + .idle = ANIM_Toad_Pink_Idle, + .walk = ANIM_Toad_Pink_Walk, + .run = ANIM_Toad_Pink_Run, + .chase = ANIM_Toad_Pink_Run, + .anim_4 = ANIM_Toad_Pink_Idle, + .anim_5 = ANIM_Toad_Pink_Idle, + .death = ANIM_Toad_Pink_Idle, + .hit = ANIM_Toad_Pink_Disappointed, + .anim_8 = ANIM_Toad_Pink_Run, + .anim_9 = ANIM_Toad_Pink_Run, + .anim_A = ANIM_Toad_Pink_Run, + .anim_B = ANIM_Toad_Pink_Run, + .anim_C = ANIM_Toad_Pink_Run, + .anim_D = ANIM_Toad_Pink_Run, + .anim_E = ANIM_Toad_Pink_Run, + .anim_F = ANIM_Toad_Pink_Run, + }, + .tattle = MSG_NpcTattle_PrizeToad, +}; + +extern StaticNpc N(NpcData_SharedTownsfolk)[10]; + +NpcGroupList N(DefaultNPCs) = { + NPC_GROUP(N(NpcData_Toad_03)), + NPC_GROUP(N(NpcData_ShyGuy_01)), + NPC_GROUP(N(NpcData_RussT)), + NPC_GROUP(N(NpcData_Toad_01)), + NPC_GROUP(N(NpcData_SharedTownsfolk)), + NPC_GROUP(N(NpcData_Waterfront_Family)), + NPC_GROUP(N(NpcData_PrizeToad)), + {} +}; diff --git a/src/world/area_mac/mac_00/mac_00_6_shop.c b/src/world/area_mac/mac_00/mac_00_6_shop.c new file mode 100644 index 0000000000..3d9297f834 --- /dev/null +++ b/src/world/area_mac/mac_00/mac_00_6_shop.c @@ -0,0 +1,83 @@ +#include "mac_00.h" + +s32 N(ShopMessages)[] = { + MSG_Shop_0000, + MSG_Shop_0001, + MSG_Shop_0002, + MSG_Shop_0003, + MSG_Shop_0004, + MSG_Shop_0005, + MSG_Shop_0006, + MSG_Shop_0007, + MSG_Shop_0008, + MSG_Shop_0009, + MSG_Shop_000A, + MSG_Shop_000B, + MSG_Shop_000C, + MSG_Shop_000D, + MSG_Shop_000E, + MSG_Shop_000F, + MSG_Shop_0010, + MSG_Shop_0011, + MSG_Shop_0012, + MSG_Shop_0013, + MSG_Shop_0014, + MSG_Shop_0015, + MSG_Shop_0016, +}; + +ShopItemData N(Inventory)[] = { + { .itemID = ITEM_FRIGHT_JAR, .price = 5, .descMsg = MSG_ItemShopDesc_FrightJar }, + { .itemID = ITEM_SLEEPY_SHEEP, .price = 10, .descMsg = MSG_ItemShopDesc_SleepySheep }, + { .itemID = ITEM_POW_BLOCK, .price = 5, .descMsg = MSG_ItemShopDesc_POWBlock }, + { .itemID = ITEM_FIRE_FLOWER, .price = 10, .descMsg = MSG_ItemShopDesc_FireFlower }, + { .itemID = ITEM_HONEY_SYRUP, .price = 10, .descMsg = MSG_ItemShopDesc_HoneySyrup }, + { .itemID = ITEM_MUSHROOM, .price = 5, .descMsg = MSG_ItemShopDesc_Mushroom }, + {} +}; + +ShopSellPriceData N(PriceList)[] = { + { .itemID = ITEM_DRIED_SHROOM, .sellPrice = 3 }, + { .itemID = ITEM_DRIED_PASTA, .sellPrice = 5 }, + { .itemID = ITEM_DUSTY_HAMMER, .sellPrice = 3 }, + { .itemID = ITEM_WHACKAS_BUMP, .sellPrice = 64 }, + { .itemID = ITEM_DRIED_FRUIT, .sellPrice = 20 }, + { .itemID = ITEM_LIME, .sellPrice = 4 }, + { .itemID = ITEM_LEMON, .sellPrice = 4 }, + {} +}; + +EvtScript N(EVS_OnBuy) = { + EVT_SWITCH(LVar0) + EVT_CASE_EQ(3) + EVT_CASE_EQ(4) + EVT_CASE_EQ(1) + EVT_CASE_EQ(2) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +ShopItemLocation N(ItemPositions)[] = { + { .posModelID = MODEL_syouhin1, .triggerColliderID = COLLIDER_mono1 }, + { .posModelID = MODEL_syouhin2, .triggerColliderID = COLLIDER_mono2 }, + { .posModelID = MODEL_shouhin3, .triggerColliderID = COLLIDER_mono3 }, + { .posModelID = MODEL_shouhin4, .triggerColliderID = COLLIDER_mono4 }, + { .posModelID = MODEL_shouhin5, .triggerColliderID = COLLIDER_mono5 }, + { .posModelID = MODEL_shouhin6, .triggerColliderID = COLLIDER_mono6 }, +}; + +ShopOwner N(Owner) = { + .npcID = NPC_Toad_01, + .idleAnim = ANIM_HarryT_Idle, + .talkAnim = ANIM_HarryT_Talk, + .onBuyEvt = &N(EVS_OnBuy), + .shopMsgIDs = N(ShopMessages), +}; + +EvtScript N(EVS_SetupShop) = { + EVT_CALL(MakeShop, EVT_PTR(N(ItemPositions)), EVT_PTR(N(Inventory)), EVT_PTR(N(PriceList)), ITEM_ENTITY_FLAGS_10000) + EVT_CALL(MakeShopOwner, EVT_PTR(N(Owner))) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_00/mac_00_7_music_mix.c b/src/world/area_mac/mac_00/mac_00_7_music_mix.c new file mode 100644 index 0000000000..f77d65cbeb --- /dev/null +++ b/src/world/area_mac/mac_00/mac_00_7_music_mix.c @@ -0,0 +1,34 @@ +#include "mac_00.h" + +#include "world/common/atomic/MonitorMusicProximityTrigger.inc.c" + +MusicProximityTrigger N(MusicMixTrigger1) = { + .pos = { 15.0f, -400.0f }, + .innerDist = 90.0f, + .outerDist = 120.0f, + .unk = 7, + .manualActivationFlag = MF_MusicMixTrigger1, +}; + +MusicProximityTrigger N(MusicMixTrigger2) = { + .pos = { 445.0f, -307.0f }, + .innerDist = 90.0f, + .outerDist = 110.0f, + .unk = 3, + .manualActivationFlag = MF_MusicMixTrigger2, +}; + +EvtScript N(EVS_SetupMusicTriggers) = { + EVT_CALL(SetMusicTrack, 0, SONG_TOAD_TOWN, 0, 8) + EVT_CALL(EnableMusicProximityMix, 0) + EVT_THREAD + EVT_CALL(N(MonitorMusicProximityTrigger), EVT_PTR(N(MusicMixTrigger1))) + EVT_END_THREAD + EVT_IF_GE(GB_StoryProgress, STORY_CH0_RETURNED_TO_TOAD_TOWN) + EVT_THREAD + EVT_CALL(N(MonitorMusicProximityTrigger), EVT_PTR(N(MusicMixTrigger2))) + EVT_END_THREAD + EVT_END_IF + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_00/mac_00_8_demo.c b/src/world/area_mac/mac_00/mac_00_8_demo.c new file mode 100644 index 0000000000..cdd6623c96 --- /dev/null +++ b/src/world/area_mac/mac_00/mac_00_8_demo.c @@ -0,0 +1,117 @@ +#include "mac_00.h" + +EvtScript N(EVS_ProvideDemoInputs) = { + EVT_WAIT(50) + EVT_CALL(DemoJoystickXY, 22, -26) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 65, -61) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 66, -67) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 66, -70) + EVT_WAIT(30) + EVT_CALL(DemoJoystickXY, 66, -71) + EVT_WAIT(18) + EVT_CALL(DemoJoystickXY, 67, -62) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 74, -34) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 81, -6) + EVT_CALL(DemoSetButtons, BUTTON_A) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 82, -2) + EVT_WAIT(3) + EVT_CALL(DemoSetButtons, 0) + EVT_WAIT(7) + EVT_CALL(DemoJoystickXY, 81, -3) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 80, -10) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 78, -22) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 75, -35) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 72, -49) + EVT_CALL(DemoSetButtons, BUTTON_A) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 70, -56) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 70, -57) + EVT_WAIT(2) + EVT_CALL(DemoSetButtons, 0) + EVT_WAIT(9) + EVT_CALL(DemoJoystickXY, 70, -56) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 74, -26) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 79, 8) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 70, 46) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 66, 68) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 66, 67) + EVT_WAIT(2) + EVT_CALL(DemoJoystickXY, 65, 67) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 63, 66) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 45, 46) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 22, 23) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 1, -1) + EVT_WAIT(2) + EVT_CALL(DemoSetButtons, BUTTON_A) + EVT_WAIT(4) + EVT_CALL(DemoSetButtons, 0) + EVT_WAIT(61) + EVT_CALL(DemoJoystickXY, 3, -1) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 14, -1) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 74, -8) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 77, -9) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 78, -9) + EVT_WAIT(11) + EVT_CALL(DemoJoystickXY, 78, -8) + EVT_WAIT(1) + EVT_CALL(DemoJoystickXY, 79, -7) + EVT_IF_EQ(GF_DemoSceneDone, TRUE) + EVT_RETURN + EVT_END_IF + EVT_SET(GF_DemoSceneDone, TRUE) + EVT_CALL(GotoMapSpecial, EVT_PTR("mac_00"), mac_00_ENTRY_2, TRANSITION_2) + EVT_WAIT(110) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_MonitorDemoState) = { + EVT_WAIT(10) + EVT_LOOP(0) + EVT_CALL(GetDemoState, LVar0) + EVT_IF_EQ(LVar0, DEMO_STATE_CHANGE_MAP) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_IF_EQ(GF_DemoSceneDone, TRUE) + EVT_RETURN + EVT_END_IF + EVT_SET(GF_DemoSceneDone, TRUE) + EVT_CALL(GotoMapSpecial, EVT_PTR("mac_00"), mac_00_ENTRY_2, TRANSITION_3) + EVT_WAIT(100) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_SetupDemo) = { + EVT_SET(GF_DemoSceneDone, FALSE) + EVT_EXEC(N(EVS_MonitorDemoState)) + EVT_EXEC(N(EVS_ProvideDemoInputs)) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_00/7ECFD0.c b/src/world/area_mac/mac_00/mac_00_9_water_gfx.c similarity index 58% rename from src/world/area_mac/mac_00/7ECFD0.c rename to src/world/area_mac/mac_00/mac_00_9_water_gfx.c index 357dad0288..a71a71a1b8 100644 --- a/src/world/area_mac/mac_00/7ECFD0.c +++ b/src/world/area_mac/mac_00/mac_00_9_water_gfx.c @@ -1,21 +1,20 @@ #include "mac_00.h" - -#include "world/common/atomic/MonitorMusicProximityTrigger.inc.c" - #include "model.h" -void func_802423F0_7ED100(void) { +MAP_RODATA_PAD(1,unk) + +void N(gfx_build_water)(void) { Model* model; gDPSetDepthSource(gMasterGfxPos++, G_ZS_PRIM); - gDPSetPrimDepth(gMasterGfxPos++, 32752, 0); + gDPSetPrimDepth(gMasterGfxPos++, 0x7FF0, 0); gDPSetRenderMode(gMasterGfxPos++, Z_CMP | CVG_DST_CLAMP | ZMODE_OPA | FORCE_BL | G_RM_PASS, - Z_CMP | CVG_DST_CLAMP | ZMODE_OPA | FORCE_BL | GBL_c2(G_BL_CLR_IN, G_BL_0, G_BL_CLR_IN, G_BL_1)); + Z_CMP | CVG_DST_CLAMP | ZMODE_OPA | FORCE_BL | GBL_c2(G_BL_CLR_IN, G_BL_0, G_BL_CLR_IN, G_BL_1)); gDPSetCombineLERP(gMasterGfxPos++, 0, 0, 0, PRIMITIVE, 0, 0, 0, 0, 0, 0, 0, PRIMITIVE, 0, 0, 0, 0); gDPSetPrimColor(gMasterGfxPos++, 0, 0, 0, 0, 128, 0); gDPPipeSync(gMasterGfxPos++); - model = get_model_from_list_index(get_model_list_index_from_tree_index(0xD6)); + model = get_model_from_list_index(get_model_list_index_from_tree_index(MODEL_water)); gSPDisplayList(gMasterGfxPos++, model->modelNode->displayData->displayList); gDPPipeSync(gMasterGfxPos++); @@ -23,5 +22,13 @@ void func_802423F0_7ED100(void) { gDPSetDepthSource(gMasterGfxPos++, G_ZS_PIXEL); gDPSetRenderMode(gMasterGfxPos++, G_RM_PASS, G_RM_AA_ZB_XLU_SURF2); - mdl_draw_hidden_panel_surface(&gMasterGfxPos, 0xD6); + mdl_draw_hidden_panel_surface(&gMasterGfxPos, MODEL_water); } + +EvtScript N(EVS_SetupWaterCustomGfx) = { + EVT_WAIT(1) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_0, EVT_PTR(N(gfx_build_water)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_water, CUSTOM_GFX_0, -1) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_00/npc/dojo_members.inc.c b/src/world/area_mac/mac_00/npc/dojo_members.inc.c new file mode 100644 index 0000000000..fcbd5e07ae --- /dev/null +++ b/src/world/area_mac/mac_00/npc/dojo_members.inc.c @@ -0,0 +1,335 @@ +s32 N(DojoBattleIDs)[] = { + BTL_MAC_FORMATION_00, + BTL_MAC_FORMATION_01, + BTL_MAC_FORMATION_02, + BTL_MAC_FORMATION_03, + BTL_MAC_FORMATION_04 +}; + +ApiStatus N(SetDojoBattle)(Evt* script, s32 isInitialCall) { + Enemy* enemy = script->owner1.enemy; + s32 battleIndex = evt_get_variable(script, GB_MAC00_DojoRank); + + gCurrentEncounter.encounterList[enemy->encounterIndex]->battle = N(DojoBattleIDs)[battleIndex]; + return ApiStatus_DONE2; +} + +API_CALLABLE(N(ResetBackgroundPostBattle)) { + func_8011B950(MODEL_minka_1, -1, 1, 1); + set_background_color_blend(0, 0, 0, 255); + gCameras[CAM_DEFAULT].bgColor[0] = 0; + gCameras[CAM_DEFAULT].bgColor[1] = 0; + gCameras[CAM_DEFAULT].bgColor[2] = 0; + return ApiStatus_DONE2; +} + +EvtScript N(EVS_NpcInteract_Chan) = { + EVT_IF_LT(GB_StoryProgress, STORY_CH0_TWINK_GAVE_LUCKY_STAR) + EVT_SET(LVar0, MSG_MAC_Gate_0015) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_001B) + EVT_END_IF + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Chan_Run, ANIM_Chan_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcAI_Chan) = { + EVT_CALL(ContinueSpeech, NPC_TheMaster, ANIM_TheMaster_Talk, ANIM_TheMaster_Idle, 0, MSG_MAC_Gate_001D) + EVT_CALL(SpeakToNpc, NPC_SELF, ANIM_Chan_Run, ANIM_Chan_Idle, 0, NPC_TheMaster, MSG_MAC_Gate_001E) + EVT_WAIT(10) + EVT_THREAD + EVT_CALL(SetNpcFlagBits, NPC_TheMaster, NPC_FLAG_100, TRUE) + EVT_CALL(func_802D2C14, 1) + EVT_CALL(PlayerMoveTo, 348, -364, 20) + EVT_CALL(InterpPlayerYaw, 20, 0) + EVT_WAIT(20) + EVT_CALL(func_802D2C14, 0) + EVT_CALL(SetNpcFlagBits, NPC_TheMaster, NPC_FLAG_100, FALSE) + EVT_END_THREAD + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Chan_Walk) + EVT_CALL(SetNpcFlagBits, NPC_SELF, NPC_FLAG_100, TRUE) + EVT_CALL(NpcMoveTo, NPC_SELF, 380, -400, 30) + EVT_CALL(SetNpcFlagBits, NPC_SELF, NPC_FLAG_100, FALSE) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Chan_Idle) + EVT_CALL(InterpNpcYaw, NPC_SELF, 225, 0) + EVT_WAIT(20) + EVT_CALL(N(SetDojoBattle)) + EVT_CALL(StartBattle) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcDefeat_Chan) = { + EVT_CALL(SetEncounterStatusFlags, ENCOUNTER_STATUS_FLAGS_4, TRUE) + EVT_CALL(N(ResetBackgroundPostBattle)) + EVT_THREAD + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Chan_Walk) + EVT_CALL(SetNpcFlagBits, NPC_SELF, NPC_FLAG_100, TRUE) + EVT_CALL(NpcMoveTo, NPC_SELF, 310, -390, 30) + EVT_CALL(SetNpcFlagBits, NPC_SELF, NPC_FLAG_100, FALSE) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Chan_Idle) + EVT_CALL(InterpNpcYaw, NPC_SELF, 45, 0) + EVT_END_THREAD + EVT_CALL(GetBattleOutcome, LVar0) + EVT_CALL(SetNpcVar, NPC_TheMaster, 1, LVar0) + EVT_CALL(SetNpcVar, NPC_TheMaster, 0, 1) + EVT_CALL(SetPlayerAnimation, ANIM_Mario_10002) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Chan) = { + EVT_IF_LT(GB_StoryProgress, STORY_CH0_TWINK_GAVE_LUCKY_STAR) + EVT_CALL(SetNpcPos, NPC_SELF, 570, 20, -150) + EVT_CALL(SetNpcYaw, NPC_SELF, 270) + EVT_ELSE + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_tt, COLLIDER_FLAGS_UPPER_MASK) + EVT_END_IF + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Chan))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Lee) = { + EVT_IF_LT(GB_StoryProgress, STORY_CH0_TWINK_GAVE_LUCKY_STAR) + EVT_SET(LVar0, MSG_MAC_Gate_0016) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_001C) + EVT_END_IF + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Lee_Talk, ANIM_Lee_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcAI_Lee) = { + EVT_CALL(ContinueSpeech, NPC_TheMaster, ANIM_TheMaster_Talk, ANIM_TheMaster_Idle, 0, MSG_MAC_Gate_0024) + EVT_CALL(SpeakToNpc, NPC_SELF, ANIM_Lee_Talk, ANIM_Lee_Idle, 0, NPC_TheMaster, MSG_MAC_Gate_0025) + EVT_WAIT(10) + EVT_THREAD + EVT_CALL(SetNpcFlagBits, NPC_TheMaster, NPC_FLAG_100, TRUE) + EVT_CALL(func_802D2C14, 1) + EVT_CALL(PlayerMoveTo, 348, -364, 20) + EVT_CALL(InterpPlayerYaw, 20, 0) + EVT_WAIT(20) + EVT_CALL(func_802D2C14, 0) + EVT_CALL(SetNpcFlagBits, NPC_TheMaster, NPC_FLAG_100, FALSE) + EVT_END_THREAD + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Lee_Walk) + EVT_CALL(SetNpcFlagBits, NPC_SELF, NPC_FLAG_100, TRUE) + EVT_CALL(NpcMoveTo, NPC_SELF, 380, -400, 30) + EVT_CALL(SetNpcFlagBits, NPC_SELF, NPC_FLAG_100, FALSE) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Lee_Idle) + EVT_CALL(InterpNpcYaw, NPC_SELF, 225, 0) + EVT_WAIT(20) + EVT_CALL(N(SetDojoBattle)) + EVT_CALL(StartBattle) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcDefeat_Lee) = { + EVT_CALL(SetEncounterStatusFlags, ENCOUNTER_STATUS_FLAGS_4, TRUE) + EVT_CALL(N(ResetBackgroundPostBattle)) + EVT_THREAD + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Lee_Walk) + EVT_CALL(SetNpcFlagBits, NPC_SELF, NPC_FLAG_100, TRUE) + EVT_CALL(NpcMoveTo, NPC_SELF, 330, -410, 30) + EVT_CALL(SetNpcFlagBits, NPC_SELF, NPC_FLAG_100, FALSE) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Lee_Idle) + EVT_CALL(InterpNpcYaw, NPC_SELF, 45, 0) + EVT_END_THREAD + EVT_CALL(GetBattleOutcome, LVar0) + EVT_CALL(SetNpcVar, NPC_TheMaster, 1, LVar0) + EVT_CALL(SetNpcVar, NPC_TheMaster, 0, 1) + EVT_CALL(SetPlayerAnimation, ANIM_Mario_10002) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Lee) = { + EVT_IF_LT(GB_StoryProgress, STORY_CH0_TWINK_GAVE_LUCKY_STAR) + EVT_CALL(SetNpcPos, NPC_SELF, 600, 20, -145) + EVT_CALL(SetNpcYaw, NPC_SELF, 270) + EVT_END_IF + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Lee))) + EVT_RETURN + EVT_END +}; + +API_CALLABLE(N(SetPlayer1HP)) { + gPlayerData.curHP = 1; + sync_status_menu(); + return ApiStatus_DONE2; +} + +// NPC_TheMaster SelfVar indices +enum { + VAR_FINISHED_BATTLE = 0, + VAR_BATTLE_OUTCOME = 1, + VAR_STARTED_BATTLE = 2, +}; + +EvtScript N(EVS_NpcIdle_TheMaster) = { + EVT_LABEL(0) + EVT_CALL(SetSelfVar, VAR_FINISHED_BATTLE, FALSE) + EVT_CALL(SetSelfVar, VAR_STARTED_BATTLE, FALSE) + // wait for battle to start + EVT_LOOP(0) + EVT_CALL(GetSelfVar, VAR_STARTED_BATTLE, LVar0) + EVT_IF_TRUE(LVar0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(DisablePlayerInput, TRUE) + // wait for battle to end + EVT_LOOP(0) + EVT_CALL(GetSelfVar, VAR_FINISHED_BATTLE, LVar0) + EVT_IF_TRUE(LVar0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + // handle battle outcomes + EVT_CALL(GetSelfVar, VAR_BATTLE_OUTCOME, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(OUTCOME_PLAYER_LOST) + EVT_CALL(N(SetPlayer1HP)) + EVT_CALL(SpeakToPlayer, NPC_TheMaster, ANIM_TheMaster_Talk, ANIM_TheMaster_Idle, 0, MSG_MAC_Gate_0042) + EVT_CASE_EQ(OUTCOME_PLAYER_FLED) + EVT_CALL(SpeakToPlayer, NPC_TheMaster, ANIM_TheMaster_Talk, ANIM_TheMaster_Idle, 0, MSG_MAC_Gate_0042) + EVT_CASE_EQ(OUTCOME_PLAYER_WON) + EVT_SWITCH(GB_MAC00_DojoRank) + EVT_CASE_EQ(0) + EVT_SET(LVar1, MSG_MAC_Gate_0023) + EVT_SET(LVar0, ITEM_FIRST_DEGREE_CARD) + EVT_SET(LVar2, ITEM_FIRST_DEGREE_CARD) + EVT_CASE_EQ(1) + EVT_SET(LVar1, MSG_MAC_Gate_002A) + EVT_SET(LVar0, ITEM_SECOND_DEGREE_CARD) + EVT_SET(LVar2, ITEM_FIRST_DEGREE_CARD) + EVT_CASE_EQ(2) + EVT_SET(LVar1, MSG_MAC_Gate_003E) + EVT_SET(LVar0, ITEM_THIRD_DEGREE_CARD) + EVT_SET(LVar2, ITEM_SECOND_DEGREE_CARD) + EVT_CASE_EQ(3) + EVT_SET(LVar1, MSG_MAC_Gate_003F) + EVT_SET(LVar0, ITEM_FOURTH_DEGREE_CARD) + EVT_SET(LVar2, ITEM_THIRD_DEGREE_CARD) + EVT_CASE_EQ(4) + EVT_SET(LVar1, MSG_MAC_Gate_0040) + EVT_SET(LVar0, ITEM_DIPLOMA) + EVT_SET(LVar2, ITEM_FOURTH_DEGREE_CARD) + EVT_END_SWITCH + EVT_ADD(GB_MAC00_DojoRank, 1) + EVT_CALL(SpeakToPlayer, NPC_TheMaster, ANIM_TheMaster_Talk, ANIM_TheMaster_Idle, 0, LVar1) + EVT_CALL(FindKeyItem, LVar2, LVar1) + EVT_IF_NE(LVar1, -1) + EVT_CALL(RemoveKeyItemAt, LVar1) + EVT_END_IF + EVT_SET(LVar1, 1) + EVT_EXEC_WAIT(N(GiveKeyReward)) + EVT_CALL(AddKeyItem, LVar0) + EVT_IF_LT(GB_MAC00_DojoRank, 5) + EVT_CALL(SpeakToPlayer, NPC_TheMaster, ANIM_TheMaster_Talk, ANIM_TheMaster_Idle, 0, MSG_MAC_Gate_0041) + EVT_END_IF + EVT_END_SWITCH + EVT_CALL(DisablePlayerInput, FALSE) + // restart cycle, waiting for the next battle + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcDefeat_Dojo) = { + EVT_CALL(SetEncounterStatusFlags, ENCOUNTER_STATUS_FLAGS_4, TRUE) + EVT_CALL(N(ResetBackgroundPostBattle)) + EVT_CALL(GetBattleOutcome, LVar0) + EVT_CALL(SetSelfVar, VAR_BATTLE_OUTCOME, LVar0) + EVT_CALL(SetSelfVar, VAR_FINISHED_BATTLE, TRUE) + EVT_CALL(SetPlayerAnimation, ANIM_Mario_10002) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_TheMaster_InteractImpl) = { + EVT_CALL(DisablePlayerInput, TRUE) + EVT_IF_EQ(GF_MAC00_Met_TheMaster, FALSE) + EVT_SET(GF_MAC00_Met_TheMaster, TRUE) + EVT_SET(LVar0, MSG_MAC_Gate_0017) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_0018) + EVT_END_IF + EVT_CALL(SpeakToPlayer, NPC_TheMaster, ANIM_TheMaster_Talk, ANIM_TheMaster_Idle, 0, LVar0) + EVT_CALL(ShowChoice, MSG_Choice_0016) + EVT_IF_EQ(LVar0, 1) + EVT_CALL(ContinueSpeech, NPC_TheMaster, ANIM_TheMaster_Talk, ANIM_TheMaster_Idle, 0, MSG_MAC_Gate_0019) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END_IF + EVT_IF_GT(GB_MAC00_DojoRank, 4) + EVT_CALL(ContinueSpeech, NPC_TheMaster, ANIM_TheMaster_Talk, ANIM_TheMaster_Idle, 0, MSG_MAC_Gate_0043) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END_IF + EVT_CALL(SetSelfVar, VAR_STARTED_BATTLE, TRUE) + EVT_WAIT(1) + EVT_SWITCH(GB_MAC00_DojoRank) + EVT_CASE_EQ(0) + EVT_CALL(BindNpcDefeat, NPC_Chan, EVT_PTR(N(EVS_NpcDefeat_Chan))) + EVT_CALL(BindNpcAI, NPC_Chan, EVT_PTR(N(EVS_NpcAI_Chan))) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_CASE_EQ(1) + EVT_CALL(BindNpcDefeat, NPC_Lee, EVT_PTR(N(EVS_NpcDefeat_Lee))) + EVT_CALL(BindNpcAI, NPC_Lee, EVT_PTR(N(EVS_NpcAI_Lee))) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_CASE_EQ(2) + EVT_SET(LVar1, MSG_MAC_Gate_002B) + EVT_CASE_EQ(3) + EVT_SET(LVar1, MSG_MAC_Gate_002C) + EVT_CASE_EQ(4) + EVT_SET(LVar1, MSG_MAC_Gate_002D) + EVT_END_SWITCH + EVT_CALL(ContinueSpeech, NPC_TheMaster, ANIM_TheMaster_Talk, ANIM_TheMaster_Idle, 0, LVar1) + EVT_WAIT(10) + EVT_CALL(SetNpcFlagBits, NPC_TheMaster, NPC_FLAG_100, TRUE) + EVT_THREAD + EVT_CALL(func_802D2C14, 1) + EVT_CALL(PlayerMoveTo, 348, -364, 20) + EVT_CALL(InterpPlayerYaw, 20, 0) + EVT_WAIT(20) + EVT_CALL(func_802D2C14, 0) + EVT_END_THREAD + EVT_CALL(NpcMoveTo, NPC_SELF, 375, -400, 30) + EVT_CALL(InterpNpcYaw, NPC_TheMaster, 225, 0) + EVT_WAIT(30) + EVT_CALL(SetNpcFlagBits, NPC_TheMaster, NPC_FLAG_100, FALSE) + EVT_CALL(BindNpcDefeat, NPC_SELF, EVT_PTR(N(EVS_NpcDefeat_Dojo))) + EVT_WAIT(1) + EVT_CALL(N(SetDojoBattle)) + EVT_IF_LT(GB_MAC00_DojoRank, 2) + EVT_CALL(StartBattle) + EVT_ELSE + EVT_CALL(StartBattleWith, SONG_MASTER_BATTLE) + EVT_END_IF + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_TheMaster) = { + EVT_EXEC(N(EVS_TheMaster_InteractImpl)) + EVT_WAIT(30) // purpose unknown -- perhaps somehow prevents double interaction? + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_TheMaster) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_TheMaster))) + EVT_CALL(BindNpcIdle, NPC_SELF, EVT_PTR(N(EVS_NpcIdle_TheMaster))) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_00/npc/russ_and_thief.inc.c b/src/world/area_mac/mac_00/npc/russ_and_thief.inc.c new file mode 100644 index 0000000000..3276860f20 --- /dev/null +++ b/src/world/area_mac/mac_00/npc/russ_and_thief.inc.c @@ -0,0 +1,385 @@ +s32 N(LetterList_RussT)[] = { + ITEM_LETTER04, + ITEM_NONE +}; + +EvtScript N(EVS_RussT_LetterPrompt) = { + EVT_CALL(N(LetterDelivery_Init), + NPC_RussT, ANIM_RussT_Talk, ANIM_RussT_Idle, + ITEM_LETTER04, ITEM_NONE, + MSG_MAC_Gate_0011, MSG_MAC_Gate_0012, MSG_MAC_Gate_0013, MSG_MAC_Gate_0014, + EVT_PTR(N(LetterList_RussT))) + EVT_EXEC_WAIT(N(EVS_DoLetterDelivery)) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_RussT_LetterReward) = { + EVT_IF_EQ(LVarC, 2) + EVT_SET(LVar0, ITEM_STAR_PIECE) + EVT_SET(LVar1, ITEM_TYPE_STAR_PIECE) + EVT_EXEC_WAIT(N(GiveKeyReward)) + EVT_CALL(AddStarPieces, 1) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ShyGuy_PlayRunningSounds) = { + EVT_LOOP(0) + EVT_CALL(PlaySoundAtNpc, LVar0, SOUND_B0000021, 0) + EVT_WAIT(2) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +typedef struct RussTLoreEntry { + /* 0x00 */ s32 hintMessage; + /* 0x04 */ s32 progressRequired; + /* 0x08 */ s32 isAvailableFlag; + /* 0x0C */ s32 savedFlag; + /* 0x10 */ s32 hasBeenGivenFlag; +} RussTLoreEntry; // size = 0x14 + +RussTLoreEntry N(RussTLore)[] = { + { MSG_RussTHint_0000, STORY_CH0_WAKE_UP, AF_MAC_45, GF_MAC00_RussT_HeardLore_00, AF_MAC_77 }, + { MSG_RussTHint_0001, STORY_CH0_WAKE_UP, AF_MAC_46, GF_MAC00_RussT_HeardLore_01, AF_MAC_78 }, + { MSG_RussTHint_0002, STORY_CH0_WAKE_UP, AF_MAC_47, GF_MAC00_RussT_HeardLore_02, AF_MAC_79 }, + { MSG_RussTHint_0003, STORY_CH0_WAKE_UP, AF_MAC_48, GF_MAC00_RussT_HeardLore_03, AF_MAC_7A }, + { MSG_RussTHint_0004, STORY_CH0_BEGAN_PEACH_MISSION, AF_MAC_49, GF_MAC00_RussT_HeardLore_04, AF_MAC_7B }, + { MSG_RussTHint_0005, STORY_CH0_BEGAN_PEACH_MISSION, AF_MAC_4A, GF_MAC00_RussT_HeardLore_05, AF_MAC_7C }, + { MSG_RussTHint_0006, STORY_CH0_BEGAN_PEACH_MISSION, AF_MAC_4B, GF_MAC00_RussT_HeardLore_06, AF_MAC_7D }, + { MSG_RussTHint_0007, STORY_CH0_BEGAN_PEACH_MISSION, AF_MAC_4C, GF_MAC00_RussT_HeardLore_07, AF_MAC_7E }, + { MSG_RussTHint_0008, STORY_CH1_BEGAN_PEACH_MISSION, AF_MAC_4D, GF_MAC00_RussT_HeardLore_08, AF_MAC_7F }, + { MSG_RussTHint_0009, STORY_CH1_BEGAN_PEACH_MISSION, AF_MAC_4E, GF_MAC00_RussT_HeardLore_09, AF_MAC_80 }, + { MSG_RussTHint_000A, STORY_CH1_BEGAN_PEACH_MISSION, AF_MAC_4F, GF_MAC00_RussT_HeardLore_0A, AF_MAC_81 }, + { MSG_RussTHint_000B, STORY_CH1_BEGAN_PEACH_MISSION, AF_MAC_50, GF_MAC00_RussT_HeardLore_0B, AF_MAC_82 }, + { MSG_RussTHint_000C, STORY_CH2_BEGAN_PEACH_MISSION, AF_MAC_51, GF_MAC00_RussT_HeardLore_0C, AF_MAC_83 }, + { MSG_RussTHint_000D, STORY_CH2_BEGAN_PEACH_MISSION, AF_MAC_52, GF_MAC00_RussT_HeardLore_0D, AF_MAC_84 }, + { MSG_RussTHint_000E, STORY_CH2_BEGAN_PEACH_MISSION, AF_MAC_53, GF_MAC00_RussT_HeardLore_0E, AF_MAC_85 }, + { MSG_RussTHint_000F, STORY_CH2_BEGAN_PEACH_MISSION, AF_MAC_54, GF_MAC00_RussT_HeardLore_0F, AF_MAC_86 }, + { MSG_RussTHint_0010, STORY_CH3_BEGAN_PEACH_MISSION, AF_MAC_55, GF_MAC00_RussT_HeardLore_10, AF_MAC_87 }, + { MSG_RussTHint_0011, STORY_CH3_BEGAN_PEACH_MISSION, AF_MAC_56, GF_MAC00_RussT_HeardLore_11, AF_MAC_88 }, + { MSG_RussTHint_0012, STORY_CH3_BEGAN_PEACH_MISSION, AF_MAC_57, GF_MAC00_RussT_HeardLore_12, AF_MAC_89 }, + { MSG_RussTHint_0013, STORY_CH3_BEGAN_PEACH_MISSION, AF_MAC_58, GF_MAC00_RussT_HeardLore_13, AF_MAC_8A }, + { MSG_RussTHint_0014, STORY_CH4_BEGAN_PEACH_MISSION, AF_MAC_59, GF_MAC00_RussT_HeardLore_14, AF_MAC_8B }, + { MSG_RussTHint_0015, STORY_CH4_BEGAN_PEACH_MISSION, AF_MAC_5A, GF_MAC00_RussT_HeardLore_15, AF_MAC_8C }, + { MSG_RussTHint_0016, STORY_CH4_BEGAN_PEACH_MISSION, AF_MAC_5B, GF_MAC00_RussT_HeardLore_16, AF_MAC_8D }, + { MSG_RussTHint_0017, STORY_CH4_BEGAN_PEACH_MISSION, AF_MAC_5C, GF_MAC00_RussT_HeardLore_17, AF_MAC_8E }, + { MSG_RussTHint_0018, STORY_CH5_BEGAN_PEACH_MISSION, AF_MAC_5D, GF_MAC00_RussT_HeardLore_18, AF_MAC_8F }, + { MSG_RussTHint_0019, STORY_CH5_BEGAN_PEACH_MISSION, AF_MAC_5E, GF_MAC00_RussT_HeardLore_19, AF_MAC_90 }, + { MSG_RussTHint_001A, STORY_CH5_BEGAN_PEACH_MISSION, AF_MAC_5F, GF_MAC00_RussT_HeardLore_1A, AF_MAC_91 }, + { MSG_RussTHint_001B, STORY_CH5_BEGAN_PEACH_MISSION, AF_MAC_60, GF_MAC00_RussT_HeardLore_1B, AF_MAC_92 }, + { MSG_RussTHint_001C, STORY_CH6_BEGAN_PEACH_MISSION, AF_MAC_61, GF_MAC00_RussT_HeardLore_1C, AF_MAC_93 }, + { MSG_RussTHint_001D, STORY_CH6_BEGAN_PEACH_MISSION, AF_MAC_62, GF_MAC00_RussT_HeardLore_1D, AF_MAC_94 }, + { MSG_RussTHint_001E, STORY_CH6_BEGAN_PEACH_MISSION, AF_MAC_63, GF_MAC00_RussT_HeardLore_1E, AF_MAC_95 }, + { MSG_RussTHint_001F, STORY_CH6_BEGAN_PEACH_MISSION, AF_MAC_64, GF_MAC00_RussT_HeardLore_1F, AF_MAC_96 }, + { MSG_RussTHint_0020, STORY_CH7_BEGAN_PEACH_MISSION, AF_MAC_65, GF_MAC00_RussT_HeardLore_20, AF_MAC_97 }, + { MSG_RussTHint_0021, STORY_CH7_BEGAN_PEACH_MISSION, AF_MAC_66, GF_MAC00_RussT_HeardLore_21, AF_MAC_98 }, + { MSG_RussTHint_0022, STORY_CH7_BEGAN_PEACH_MISSION, AF_MAC_67, GF_MAC00_RussT_HeardLore_22, AF_MAC_99 }, + { MSG_RussTHint_0023, STORY_CH7_BEGAN_PEACH_MISSION, AF_MAC_68, GF_MAC00_RussT_HeardLore_23, AF_MAC_9A }, +}; + +API_CALLABLE(N(ResetRussHintsGiven)) { + RussTLoreEntry* entry = N(RussTLore); + u32 i; + + for (i = 0; i < ARRAY_COUNT(N(RussTLore)); i++, entry++) { + evt_set_variable(script, entry->hasBeenGivenFlag, FALSE); + } + return ApiStatus_DONE2; +} + +API_CALLABLE(N(InitRussHintUnlocks)) { + RussTLoreEntry* entry = N(RussTLore); + u32 i; + + for (i = 0; i < ARRAY_COUNT(N(RussTLore)); i++, entry++) { + s32 progress = evt_get_variable(script, GB_StoryProgress); + + evt_set_variable(script, entry->isAvailableFlag, progress >= entry->progressRequired); + } + return ApiStatus_DONE2; +} + +API_CALLABLE(N(GetRussHintMessage)) { + RussTLoreEntry* entry = N(RussTLore); + s32 hasHintMessage = FALSE; + s32 count = 0; + u32 i; + + for (i = 0; i < ARRAY_COUNT(N(RussTLore)); i++, entry++) { + if (evt_get_variable(script, entry->isAvailableFlag)) { + if (!evt_get_variable(script, entry->savedFlag)) { + hasHintMessage = TRUE; + break; + } else { + if (!evt_get_variable(script, entry->hasBeenGivenFlag)) { + count++; + } + } + } + } + + if (!hasHintMessage) { + entry = N(RussTLore); + i = 0; + if (count != 0) { + s32 chosenHint = rand_int(count - 1); + + count = 0; + + for (i = hasHintMessage; i < ARRAY_COUNT(N(RussTLore)); i++, entry++) { + if (evt_get_variable(script, entry->isAvailableFlag) && + !evt_get_variable(script, entry->hasBeenGivenFlag) && + count++ >= chosenHint) + { + break; + } + } + } + } + script->varTable[0] = i; + script->varTable[1] = entry->hintMessage; + script->varTable[2] = hasHintMessage; + evt_set_variable(script, entry->savedFlag, TRUE); + evt_set_variable(script, entry->hasBeenGivenFlag, TRUE); + return ApiStatus_DONE2; +} + +API_CALLABLE(N(GetRussHintCount)) { + RussTLoreEntry* entry = N(RussTLore); + s32 count = 0; + u32 i; + + for (i = 0; i < ARRAY_COUNT(N(RussTLore)); i++, entry++) { + if (evt_get_variable(script, entry->isAvailableFlag) && !evt_get_variable(script, entry->hasBeenGivenFlag)) { + count++; + } + } + script->varTable[0] = count; + return ApiStatus_DONE2; +} + +EvtScript N(EVS_ManageCarriedDictionary) = { + EVT_CALL(GetNpcPos, NPC_ShyGuyThief, LVar2, LVar3, LVar4) + EVT_ADD(LVar3, 20) + EVT_CALL(MakeItemEntity, ITEM_DICTIONARY, LVar2, LVar3, LVar4, ITEM_SPAWN_MODE_DECORATION, 0) + EVT_SET(LVar9, LVar0) + EVT_WAIT(1) + EVT_LOOP(300) + EVT_CALL(GetNpcPos, NPC_ShyGuyThief, LVar2, LVar3, LVar4) + EVT_ADD(LVar3, 20) + EVT_CALL(SetItemPos, LVar9, LVar2, LVar3, LVar4) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(RemoveItemEntity, LVar9) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ShyGuy_StealDictionary) = { + EVT_LOOP(0) + EVT_CALL(GetPlayerPos, LVar0, LVar1, LVar2) + EVT_IF_GT(LVar0, -60) + EVT_IF_LT(LVar0, 120) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(SetNpcPos, NPC_ShyGuyThief, -30, 20, -470) + EVT_CALL(SetNpcAnimation, NPC_ShyGuyThief, ANIM_ShyGuy_Red_Anim04) + EVT_WAIT(1) + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(ShowMessageAtScreenPos, MSG_MAC_Gate_0009, 160, 40) + EVT_EXEC(N(EVS_ManageCarriedDictionary)) + EVT_THREAD + EVT_CALL(SetGroupEnabled, MODEL_intel_inn, 1) + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilit3, SOUND_BASIC_DOOR_OPEN, 0) + EVT_SET(LVar0, 0) + EVT_LOOP(10) + EVT_ADD(LVar0, 8) + EVT_CALL(RotateModel, MODEL_o210, LVar0, 0, 1, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_LOOP(10) + EVT_ADD(LVar0, -8) + EVT_CALL(RotateModel, MODEL_o210, LVar0, 0, 1, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilit3, SOUND_BASIC_DOOR_CLOSE, 0) + EVT_CALL(SetGroupEnabled, MODEL_intel_inn, 0) + EVT_END_THREAD + EVT_WAIT(5) + EVT_CALL(SetNpcSpeed, NPC_ShyGuyThief, 10) + EVT_SET(LVar0, 21) + EVT_EXEC_GET_TID(N(EVS_ShyGuy_PlayRunningSounds), LVarA) + EVT_CALL(NpcMoveTo, NPC_ShyGuyThief, -10, -410, 0) + EVT_KILL_THREAD(LVarA) + EVT_CALL(PlaySoundAtNpc, NPC_ShyGuyThief, SOUND_32C, 0) + EVT_CALL(NpcJump0, NPC_ShyGuyThief, -10, 0, -340, 0) + EVT_SET(LVar0, 21) + EVT_CALL(PlaySoundAtNpc, LVar0, SOUND_203F, 0) + EVT_EXEC_GET_TID(N(EVS_ShyGuy_PlayRunningSounds), LVarA) + EVT_CALL(NpcMoveTo, NPC_ShyGuyThief, 45, -186, 0) + EVT_CALL(NpcMoveTo, NPC_ShyGuyThief, 139, -67, 0) + EVT_THREAD + EVT_CALL(NpcMoveTo, NPC_ShyGuyThief, 300, -20, 0) + EVT_CALL(NpcMoveTo, NPC_ShyGuyThief, 600, 0, 0) + EVT_KILL_THREAD(LVarA) + EVT_CALL(SetNpcPos, NPC_ShyGuyThief, NPC_DISPOSE_LOCATION) + EVT_END_THREAD + EVT_SET(GF_MAC00_DictionaryStolen, TRUE) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_ShyGuyThief) = { + EVT_IF_LT(GB_StoryProgress, STORY_CH3_STAR_SPRIT_DEPARTED) + EVT_RETURN + EVT_END_IF + EVT_IF_GT(GB_StoryProgress, STORY_CH4_GOT_TAYCE_TS_CAKE) + EVT_RETURN + EVT_END_IF + EVT_IF_NE(GF_MAC00_DictionaryStolen, FALSE) + EVT_RETURN + EVT_END_IF + EVT_EXEC(N(EVS_ShyGuy_StealDictionary)) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_RussT_GetHint) = { + EVT_CALL(N(InitRussHintUnlocks)) + EVT_IF_EQ(GF_MAC00_Met_RussT, FALSE) + EVT_SET(GF_MAC00_Met_RussT, TRUE) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_RussT_Talk, ANIM_RussT_Idle, 0, MSG_MAC_Gate_0004) + EVT_RETURN + EVT_END_IF + EVT_CALL(N(GetRussHintCount)) + EVT_IF_EQ(LVar0, 0) + EVT_CALL(SpeakToPlayer, NPC_RussT, ANIM_RussT_Talk, ANIM_RussT_Idle, 0, MSG_MAC_Gate_0008) + EVT_RETURN + EVT_END_IF + EVT_CALL(N(GetRussHintMessage)) + EVT_IF_NE(LVar2, 0) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_RussT_Talk, ANIM_RussT_Idle, 0, MSG_MAC_Gate_0005) + EVT_ELSE + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_RussT_Talk, ANIM_RussT_Idle, 0, MSG_MAC_Gate_0006) + EVT_END_IF + EVT_CALL(ContinueSpeech, NPC_SELF, ANIM_RussT_Talk, ANIM_RussT_Idle, 0, LVar1) + EVT_CALL(ContinueSpeech, NPC_SELF, ANIM_RussT_Talk, ANIM_RussT_Idle, 0, MSG_MAC_Gate_0007) + EVT_RETURN + EVT_END +}; + +s32 N(ItemList_RussDocuments1)[] = { + ITEM_DICTIONARY, + ITEM_MYSTERY_NOTE, + ITEM_SUSPICIOUS_NOTE, + ITEM_NONE +}; + +s32 N(ItemList_RussDocuments2)[] = { + ITEM_MYSTERY_NOTE, + ITEM_SUSPICIOUS_NOTE, + ITEM_NONE +}; + +EvtScript N(EVS_ItemPrompt_Dictionary) = { + EVT_IF_EQ(AF_MAC_0D, FALSE) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_RussT_Talk, ANIM_RussT_Idle, 0, MSG_MAC_Gate_000A) + EVT_SET(AF_MAC_0D, TRUE) + EVT_ELSE + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_RussT_Talk, ANIM_RussT_Idle, 0, MSG_MAC_Gate_000B) + EVT_END_IF + EVT_CHOOSE_KEY_ITEM_FROM(N(ItemList_RussDocuments1)) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(ITEM_DICTIONARY) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_RussT_Talk, ANIM_RussT_Idle, 0, MSG_MAC_Gate_000D) + EVT_SET(GF_MAC00_DictionaryReturned, TRUE) + EVT_WAIT(10) + EVT_GIVE_STAR_PIECE() + EVT_WAIT(10) + EVT_IF_EQ(GF_MAC00_TranslatedMysteryNote, TRUE) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_RussT_Talk, ANIM_RussT_Idle, 0, MSG_MAC_Gate_0010) + EVT_END_IF + EVT_CASE_EQ(ITEM_MYSTERY_NOTE) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_RussT_Talk, ANIM_RussT_Idle, 0, MSG_MAC_Gate_000F) + EVT_SET(GF_MAC00_TranslatedMysteryNote, TRUE) + EVT_CASE_EQ(-1) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_RussT_Talk, ANIM_RussT_Idle, 0, MSG_MAC_Gate_000C) + EVT_CASE_EQ(0) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ItemPrompt_Documents) = { + EVT_SET(LVarA, 0) + EVT_CHOOSE_KEY_ITEM_FROM(N(ItemList_RussDocuments2)) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_IF_LT(GB_StoryProgress, STORY_CH4_SOLVED_COLOR_PUZZLE) + EVT_IF_EQ(GF_MAC00_TranslatedMysteryNote, TRUE) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_RussT_Talk, ANIM_RussT_Idle, 0, MSG_MAC_Gate_0010) + EVT_SET(LVarA, 1) + EVT_RETURN + EVT_END_IF + EVT_ELSE + EVT_END_IF + EVT_CASE_EQ(-1) + EVT_CASE_DEFAULT + EVT_IF_EQ(LVar0, ITEM_MYSTERY_NOTE) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_RussT_Talk, ANIM_RussT_Idle, 0, MSG_MAC_Gate_000E) + EVT_SET(GF_MAC00_TranslatedMysteryNote, TRUE) + EVT_SET(LVarA, 1) + EVT_END_IF + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_RussT) = { + EVT_IF_GE(GB_StoryProgress, STORY_CH3_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC00_DictionaryReturned, FALSE) + EVT_EXEC_WAIT(N(EVS_ItemPrompt_Dictionary)) + EVT_EXEC_WAIT(N(EVS_RussT_LetterPrompt)) + EVT_EXEC_WAIT(N(EVS_RussT_LetterReward)) + EVT_IF_NE(LVarC, 0) + EVT_RETURN + EVT_END_IF + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(EVS_ItemPrompt_Documents)) + EVT_IF_NE(LVarA, 0) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_EXEC_WAIT(N(EVS_RussT_GetHint)) + EVT_EXEC_WAIT(N(EVS_RussT_LetterPrompt)) + EVT_EXEC_WAIT(N(EVS_RussT_LetterReward)) + EVT_IF_NE(LVarC, 0) + EVT_RETURN + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_RussT) = { + EVT_CALL(N(ResetRussHintsGiven)) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_RussT))) + EVT_RETURN + EVT_END +}; + +NpcSettings N(NpcSettings_RussT) = { + .defaultAnim = ANIM_RussT_Idle, + .height = 30, + .radius = 24, + .level = 99, + .flags = ENEMY_FLAGS_1, +}; diff --git a/src/world/area_mac/mac_00/npc/trading_toad.inc.c b/src/world/area_mac/mac_00/npc/trading_toad.inc.c new file mode 100644 index 0000000000..6a61a729ca --- /dev/null +++ b/src/world/area_mac/mac_00/npc/trading_toad.inc.c @@ -0,0 +1,62 @@ +API_CALLABLE(N(CheckTradeEventTime)) { + script->varTable[0] = (s32) ((gPlayerData.frameCounter - gPlayerData.tradeEventStartTime) / 3600) < script->varTable[0]; + return ApiStatus_DONE2; +} + +API_CALLABLE(N(GetTradeEventItemCount)) { + script->varTable[0] = get_item_count(); + return ApiStatus_DONE2; +} + +EvtScript N(EVS_NpcInteract_TradingToad) = { + EVT_SET(LVar0, 5) + EVT_CALL(N(CheckTradeEventTime)) + EVT_IF_EQ(LVar0, 0) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Pink_Talk, ANIM_Toad_Pink_Idle, 0, MSG_MAC_Gate_0119) + EVT_WAIT(10) + EVT_CALL(GetNpcPos, NPC_SELF, LVar0, LVar1, LVar2) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_SMOKE_BURST, 0) + EVT_PLAY_EFFECT(EFFECT_BIG_SMOKE_PUFF, LVar0, LVar1, LVar2, 1, 1, 1, 1) + EVT_CALL(SetNpcPos, NPC_SELF, NPC_DISPOSE_LOCATION) + EVT_SET(GF_TradingEvent1_Active, FALSE) + EVT_RETURN + EVT_END_IF + EVT_CALL(N(GetTradeEventItemCount)) + EVT_IF_EQ(LVar0, 0) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Pink_Talk, ANIM_Toad_Pink_Idle, 0, MSG_MAC_Gate_011A) + EVT_RETURN + EVT_END_IF + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Pink_Talk, ANIM_Toad_Pink_Idle, 0, MSG_MAC_Gate_011B) + EVT_CHOOSE_ANY_CONSUMABLE(24) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(-1) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Pink_Talk, ANIM_Toad_Pink_Idle, 0, MSG_MAC_Gate_011F) + EVT_RETURN + EVT_CASE_EQ(ITEM_KOOPA_LEAF) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Pink_Talk, ANIM_Toad_Pink_Idle, 0, MSG_MAC_Gate_011C) + EVT_GIVE_CONSUMABLE_REWARD(ITEM_MAPLE_SYRUP) + EVT_WAIT(10) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Pink_Talk, ANIM_Toad_Pink_Idle, 0, MSG_MAC_Gate_011D) + EVT_WAIT(10) + EVT_CALL(GetNpcPos, NPC_SELF, LVar0, LVar1, LVar2) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_SMOKE_BURST, 0) + EVT_PLAY_EFFECT(EFFECT_BIG_SMOKE_PUFF, LVar0, LVar1, LVar2, 1, 1, 1, 1) + EVT_CALL(SetNpcPos, NPC_SELF, NPC_DISPOSE_LOCATION) + EVT_SET(GF_TradingEvent1_Active, FALSE) + EVT_ADD(GB_TradingEvent_Count, 1) + EVT_CASE_DEFAULT + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Pink_Talk, ANIM_Toad_Pink_Idle, 0, MSG_MAC_Gate_011E) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_TradingToad) = { + EVT_IF_NE(GF_TradingEvent1_Active, FALSE) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_TradingToad))) + EVT_ELSE + EVT_CALL(RemoveNpc, NPC_SELF) + EVT_END_IF + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_00/npc/waterfront_family.inc.c b/src/world/area_mac/mac_00/npc/waterfront_family.inc.c new file mode 100644 index 0000000000..88e91b4f5d --- /dev/null +++ b/src/world/area_mac/mac_00/npc/waterfront_family.inc.c @@ -0,0 +1,226 @@ +EvtScript N(EVS_NpcInteract_WaterfrontDad) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Gate_0044) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(LVar0, MSG_MAC_Gate_0045) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_0046) + EVT_CASE_LT(STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_0047) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_0048) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_0049) + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC00_DictionaryStolen, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_004A) + EVT_ELSE + EVT_IF_EQ(GF_MAC00_DictionaryReturned, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_004B) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_004C) + EVT_END_IF + EVT_END_IF + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MAC_Gate_004D) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_004E) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MAC_Gate_004F) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_0050) + EVT_CASE_LT(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_SET(LVar0, MSG_MAC_Gate_0051) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_0052) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Gate_0053) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_0036) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Green_Talk, ANIM_Toad_Green_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_WaterfrontMom) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Gate_0054) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(LVar0, MSG_MAC_Gate_0055) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_0056) + EVT_CASE_LT(STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_0057) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_0058) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_0059) + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MAC_Gate_005A) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_005B) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MAC_Gate_005C) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_005D) + EVT_CASE_LT(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_SET(LVar0, MSG_MAC_Gate_005E) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_005F) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Gate_0060) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_0037) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toadette_Orange_Talk, ANIM_Toadette_Orange_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_WaterfrontKid1) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Gate_0061) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(LVar0, MSG_MAC_Gate_0062) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_0063) + EVT_CASE_LT(STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_0064) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_0065) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_0066) + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC00_DictionaryStolen, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_0067) + EVT_ELSE + EVT_IF_EQ(GF_MAC00_DictionaryReturned, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_0068) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_0069) + EVT_END_IF + EVT_END_IF + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MAC_Gate_006A) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_006B) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MAC_Gate_006C) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_006D) + EVT_CASE_LT(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_SET(LVar0, MSG_MAC_Gate_006E) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_006F) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Gate_0070) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_0038) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Green_Talk, ANIM_Toad_Green_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_WaterfrontKid2) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Gate_0071) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(LVar0, MSG_MAC_Gate_0072) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_0073) + EVT_CASE_LT(STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_0074) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_0075) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_0076) + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MAC_Gate_0077) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_0078) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MAC_Gate_0079) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Gate_007A) + EVT_CASE_LT(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_SET(LVar0, MSG_MAC_Gate_007B) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Gate_007C) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Gate_007D) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_0039) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Green_Talk, ANIM_Toad_Green_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_WaterfrontDad) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_WaterfrontDad))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_WaterfrontMom) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_WaterfrontMom))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_WaterfrontKid1) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_WaterfrontKid1))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_WaterfrontKid2) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_WaterfrontKid2))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_WaterfrontHouse_DoorLocked) = { + EVT_IF_LT(GB_StoryProgress, STORY_CH3_STAR_SPRIT_DEPARTED) + EVT_RETURN + EVT_END_IF + EVT_IF_GE(GB_StoryProgress, STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_RETURN + EVT_END_IF + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC00_DictionaryStolen, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_004A) + EVT_SET(LVar1, MSG_MAC_Gate_0067) + EVT_ELSE + EVT_IF_EQ(GF_MAC00_DictionaryReturned, FALSE) + EVT_SET(LVar0, MSG_MAC_Gate_004B) + EVT_SET(LVar1, MSG_MAC_Gate_0068) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Gate_004C) + EVT_SET(LVar1, MSG_MAC_Gate_0069) + EVT_END_IF + EVT_END_IF + EVT_END_SWITCH + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(ShowMessageAtScreenPos, LVar0, 160, 40) + EVT_WAIT(5) + EVT_CALL(ShowMessageAtScreenPos, LVar1, 160, 40) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_01/800880.c b/src/world/area_mac/mac_01/800880.c deleted file mode 100644 index d1ef8900f3..0000000000 --- a/src/world/area_mac/mac_01/800880.c +++ /dev/null @@ -1,26 +0,0 @@ -#include "mac_01.h" - -static char* N(exit_str_0) = "mac_00"; -static char* N(exit_str_1) = "nok_11"; -static char* N(exit_str_2) = "kmr_22"; -static char* N(exit_str_3) = "osr_00"; -static char* N(exit_str_4) = "osr_01"; -static char* N(exit_str_5) = "mac_02"; - -ApiStatus func_80240000_800880(Evt* script, s32 isInitialCall) { - s32 itemIndex = evt_get_variable(script, *script->ptrReadPos); - - set_item_entity_flags(gGameStatusPtr->shopItemEntities[itemIndex].index, 0x40); - return ApiStatus_DONE2; -} - -ApiStatus func_80240044_8008C4(Evt* script, s32 isInitialCall) { - s32 itemIndex = evt_get_variable(script, *script->ptrReadPos); - s32* var1 = (s32*) evt_get_variable(NULL, MapVar(2)); - - set_item_entity_flags(gGameStatusPtr->shopItemEntities[itemIndex].index, 0x40); - evt_set_variable(NULL, var1[itemIndex], 1); - return ApiStatus_DONE2; -} - -INCLUDE_ASM(s32, "world/area_mac/mac_01/800880", func_802400C8_800948); diff --git a/src/world/area_mac/mac_01/801700.c b/src/world/area_mac/mac_01/801700.c deleted file mode 100644 index 3d3f29cb28..0000000000 --- a/src/world/area_mac/mac_01/801700.c +++ /dev/null @@ -1,33 +0,0 @@ -#include "mac_01.h" - -typedef struct UnkMac01 { - /* 0x00 */ s32 unk_00; - /* 0x04 */ s32 unk_04; - /* 0x08 */ s32 unk_08; -} UnkMac01; // size = 0xC - -extern UnkMac01 D_802485E8_808E68[26]; - -ApiStatus func_80240E80_801700(Evt* script, s32 isInitialCall) { - s32 idx = evt_get_variable(script, GameByte(349)); - - script->varTable[0] = D_802485E8_808E68[idx].unk_00; - script->varTable[1] = D_802485E8_808E68[idx].unk_04; - return ApiStatus_DONE2; -} - -ApiStatus func_80240ED8_801758(Evt* script, s32 isInitialCall) { - s32 temp_a0 = evt_get_variable(script, GameByte(0)); - UnkMac01* it; - s32 i; - - it = &D_802485E8_808E68[ARRAY_COUNT(D_802485E8_808E68) - 1]; - - for (i = ARRAY_COUNT(D_802485E8_808E68) - 1; i >= 0; i--, it--) { - if (temp_a0 >= it->unk_08) { - break; - } - } - evt_set_variable(script, GameByte(349), i); - return ApiStatus_DONE2; -} diff --git a/src/world/area_mac/mac_01/8017D0.c b/src/world/area_mac/mac_01/8017D0.c deleted file mode 100644 index 7cd5320b34..0000000000 --- a/src/world/area_mac/mac_01/8017D0.c +++ /dev/null @@ -1,699 +0,0 @@ -#include "mac_01.h" -#include "model.h" -#include "hud_element.h" - -extern IconHudScriptPair gItemHudScripts[]; - -#define CHUCK_QUIZMO_NPC_ID 5 - -extern s32 mac_01_ItemChoice_HasSelectedItem; -extern s32 mac_01_ItemChoice_SelectedItemID; -extern s32 D_80258404_818C84; -extern s32 D_80262F68; - -#include "world/common/atomic/MonitorMusicProximityTrigger.inc.c" - -#include "world/common/enemy/ai/PatrolNoAttackAI.inc.c" - -static char* N(exit_str_0) = "flo_00"; -static char* N(exit_str_1) = "kmr_22"; - -extern s32 N(Quizmo_Worker); -extern s32 N(Quizmo_AnswerResult); -extern EffectInstance* N(Quizmo_StageEffect); -extern EffectInstance* N(Quizmo_AudienceEffect); -extern EffectInstance* N(Quizmo_VannaTEffect); - -#include "world/common/atomic/Quizmo.inc.c" - -#include "world/common/todo/UnkFoldFunc.inc.c" - -ApiStatus func_80243380_803C00(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 spriteIndex = evt_get_variable(script, *args++); - s32 rasterIndex = evt_get_variable(script, *args++); - UnkEntityStruct* temp_v0 = heap_malloc(sizeof(*temp_v0)); - - temp_v0->spriteIndex = spriteIndex; - temp_v0->rasterIndex = rasterIndex; - temp_v0->unk_34 = gPlayerStatus.colliderHeight; - temp_v0->unk_38 = gPlayerStatus.colliderDiameter; - temp_v0->pos.x = gPlayerStatus.position.x; - temp_v0->pos.y = gPlayerStatus.position.y; - temp_v0->pos.z = gPlayerStatus.position.z; - temp_v0->rot.x = 0.0f; - temp_v0->rot.y = 0.0f; - temp_v0->rot.z = 0.0f; - temp_v0->scale.x = SPRITE_WORLD_SCALE_F; - temp_v0->scale.y = SPRITE_WORLD_SCALE_F; - temp_v0->scale.z = SPRITE_WORLD_SCALE_F; - temp_v0->foldID = func_8013A704(1); - temp_v0->entityID = create_worker_world(NULL, mac_01_UnkFoldFunc); - evt_set_variable(script, MapVar(10), (s32) temp_v0); - return ApiStatus_DONE2; -} - -ApiStatus func_80243494_803D14(Evt* script, s32 isInitialCall) { - UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL, MapVar(10)); - - func_8013A854(temp_v0->foldID); - free_worker(temp_v0->entityID); - heap_free(temp_v0); - evt_set_variable(script, MapVar(10), NULL); - return ApiStatus_DONE2; -} - -ApiStatus func_80243500_803D80(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 x = evt_get_float_variable(script, *args++); - s32 y = evt_get_float_variable(script, *args++); - s32 z = evt_get_float_variable(script, *args++); - UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL, MapVar(10)); - - temp_v0->pos.x = x; - temp_v0->pos.y = y; - temp_v0->pos.z = z; - return ApiStatus_DONE2; -} - -ApiStatus func_802435C0_803E40(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 x = evt_get_float_variable(script, *args++); - s32 y = evt_get_float_variable(script, *args++); - s32 z = evt_get_float_variable(script, *args++); - UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL, MapVar(10)); - - temp_v0->rot.x = x; - temp_v0->rot.y = y; - temp_v0->rot.z = z; - return ApiStatus_DONE2; -} - -ApiStatus func_80243680_803F00(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 x = evt_get_float_variable(script, *args++); - s32 y = evt_get_float_variable(script, *args++); - s32 z = evt_get_float_variable(script, *args++); - UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL, MapVar(10)); - - temp_v0->scale.x = x; - temp_v0->scale.y = y; - temp_v0->scale.z = z; - return ApiStatus_DONE2; -} - -ApiStatus func_80243740_803FC0(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 spriteIndex = evt_get_variable(script, *args++); - s32 rasterIndex = evt_get_variable(script, *args++); - UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL, MapVar(10)); - - temp_v0->spriteIndex = spriteIndex; - temp_v0->rasterIndex = rasterIndex; - return ApiStatus_DONE2; -} - -#include "world/common/atomic/ToadHouse.inc.c" - -#include "world/common/todo/GetNpcCollisionHeight.inc.c" - -#include "world/common/todo/AddPlayerHandsOffset.inc.c" - -INCLUDE_ASM(s32, "world/area_mac/mac_01/8017D0", func_80243CD4_804554); - -ApiStatus N(ItemChoice_SaveSelected)(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - - N(ItemChoice_SelectedItemID) = evt_get_variable(script, *args); - N(ItemChoice_HasSelectedItem) = TRUE; - return ApiStatus_DONE2; -} - -extern s32 mac_01_D_80262A70[]; - -ApiStatus func_80243D60_8045E0(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32* ptr = (s32*) evt_get_variable(script, *args++); - s32 i; - - if (ptr != NULL) { - for (i = 0; ptr[i] != 0; i++) { - mac_01_D_80262A70[i] = ptr[i]; - } - mac_01_D_80262A70[i] = 0; - } else { - for (i = 0; i < 112; i++) { - mac_01_D_80262A70[i] = i + 16; - mac_01_D_80262A70[112] = 0; - } - } - return ApiStatus_DONE2; -} - -extern s32 N(LetterDelivery_SavedNpcAnim); -#include "world/common/todo/LetterDelivery.inc.c" - -#include "world/common/todo/GetPlayerCoins.inc.c" - -ApiStatus func_802440FC_80497C(Evt* script, s32 isInitialCall) { - if (isInitialCall) { - set_mdl_custom_gfx_set(get_model_from_list_index(get_model_list_index_from_tree_index(0x2B)), -1, 3); - set_mdl_custom_gfx_set(get_model_from_list_index(get_model_list_index_from_tree_index(0x2A)), -1, 3); - set_mdl_custom_gfx_set(get_model_from_list_index(get_model_list_index_from_tree_index(0x29)), -1, 3); - set_model_env_color_parameters(255, 255, 255, 0, 0, 0); - script->functionTemp[0] = 255; - } - script->functionTemp[0] -= 4; - if (script->functionTemp[0] < 64) { - script->functionTemp[0] = 64; - } - set_model_env_color_parameters(script->functionTemp[0], script->functionTemp[0], script->functionTemp[0], 0, 0, 0); - if (script->functionTemp[0] == 64) { - return ApiStatus_DONE2; - } - return ApiStatus_BLOCK; -} - -ApiStatus func_802441EC_804A6C(Evt* script, s32 isInitialCall) { - if (isInitialCall) { - script->functionTemp[0] = 64; - script->functionTemp[2] = 64; - script->functionTemp[1] = 0; - } - if (script->functionTemp[1] == 0) { - script->functionTemp[0] += 4; - script->functionTemp[2] += 4; - if (script->functionTemp[0] > 127) { - script->functionTemp[0] = 127; - } - if (script->functionTemp[2] > 127) { - script->functionTemp[2] = 127; - } - if (script->functionTemp[0] == 127 && (script->functionTemp[2] == script->functionTemp[0])) { - script->functionTemp[1] = 1; - } - } else { - script->functionTemp[0] -= 4; - script->functionTemp[2] -= 4; - if (script->functionTemp[0] < 64) { - script->functionTemp[0] = 64; - } - if (script->functionTemp[2] < 0) { - script->functionTemp[2] = 0; - } - } - set_model_env_color_parameters( - script->functionTemp[0], script->functionTemp[0], script->functionTemp[0], - script->functionTemp[2], script->functionTemp[2], script->functionTemp[2] - ); - if (script->functionTemp[0] == 64 && script->functionTemp[2] == 0) { - return ApiStatus_DONE2; - } - return ApiStatus_BLOCK; -} - -ApiStatus func_80244308_804B88(Evt* script, s32 isInitialCall) { - if (isInitialCall) { - script->functionTemp[0] = 64; - } - script->functionTemp[0] += 4; - if (script->functionTemp[0] > 255) { - script->functionTemp[0] = 255; - } - set_model_env_color_parameters(script->functionTemp[0], script->functionTemp[0], script->functionTemp[0], 0, 0, 0); - if (script->functionTemp[0] == 255) { - set_mdl_custom_gfx_set(get_model_from_list_index(get_model_list_index_from_tree_index(0x2B)), -1, 0); - set_mdl_custom_gfx_set(get_model_from_list_index(get_model_list_index_from_tree_index(0x2A)), -1, 0); - set_mdl_custom_gfx_set(get_model_from_list_index(get_model_list_index_from_tree_index(0x29)), -1, 0); - return ApiStatus_DONE2; - } - return ApiStatus_BLOCK; -} - -// identical to hos_06 func -// TODO may not be motionBlurFlame -ApiStatus func_802443E0_804C60(Evt* script, s32 isInitialCall) { - EffectInstance* effects[3]; - Matrix4f sp28, sp68; - f32 tx; - f32 ty; - f32 temp_f24; - f32 temp_f28; - f32 temp_f30; - s32 i; - - if (isInitialCall) { - script->functionTemp[0] = 180; - script->functionTempPtr[1] = (EffectInstance*) evt_get_variable(script, ArrayVar(3)); - script->functionTempPtr[2] = (EffectInstance*) evt_get_variable(script, ArrayVar(4)); - script->functionTempPtr[3] = (EffectInstance*) evt_get_variable(script, ArrayVar(5)); - } - - effects[0] = script->functionTempPtr[1]; - effects[1] = script->functionTempPtr[2]; - effects[2] = script->functionTempPtr[3]; - temp_f30 = (sin_deg(script->functionTemp[0]) * 10.0f) + 10.0f; - temp_f28 = (sin_deg(script->functionTemp[0]) * 25.0f) + 10.0f; - temp_f24 = script->functionTemp[0] * 10; - - for (i = 0; i < ARRAY_COUNT(effects); i++) { - guRotateF(sp28, -gCameras[gCurrentCameraID].currentYaw, 0.0f, 1.0f, 0.0f); - guRotateF(sp68, i * 120, 0.0f, 0.0f, 1.0f); - guMtxCatF(sp68, sp28, sp28); - tx = temp_f30 * sin_deg(temp_f24); - ty = temp_f28 * cos_deg(temp_f24); - guTranslateF(sp68, tx, ty, 0.0f); - guMtxCatF(sp68, sp28, sp28); - effects[i]->data.motionBlurFlame->pos.x = sp28[3][0]; - effects[i]->data.motionBlurFlame->pos.y = sp28[3][1]; - effects[i]->data.motionBlurFlame->pos.z = sp28[3][2]; - } - - script->functionTemp[0]--; - if (script->functionTemp[0] < 16) { - for (i = 0; i < ARRAY_COUNT(effects); i++) { - effects[i]->data.motionBlurFlame->unk_4C = script->functionTemp[0]; - } - } - - if (script->functionTemp[0] < 0) { - for (i = 0; i < ARRAY_COUNT(effects); i++) { - remove_effect(effects[i]); - } - return ApiStatus_DONE2; - } - return ApiStatus_BLOCK; -} - -// identical to hos_06 func -ApiStatus func_802446AC_804F2C(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - EffectInstance* effect = (EffectInstance*) evt_get_variable(script, *args++); - - // TODO effect may be wrong - effect->data.energyOrbWave->unk_1C++; - return ApiStatus_DONE2; -} - -#include "world/common/todo/UnkPositionFunc.inc.c" - -ApiStatus func_802447E0_805060(Evt* script, s32 isInitialCall) { - if (isInitialCall) { - script->functionTemp[1] = 0; - } - - script->functionTemp[1] += 10; - if (script->functionTemp[1] > 255) { - script->functionTemp[1] = 255; - } - - set_screen_overlay_params_front(0, script->functionTemp[1]); - - if (script->functionTemp[1] == 255) { - return ApiStatus_DONE2; - } else { - return ApiStatus_BLOCK; - } -} - -ApiStatus func_80244848_8050C8(Evt* script, s32 isInitialCall) { - if (isInitialCall) { - script->functionTemp[1] = 255; - } - - script->functionTemp[1] -= 10; - if (script->functionTemp[1] <= 0) { - script->functionTemp[1] = 0; - return ApiStatus_DONE2; - } - - set_screen_overlay_params_front(0, script->functionTemp[1]); - return ApiStatus_BLOCK; -} - -ApiStatus func_802448A0_805120(Evt* script, s32 isInitialCall) { - s32 alpha; - - if (isInitialCall) { - if (script->varTable[0] == 0) { - func_8011B950(script->varTable[15], -1, 1, 1); - } - script->functionTemp[0] = 0; - } - - script->functionTemp[0] += 32; - if (script->functionTemp[0] > 255) { - script->functionTemp[0] = 255; - } - - if (script->varTable[0] == 0) { - alpha = script->functionTemp[0]; - } else { - alpha = 255 - script->functionTemp[0]; - } - - set_background_color_blend(0, 0, 0, alpha); - gCameras[CAM_DEFAULT].bgColor[0] = 0; - gCameras[CAM_DEFAULT].bgColor[1] = 0; - gCameras[CAM_DEFAULT].bgColor[2] = 0; - - if (script->functionTemp[0] >= 255) { - if (script->varTable[0] == 3) { - func_8011B950(script->varTable[15], -1, 0, 1); - } - return ApiStatus_DONE2; - } - return ApiStatus_BLOCK; -} - -ApiStatus func_80244984_805204(Evt* script, s32 isInitialCall) { - s32 flagBase = GameFlag(1664); - s32 count = 0; - s32 i; - - for (i = 0; i < 16; i++) { - if (evt_get_variable(NULL, flagBase + i) == 0) { - count++; - } - } - script->varTable[0] = count; - return ApiStatus_DONE2; -} - -ApiStatus func_802449F8_805278(Evt* script, s32 isInitialCall) { - s32 temp_s3 = -evt_get_variable(NULL, MapVar(1)); - s32 temp_s4 = evt_get_variable(NULL, MapVar(0)); - Npc* npc = script->varTablePtr[7]; - Enemy* enemy = get_enemy(2); - f32 theta = (temp_s3 / 180.0f) * PI; - f32 sinTheta = sin_rad(theta); - f32 cosTheta = cos_rad(theta); - f32 vt0 = script->varTable[0]; - f32 vt1 = script->varTable[1]; - - script->varTable[4] = script->varTable[2] + (s32) ((vt0 * cosTheta) - (vt1 * sinTheta)); - script->varTable[5] = script->varTable[3] + (s32) ((vt0 * sinTheta) + (vt1 * cosTheta)); - - if (temp_s3 == 0) { - npc->currentAnim = 0xA70001; - enemy->flags &= ~ENEMY_FLAGS_8000000; - } else { - npc->currentAnim = 0xA70002; - enemy->flags |= ENEMY_FLAGS_8000000; - } - - if (temp_s3 == -60) { - npc->flags |= NPC_FLAG_2; - } else { - npc->flags &= ~NPC_FLAG_2; - } - - if (temp_s4 != 0) { - npc->currentAnim = 0xA70006; - } - return ApiStatus_DONE2; -} - -void func_80244B98_805418(void) { - s32 temp_s0 = evt_get_variable(NULL, MapVar(0)); - Vtx* sp10; - Vtx* sp14; - s32 numCopied; - s32 i; - - mdl_get_copied_vertices(0, &sp10, &sp14, &numCopied); - - for (i = 0; i < numCopied; i++) { - if (sp10[i].v.ob[0] == -0x4E) { - Vtx* v14 = &sp14[i]; - - if (sp10[i].v.ob[1] == 0) { - v14->v.ob[1] = sp10[i].v.ob[1] - (temp_s0 / 4); - } else { - v14->v.ob[1] = sp10[i].v.ob[1] + (temp_s0 / 4); - } - } else if (sp10[i].v.ob[0] == -0x10) { - Vtx* v14 = &sp14[i]; - - if (sp10[i].v.ob[1] == 0) { - v14->v.ob[1] = sp10[i].v.ob[1] - (temp_s0 / 4); - } else { - v14->v.ob[1] = sp10[i].v.ob[1] + (temp_s0 / 4); - } - } - } - - gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(0)); -} - -// flag clearing counterpart of UnkMachiFunc -ApiStatus func_80244CC0_805540(Evt* script, s32 isInitialCall) { - if (evt_get_variable(NULL, GF_MAC01_RowfBadgeAvailableA) == 0) { - clear_item_entity_flags(gGameStatusPtr->shopItemEntities[0].index, ITEM_ENTITY_FLAGS_40); - } - if (evt_get_variable(NULL, GF_MAC01_RowfBadgeAvailableB) == 0) { - clear_item_entity_flags(gGameStatusPtr->shopItemEntities[1].index, ITEM_ENTITY_FLAGS_40); - } - if (evt_get_variable(NULL, GF_MAC01_RowfBadgeAvailableC) == 0) { - clear_item_entity_flags(gGameStatusPtr->shopItemEntities[2].index, ITEM_ENTITY_FLAGS_40); - } - return ApiStatus_DONE2; -} - -#include "world/common/todo/UnkMachiFunc.inc.c" - -ApiStatus func_80244E10_805690(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 idx = evt_get_variable(script, *args++); - - set_item_entity_position( - gGameStatusPtr->shopItemEntities[idx].index, - script->varTable[0], script->varTable[1], script->varTable[2] + 6 - ); - return ApiStatus_DONE2; -} - -typedef struct UnkMac01 { - /* 0x00 */ s32 unk_00; - /* 0x04 */ s32 unk_04; - /* 0x08 */ s32 unk_08; - /* 0x0C */ s32 unk_0C; - /* 0x10 */ s32 unk_10; -} UnkMac01; // size = 0x14 -// same as UnkMac00 ? - -extern UnkMac01 D_80256ADC_81735C[19]; -extern UnkMac01 D_80256AEC_81736C[]; -extern PopupMenu D_80262C38; - -ApiStatus func_80244E90_805710(Evt* script, s32 isInitialCall) { - PlayerData* playerData = &gPlayerData; - s32 var_s2 = -1; - u32 i; - - for (i = 0; i < ARRAY_COUNT(D_80256ADC_81735C); i++) { - if (playerData->partners[D_80256ADC_81735C[i].unk_00].enabled && - (evt_get_variable(NULL, GameFlag(153 + i)) != 0)) - { - if (evt_get_variable(NULL, GameFlag(172 + i)) == 0) { - var_s2 = 1; - break; - } else { - var_s2 = 0; - } - } - } - script->varTable[0] = var_s2; - return ApiStatus_DONE2; -} - -s32 func_80244F5C_8057DC(s32 arg0) { - s32 ret = 0; - u32 i; - - for (i = 0; i < ARRAY_COUNT(D_80256ADC_81735C); i++) { - if (D_80256ADC_81735C[i].unk_00 == arg0 && evt_get_variable(NULL, GameFlag(153 + i)) != 0) { - if (ret == 0) { - ret = 1; - } - if (evt_get_variable(NULL, GameFlag(172 + i)) == 0) { - ret = 2; - break; - } - } - } - return ret; -} - -ApiStatus func_80245018_805898(Evt* script, s32 isInitialCall) { - D_80262F68 = 0; - return ApiStatus_DONE2; -} - -ApiStatus func_80245028_8058A8(Evt* script, s32 isInitialCall) { - PopupMenu* menu = &D_80262C38; - PartnerPopupProperties* temp_s2; - PlayerData* playerData = &gPlayerData; - s32 partnerID; - s32 cond; - s32 numEntries; - s32 i; - - if (isInitialCall) { - numEntries = 0; - - for (i = 1; i < 12; i++) { - partnerID = D_8008EEC0[i]; - if (playerData->partners[partnerID].enabled && partnerID != PARTNER_GOOMPA) { - temp_s2 = &gPartnerPopupProperties[partnerID]; - cond = func_80244F5C_8057DC(partnerID); - if (cond) { - menu->ptrIcon[numEntries] = wPartnerHudScripts[partnerID]; - menu->userIndex[numEntries] = partnerID; - menu->enabled[numEntries] = TRUE; - menu->nameMsg[numEntries] = temp_s2->nameMsg; - menu->descMsg[numEntries] = temp_s2->worldDescMsg; - menu->value[numEntries] = playerData->partners[partnerID].level; - if (cond == TRUE) { - menu->enabled[numEntries] = FALSE; - menu->ptrIcon[numEntries] = wDisabledPartnerHudScripts[partnerID]; - } - numEntries++; - } - } - } - menu->popupType = POPUP_MENU_D; - menu->numEntries = numEntries; - menu->initialPos = D_80262F68; - create_popup_menu(menu); - status_menu_respond_to_changes(); - close_status_menu(); - script->functionTemp[0] = 0; - } - - if (script->functionTemp[0] == 0) { - script->functionTemp[1] = menu->result; - if (script->functionTemp[1] != 0) { - hide_popup_menu(); - } else { - return ApiStatus_BLOCK; - } - } - - script->functionTemp[0]++; - if (script->functionTemp[0] < 20) { - return ApiStatus_BLOCK; - } - - destroy_popup_menu(); - if (script->functionTemp[1] == 0xFF) { - script->varTable[1] = -1; - return ApiStatus_DONE2; - } - partnerID = menu->userIndex[script->functionTemp[1] - 1]; - script->varTable[1] = partnerID; // TODO required to match (use of partnerID temp) - D_80262F68 = script->functionTemp[1] - 1; - return ApiStatus_DONE2; -} - -ApiStatus func_8024522C_805AAC(Evt* script, s32 isInitialCall) { - s32 vt10 = script->varTable[10]; - PopupMenu* menu = &D_80262C38; - IconHudScriptPair* scriptPair; - s32 temp_a0; - s32 temp_a1; - s32 temp_s0; - s32 numEntries; - u32 i; - - if (isInitialCall) { - numEntries = 0; - - for (i = 0; i < ARRAY_COUNT(D_80256ADC_81735C); i++) { - temp_s0 = evt_get_variable(NULL, GameFlag(153 + i)); - temp_a0 = evt_get_variable(NULL, GameFlag(172 + i)); - if (temp_s0 != 0 && vt10 == D_80256ADC_81735C[i].unk_00) { - scriptPair = &gItemHudScripts[gItemTable[84].hudElemID]; - menu->userIndex[numEntries] = i; - menu->nameMsg[numEntries] = D_80256ADC_81735C[i].unk_08; - menu->descMsg[numEntries] = D_80256ADC_81735C[i].unk_0C; - menu->value[numEntries] = 0; - if (temp_a0 != 0) { - menu->ptrIcon[numEntries] = scriptPair->disabled; - menu->enabled[numEntries] = FALSE; - } else { - menu->ptrIcon[numEntries] = scriptPair->enabled; - menu->enabled[numEntries] = TRUE; - } - numEntries++; - } - } - menu->popupType = 8; - menu->numEntries = numEntries; - menu->initialPos = 0; - create_popup_menu(menu); - status_menu_respond_to_changes(); - close_status_menu(); - script->functionTemp[0] = 0; - } - - if (script->functionTemp[0] == 0) { - script->functionTemp[1] = menu->result; - if (script->functionTemp[1] != 0) { - hide_popup_menu(); - } else { - return ApiStatus_BLOCK; - } - } - - script->functionTemp[0]++; - if (script->functionTemp[0] < 20) { - return ApiStatus_BLOCK; - } - - destroy_popup_menu(); - if (script->functionTemp[1] == 0xFF) { - script->varTable[1] = -1; - return ApiStatus_DONE2; - } - temp_a1 = menu->userIndex[script->functionTemp[1] - 1]; - script->varTable[1] = temp_a1; - script->varTable[0] = D_80256AEC_81736C[temp_a1].unk_00; - evt_set_variable(NULL, GameFlag(temp_a1 + 172), 1); - return ApiStatus_DONE2; -} - -ApiStatus func_80245440_805CC0(Evt* script, s32 isInitialCall) { - PlayerData* playerData = &gPlayerData; - - if (playerData->currentPartner == script->varTable[10]) { - script->varTable[1] = 0; - return ApiStatus_DONE2; - } - - switch_to_partner(script->varTable[10]); - script->varTable[1] = 1; - return ApiStatus_DONE2; -} - -ApiStatus func_80245488_805D08(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - - D_80258404_818C84 = evt_get_variable(script, *args++); - return ApiStatus_DONE2; -} - -void func_802454B4_805D34(void) { - gDPSetCombineLERP(gMasterGfxPos++, 0, 0, 0, 1, SHADE, 0, PRIMITIVE, 0, 0, 0, 0, 1, SHADE, 0, PRIMITIVE, 0); - gDPSetPrimColor(gMasterGfxPos++, 0, 0, 0, 0, 0, D_80258404_818C84 & 0xFF); -} - -ApiStatus func_80245504_805D84(Evt* script, s32 isInitialCall) { - partner_set_tether_distance(20.0f); - return ApiStatus_DONE2; -} - -ApiStatus func_8024552C_805DAC(Evt* script, s32 isInitialCall) { - repartner_set_tether_distance(); - return ApiStatus_DONE2; -} diff --git a/src/world/area_mac/mac_01/805DD0.c b/src/world/area_mac/mac_01/805DD0.c deleted file mode 100644 index 3f277d167d..0000000000 --- a/src/world/area_mac/mac_01/805DD0.c +++ /dev/null @@ -1,11 +0,0 @@ -#include "mac_01.h" - -#define NAMESPACE dup_mac_01 - -#include "world/common/enemy/ai/PatrolNoAttackAI.inc.c" - -#include "world/common/todo/UnkMachiFunc.inc.c" - -#define NAMESPACE mac_01 - -static char* N(exit_str_0) = "osr_00"; diff --git a/src/world/area_mac/mac_01/806D10.c b/src/world/area_mac/mac_01/806D10.c deleted file mode 100644 index 5a37abb34f..0000000000 --- a/src/world/area_mac/mac_01/806D10.c +++ /dev/null @@ -1,4 +0,0 @@ -#include "mac_01.h" - -#include "common/foliage.inc.c" - diff --git a/src/world/area_mac/mac_01/mac_01.h b/src/world/area_mac/mac_01/mac_01.h index b763b92e4e..5cb63a6282 100644 --- a/src/world/area_mac/mac_01/mac_01.h +++ b/src/world/area_mac/mac_01/mac_01.h @@ -2,8 +2,137 @@ /// @brief Toad Town - Plaza District #include "common.h" -#include "../mac.h" #include "message_ids.h" #include "map.h" +#include "../mac.h" +#include "mapfs/mac_01_shape.h" +#include "mapfs/mac_01_hit.h" + +#include "sprite/npc/Merlon.h" +#include "sprite/npc/ChuckQuizmo.h" +#include "sprite/npc/Toad.h" +#include "sprite/npc/WorldParakarry.h" +#include "sprite/npc/Kolorado.h" +#include "sprite/npc/DarkToad.h" +#include "sprite/npc/KoopaBros.h" +#include "sprite/npc/Ninji.h" +#include "sprite/npc/Rowf.h" +#include "sprite/npc/Postmaster.h" +#include "sprite/npc/ShyGuy.h" +#include "sprite/npc/MinhT.h" +#include "sprite/npc/Bubulb.h" +#include "sprite/npc/Twink.h" +#include "sprite/npc/Luigi.h" +#include "sprite/npc/KoloradoWife.h" +#include "sprite/npc/KoopaKoot.h" +#include "sprite/npc/WorldBobomb.h" +#include "sprite/npc/Koopa.h" +#include "sprite/npc/Dryite.h" +#include "sprite/npc/Chanterelle.h" +#include "sprite/npc/Musician.h" + +enum { + // intro NPCs + NPC_Luigi = 0, + NPC_IntroToad1 = 1, + NPC_IntroToad2 = 2, + NPC_IntroToad3 = 3, + // standard NPCs + NPC_Merlon = 0, + NPC_Rowf = 1, + NPC_Rhuff = 2, + NPC_Postmaster = 3, + NPC_Parakarry = 4, + NPC_ChuckQuizmo = 5, + NPC_PostOfficeShyGuy = 6, + NPC_ToadHouseShyGuy = 7, + NPC_GardenShyGuy1 = 8, + NPC_GardenShyGuy2 = 9, + NPC_Toad_04 = 10, + NPC_Toad_05 = 11, + NPC_Toad_06 = 12, + NPC_Toad_07 = 13, + NPC_Toad_08 = 14, + NPC_Toad_09 = 15, + NPC_ToadHouseToad = 16, + NPC_Bubulb = 17, + NPC_MinhT = 18, + NPC_Kolorado = 19, + NPC_DarkToad_01 = 20, + NPC_DarkToad_02 = 21, + NPC_DarkToad_03 = 22, + NPC_DarkToad_04 = 23, + NPC_KoopaBros_01 = 24, + NPC_KoopaBros_02 = 25, + NPC_KoopaBros_03 = 26, + NPC_KoopaBros_04 = 27, + NPC_Twink = 28, + NPC_Ninji = 29, + NPC_KoloradoWife = 30, + NPC_KoopaKoot = 31, + NPC_Koopa = 32, + NPC_Bobomb = 33, + NPC_Dryite_01 = 34, + NPC_Dryite_02 = 35, + NPC_Chanterelle = 36, + NPC_Poet = 37, + NPC_Composer = 38, +}; + +enum { + MV_RowfRugRippleAmount = MapVar(0), + MV_RowfRugRotateAngle = MapVar(1), + MV_RowfShopBuyFlags = MapVar(2), + MV_KnockdownWorker = MapVar(10), + MV_FortuneFXHandles = MapVar(12), + MV_BadgeShopOpenState = MapVar(13), + MV_BadgeShopCloseState = MapVar(14), +}; + +enum { + MF_MusicMixTrigger1 = MapFlag(10), + MF_MusicMixTrigger2 = MapFlag(11), + MF_MusicMixTrigger3 = MapFlag(12), + MF_BadgeShopOpen = MapFlag(11), + MF_SpawnFlag_Tree1 = MapFlag(13), + MF_SetupMusicMixes = MapFlag(14), + MF_InsideToadHouse = MapFlag(15), + MF_KoopaBrosSceneLock = MapFlag(20), +}; + #define NAMESPACE mac_01 + +extern EvtScript N(EVS_Main); +extern EvtScript N(EVS_SetupMusic); +extern EvtScript N(EVS_SetupMusicMix); +extern EvtScript N(EVS_PlayRestingSong); +extern EvtScript N(EVS_PlaySpellcastSong); +extern EvtScript N(EVS_PlayFlowerGateSong); +extern EvtScript N(EVS_ResetMusicAfterFortune); +extern EvtScript N(EVS_SetupRooms); +extern EvtScript N(EVS_SetupBadgeShop); +extern EvtScript N(EVS_SetupBulletinBoard); +extern EvtScript N(EVS_SetupCrystalBallGfx); +extern EvtScript N(EVS_SetupFlowerModels); +extern EvtScript N(EVS_EnterFlowerGate); +extern EvtScript N(EVS_ExitFlowerGate); +extern EvtScript N(EVS_Merlon_GiveHint); +extern EvtScript N(EVS_MerlonShooAway); +extern EvtScript N(EVS_SetupQuickChangeTrigger); +extern EvtScript N(EVS_Scene_IntroWalking); +extern EvtScript N(EVS_Scene_MailbagTheft); +extern EvtScript N(EVS_Scene_MerlonAndNinji); +extern EvtScript N(EVS_SetupFoliage); +extern EvtScript N(EVS_MakeEntities); + +extern NpcGroupList N(IntroNPCs); +extern NpcGroupList N(EpilogueNPCs); +extern NpcGroupList N(Chapter0NPCs); +extern NpcGroupList N(Chapter1NPCs); +extern NpcGroupList N(TwinkMeetingNPCs); +extern NpcGroupList N(Chapter4NPCs); +extern NpcGroupList N(NinjiMeetingNPCs); +extern NpcGroupList N(DefaultNPCs); + +extern ShopItemData N(RowfBadgeInventory)[16]; diff --git a/src/world/area_mac/mac_01/mac_01_0_header.c b/src/world/area_mac/mac_01/mac_01_0_header.c new file mode 100644 index 0000000000..1aa81b811f --- /dev/null +++ b/src/world/area_mac/mac_01/mac_01_0_header.c @@ -0,0 +1,18 @@ +#include "mac_01.h" + +EntryList N(Entrances) = { + [mac_01_ENTRY_0] { -600.0, 0.0, 0.0, 90.0 }, + [mac_01_ENTRY_1] { 600.0, 0.0, 0.0, 270.0 }, + [mac_01_ENTRY_2] { 0.0, 0.0, -570.0, 180.0 }, + [mac_01_ENTRY_3] { 0.0, 0.0, 600.0, 0.0 }, + [mac_01_ENTRY_4] { -400.0, 0.0, 0.0, 90.0 }, + [mac_01_ENTRY_5] { 264.0, 27.0, 350.0, 180.0 }, +}; + +MapSettings N(settings) = { + .main = &N(EVS_Main), + .entryList = &N(Entrances), + .entryCount = ENTRY_COUNT(N(Entrances)), + .background = &gBackgroundImage, + .tattle = { MSG_MapTattle_mac_01 }, +}; diff --git a/src/world/area_mac/mac_01/mac_01_10_intro_npc.c b/src/world/area_mac/mac_01/mac_01_10_intro_npc.c new file mode 100644 index 0000000000..3ba7970950 --- /dev/null +++ b/src/world/area_mac/mac_01/mac_01_10_intro_npc.c @@ -0,0 +1,68 @@ +#include "mac_01.h" + +#define NAME_SUFFIX _Intro +#include "world/common/npc/Luigi.inc.c" +#include "world/common/npc/Toad_Patrol.inc.c" +#include "world/common/npc/Toad_Stationary.inc.c" +#define NAME_SUFFIX + +StaticNpc N(NpcData_IntroNPCs)[] = { + { + .id = NPC_Luigi, + .settings = &N(NpcSettings_Luigi_Intro), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_4 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_200 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800, + .drops = LUIGI_DROPS, + .animations = LUIGI_ANIMS, + }, + { + .id = NPC_IntroToad1, + .settings = &N(NpcSettings_Toad_Stationary_Intro), + .pos = { -94.0f, 0.0f, -117.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .drops = TOAD_DROPS, + .animations = TOAD_RED_ANIMS, + .tattle = MSG_NpcTattle_MAC_RunsHisMouth, + }, + { + .id = NPC_IntroToad2, + .settings = &N(NpcSettings_Toad_Stationary_Intro), + .pos = { 40.0f, 0.0f, -300.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .drops = TOAD_DROPS, + .territory = { + .patrol = { + .isFlying = TRUE, + .moveSpeedOverride = NO_OVERRIDE_MOVEMENT_SPEED, + .numPoints = 2, + .points = { + { 40, 0, -300 }, + { -40, 0, -300 }, + }, + .detectShape = SHAPE_CYLINDER, + .detectPos = { 0, 0, 0 }, + .detectSize = { 10 }, + } + }, + .animations = TOAD_YELLOW_ANIMS, + .tattle = MSG_NpcTattle_MAC_PrincessFan, + }, + { + .id = NPC_IntroToad3, + .settings = &N(NpcSettings_Toad_Stationary_Intro), + .pos = { -380.0f, 20.0f, -100.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .drops = TOAD_DROPS, + .animations = TOAD_GREEN_ANIMS, + .tattle = MSG_NpcTattle_MAC_SeeksTheSouth, + }, +}; + +NpcGroupList N(IntroNPCs) = { + NPC_GROUP(N(NpcData_IntroNPCs)), + {} +}; diff --git a/src/world/area_mac/mac_01/mac_01_11_epilogue_npc.c b/src/world/area_mac/mac_01/mac_01_11_epilogue_npc.c new file mode 100644 index 0000000000..9acbe48962 --- /dev/null +++ b/src/world/area_mac/mac_01/mac_01_11_epilogue_npc.c @@ -0,0 +1,461 @@ +#include "mac_01.h" +#define NAME_SUFFIX _Epilogue + +#include "world/common/npc/Dummy.inc.c" +#include "world/common/npc/Toad_Stationary.inc.c" +#include "world/common/npc/Kolorado.inc.c" +#include "world/common/npc/KoloradoWife.inc.c" +#include "world/common/npc/KoopaKoot.inc.c" +#include "world/common/npc/Koopa.inc.c" +#include "world/common/npc/Bobomb.inc.c" +#include "world/common/npc/Dryite_Stationary.inc.c" + +EvtScript N(EVS_NpcInteract_Kolorado) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Kolorado_Talk, ANIM_Kolorado_Idle, 0, MSG_Outro_003C) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Kolorado) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Kolorado))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_KoloradoWife) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_KoloradoWife_Talk, ANIM_KoloradoWife_Idle, 0, MSG_Outro_003D) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_KoloradoWife) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_KoloradoWife))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_KoopaKoot) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_KoopaKoot_Talk, ANIM_KoopaKoot_Idle, 0, MSG_Outro_003E) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_KoopaKoot) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_KoopaKoot))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Bobomb) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_WorldBobomb_Blue_Talk, ANIM_WorldBobomb_Blue_Idle, 0, MSG_Outro_004E) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Bobomb) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Bobomb))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Koopa) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Koopa_Talk, ANIM_Koopa_Idle, 0, MSG_Outro_004F) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Koopa) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Koopa))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Rowf) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Rowf_Talk, ANIM_Rowf_Idle, 0, MSG_Outro_0040) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Rowf) = { + EVT_CALL(SetNpcPos, NPC_SELF, -225, 0, 320) + EVT_CALL(SetNpcYaw, NPC_SELF, 270) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Rowf))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Rhuff) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Rowf_Talk, ANIM_Rowf_Idle, 0, MSG_Outro_0041) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Rhuff) = { + EVT_CALL(SetNpcScale, NPC_SELF, EVT_FLOAT(0.75), EVT_FLOAT(0.75), EVT_FLOAT(0.75)) + EVT_CALL(SetNpcPos, NPC_SELF, -250, 0, 295) + EVT_CALL(SetNpcYaw, NPC_SELF, 270) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Rhuff))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Dryite_01) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Dryite_Green_Talk, ANIM_Dryite_Green_Idle, 0, MSG_Outro_0050) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Dryite_01) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Dryite_01))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Dryite_02) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Dryite_Green_Talk, ANIM_Dryite_Green_Idle, 0, MSG_Outro_0051) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Dryite_02) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Dryite_02))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Chanterelle) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Chanterelle_Talk, ANIM_Chanterelle_Idle, 16, MSG_Outro_0052) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Chanterelle) = { + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Chanterelle_Sing) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Chanterelle))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Poet) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Musician_Poet_Talk, ANIM_Musician_Poet_Idle, 16, MSG_Outro_0053) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Poet) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Poet))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Composer) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Musician_Composer_Talk, ANIM_Musician_Composer_Idle, 16, MSG_Outro_0054) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Composer) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Composer))) + EVT_RETURN + EVT_END +}; + +s32 N(ExtraAnims_Kolorado)[] = { + ANIM_Kolorado_Still, + ANIM_Kolorado_Idle, + ANIM_Kolorado_Talk, + -1 +}; + +s32 N(ExtraAnims_KoloradoWife)[] = { + ANIM_KoloradoWife_Still, + ANIM_KoloradoWife_Idle, + ANIM_KoloradoWife_Talk, + -1 +}; + +s32 N(ExtraAnims_KoopaKoot)[] = { + ANIM_KoopaKoot_Still, + ANIM_KoopaKoot_Idle, + ANIM_KoopaKoot_Talk, + -1 +}; + +s32 N(ExtraAnims_Koopa)[] = { + ANIM_Koopa_Still, + ANIM_Koopa_Idle, + ANIM_Koopa_Talk, + -1 +}; + +s32 N(ExtraAnims_Bobomb)[] = { + ANIM_WorldBobomb_Green_Still, + ANIM_WorldBobomb_Green_Idle, + ANIM_WorldBobomb_Green_Talk, + -1 +}; + +StaticNpc N(NpcData_Koopas)[] = { + { + .id = NPC_Kolorado, + .settings = &N(NpcSettings_Kolorado), + .pos = { 60.0f, 0.0f, -120.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Kolorado), + .drops = KOLORADO_DROPS, + .animations = KOLORADO_ANIMS, + .extraAnimations = N(ExtraAnims_Kolorado), + }, + { + .id = NPC_KoloradoWife, + .settings = &N(NpcSettings_KoloradoWife), + .pos = { 100.0f, 0.0f, -110.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_KoloradoWife), + .drops = KOLORADO_WIFE_DROPS, + .animations = KOLORADO_WIFE_ANIMS, + .extraAnimations = N(ExtraAnims_KoloradoWife), + }, + { + .id = NPC_KoopaKoot, + .settings = &N(NpcSettings_KoopaKoot), + .pos = { -330.0f, 0.0f, 330.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_KoopaKoot), + .drops = KOOPA_KOOT_DROPS, + .animations = KOOPA_KOOT_ANIMS, + .extraAnimations = N(ExtraAnims_KoopaKoot), + }, + { + .id = NPC_Koopa, + .settings = &N(NpcSettings_Koopa), + .pos = { 300.0f, 20.0f, -100.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Koopa), + .drops = KOOPA_DROPS, + .animations = KOOPA_ANIMS, + .extraAnimations = N(ExtraAnims_Koopa), + }, + { + .id = NPC_Bobomb, + .settings = &N(NpcSettings_Bobomb), + .pos = { 252.0f, 20.0f, -100.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Bobomb), + .drops = BOBOMB_DROPS, + .animations = BOBOMB_ANIMS, + .extraAnimations = N(ExtraAnims_Bobomb), + }, +}; + +s32 N(ExtraAnims_Rowf)[] = { + ANIM_Rowf_Still, + ANIM_Rowf_Idle, + ANIM_Rowf_Talk, + -1 +}; + +StaticNpc N(NpcData_RowfAndRhuff)[] = { + { + .id = NPC_Rowf, + .settings = &N(NpcSettings_Dummy), + .pos = { -213.0f, -54.0f, 256.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Rowf), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_Rowf_Idle, + }, + .extraAnimations = N(ExtraAnims_Rowf), + .tattle = MSG_NpcTattle_Rowf, + }, + { + .id = NPC_Rhuff, + .settings = &N(NpcSettings_Dummy), + .pos = { -250.0f, 0.0f, 263.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Rhuff), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_Rowf_Idle, + }, + .extraAnimations = N(ExtraAnims_Rowf), + .tattle = MSG_NpcTattle_Rhuff, + }, +}; + +s32 N(ExtraAnims_Dryite)[] = { + ANIM_Dryite_Green_Still, + ANIM_Dryite_Green_Idle, + ANIM_Dryite_Green_Talk, + -1 +}; + +StaticNpc N(NpcData_Dryites)[] = { + { + .id = NPC_Dryite_01, + .settings = &N(NpcSettings_Dryite), + .pos = { -10.0f, 0.0f, 360.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Dryite_01), + .drops = DRYITE_DROPS, + .animations = DRYITE_GREEN_ANIMS, + .extraAnimations = N(ExtraAnims_Dryite), + }, + { + .id = NPC_Dryite_02, + .settings = &N(NpcSettings_Dryite), + .pos = { 25.0f, 0.0f, 300.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Dryite_02), + .drops = DRYITE_DROPS, + .animations = DRYITE_GREEN_ANIMS, + .extraAnimations = N(ExtraAnims_Dryite), + }, +}; + +s32 N(ExtraAnims_Chanterelle)[] = { + ANIM_Chanterelle_Still, + ANIM_Chanterelle_Idle, + ANIM_Chanterelle_Sing, + ANIM_Chanterelle_Talk, + -1 +}; + +s32 N(ExtraAnims_Poet)[] = { + ANIM_Musician_Poet_Still, + ANIM_Musician_Poet_Idle, + ANIM_Musician_Poet_Talk, + -1 +}; + +StaticNpc N(NpcData_Artists)[] = { + { + .id = NPC_Chanterelle, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { 260.0f, 20.0f, 560.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_400000, + .init = &N(EVS_NpcInit_Chanterelle), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_Chanterelle_Idle, + .walk = ANIM_Chanterelle_Still, + .run = ANIM_Chanterelle_Still, + .chase = ANIM_Chanterelle_Still, + .anim_4 = ANIM_Chanterelle_Still, + .anim_5 = ANIM_Chanterelle_Still, + .death = ANIM_Chanterelle_Still, + .hit = ANIM_Chanterelle_Still, + .anim_8 = ANIM_Chanterelle_Still, + .anim_9 = ANIM_Chanterelle_Still, + .anim_A = ANIM_Chanterelle_Still, + .anim_B = ANIM_Chanterelle_Still, + .anim_C = ANIM_Chanterelle_Still, + .anim_D = ANIM_Chanterelle_Still, + .anim_E = ANIM_Chanterelle_Still, + .anim_F = ANIM_Chanterelle_Still, + }, + .extraAnimations = N(ExtraAnims_Chanterelle), + .tattle = MSG_NpcTattle_PopDiva_CantSing, + }, + { + .id = NPC_Poet, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { 230.0f, 20.0f, 500.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_400000, + .init = &N(EVS_NpcInit_Poet), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_Musician_Poet_Idle, + .walk = ANIM_Musician_Poet_Idle, + .run = ANIM_Musician_Poet_Idle, + .chase = ANIM_Musician_Poet_Idle, + .anim_4 = ANIM_Musician_Poet_Idle, + .anim_5 = ANIM_Musician_Poet_Idle, + .death = ANIM_Musician_Poet_Idle, + .hit = ANIM_Musician_Poet_Idle, + .anim_8 = ANIM_Musician_Poet_Idle, + .anim_9 = ANIM_Musician_Poet_Idle, + .anim_A = ANIM_Musician_Poet_Idle, + .anim_B = ANIM_Musician_Poet_Idle, + .anim_C = ANIM_Musician_Poet_Idle, + .anim_D = ANIM_Musician_Poet_Idle, + .anim_E = ANIM_Musician_Poet_Idle, + .anim_F = ANIM_Musician_Poet_Idle, + }, + .extraAnimations = N(ExtraAnims_Poet), + .tattle = MSG_NpcTattle_MasterPoet, + }, + { + .id = NPC_Composer, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { 300.0f, 20.0f, 500.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_400000, + .init = &N(EVS_NpcInit_Composer), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_Musician_Composer_Idle, + .walk = ANIM_Musician_Composer_Still, + .run = ANIM_Musician_Composer_Still, + .chase = ANIM_Musician_Composer_Still, + .anim_4 = ANIM_Musician_Composer_Still, + .anim_5 = ANIM_Musician_Composer_Still, + .death = ANIM_Musician_Composer_Still, + .hit = ANIM_Musician_Composer_Still, + .anim_8 = ANIM_Musician_Composer_Still, + .anim_9 = ANIM_Musician_Composer_Still, + .anim_A = ANIM_Musician_Composer_Still, + .anim_B = ANIM_Musician_Composer_Still, + .anim_C = ANIM_Musician_Composer_Still, + .anim_D = ANIM_Musician_Composer_Still, + .anim_E = ANIM_Musician_Composer_Still, + .anim_F = ANIM_Musician_Composer_Still, + }, + .extraAnimations = N(ExtraAnims_Poet), + .tattle = MSG_NpcTattle_Composer, + }, +}; + +#define NAME_SUFFIX +extern StaticNpc N(NpcData_Townsfolk)[10]; + +NpcGroupList N(EpilogueNPCs) = { + NPC_GROUP(N(NpcData_Koopas_Epilogue)), + NPC_GROUP(N(NpcData_RowfAndRhuff_Epilogue)), + NPC_GROUP(N(NpcData_Dryites_Epilogue)), + NPC_GROUP(N(NpcData_Artists_Epilogue)), + NPC_GROUP(N(NpcData_Townsfolk)), + {} +}; diff --git a/src/world/area_mac/mac_01/mac_01_12_intro.c b/src/world/area_mac/mac_01/mac_01_12_intro.c new file mode 100644 index 0000000000..1371631e73 --- /dev/null +++ b/src/world/area_mac/mac_01/mac_01_12_intro.c @@ -0,0 +1,63 @@ +#include "mac_01.h" + +API_CALLABLE(N(HideRowfBadges_IntroScene)) { + if (evt_get_variable(NULL, GF_MAC01_RowfBadgeAvailableA) == 0) { + set_item_entity_flags(gGameStatusPtr->shopItemEntities[0].index, ITEM_ENTITY_FLAGS_HIDDEN); + } + if (evt_get_variable(NULL, GF_MAC01_RowfBadgeAvailableB) == 0) { + set_item_entity_flags(gGameStatusPtr->shopItemEntities[1].index, ITEM_ENTITY_FLAGS_HIDDEN); + } + if (evt_get_variable(NULL, GF_MAC01_RowfBadgeAvailableC) == 0) { + set_item_entity_flags(gGameStatusPtr->shopItemEntities[2].index, ITEM_ENTITY_FLAGS_HIDDEN); + } + return ApiStatus_DONE2; +} + +EvtScript N(EVS_Scene_IntroWalking) = { + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(EnableModel, MODEL_ju_1, FALSE) + EVT_CALL(N(HideRowfBadges_IntroScene)) + EVT_CALL(UseSettingsFrom, CAM_DEFAULT, -560, 0, 0) + EVT_CALL(SetPanTarget, CAM_DEFAULT, -560, 0, 0) + EVT_CALL(SetCamDistance, CAM_DEFAULT, EVT_FLOAT(250.0)) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(90.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_CALL(WaitForCam, CAM_DEFAULT, EVT_FLOAT(1.0)) + EVT_CALL(SetNpcPos, NPC_Luigi, -460, 0, 0) + EVT_CALL(SetNpcYaw, NPC_Luigi, 90) + EVT_THREAD + EVT_CALL(func_802D1270, -100, 0, EVT_FLOAT(4.0)) + EVT_CALL(func_802D1270, -25, -25, EVT_FLOAT(4.0)) + EVT_CALL(func_802D1270, 0, -100, EVT_FLOAT(4.0)) + EVT_CALL(func_802D1270, 0, -400, EVT_FLOAT(4.0)) + EVT_END_THREAD + EVT_THREAD + EVT_CALL(SetNpcSpeed, NPC_Luigi, EVT_FLOAT(4.0)) + EVT_CALL(SetNpcAnimation, NPC_Luigi, ANIM_Luigi_Run) + EVT_CALL(NpcMoveTo, NPC_Luigi, -100, 0, 0) + EVT_CALL(SetNpcAnimation, NPC_Luigi, ANIM_Luigi_RunBack) + EVT_CALL(NpcMoveTo, NPC_Luigi, -25, -25, 0) + EVT_CALL(NpcMoveTo, NPC_Luigi, 0, -100, 0) + EVT_CALL(NpcMoveTo, NPC_Luigi, 0, -340, 0) + EVT_CALL(SetNpcAnimation, NPC_Luigi, ANIM_Luigi_IdleBack) + EVT_END_THREAD + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(90.0)) + EVT_CALL(MakeLerp, 300, 400, 100, EASING_LINEAR) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(GetPlayerPos, LVar2, LVar3, LVar4) + EVT_CALL(SetPanTarget, CAM_DEFAULT, LVar2, LVar3, LVar4) + EVT_CALL(SetCamDistance, CAM_DEFAULT, LVar0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 0) + EVT_WAIT(75) + EVT_CALL(GotoMap, EVT_PTR("osr_00"), osr_00_ENTRY_4) + EVT_WAIT(100) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_01/mac_01_13_foliage.c b/src/world/area_mac/mac_01/mac_01_13_foliage.c new file mode 100644 index 0000000000..ca9f5e1186 --- /dev/null +++ b/src/world/area_mac/mac_01/mac_01_13_foliage.c @@ -0,0 +1,72 @@ +#include "mac_01.h" + +#include "common/foliage.inc.c" + +FoliageDropList N(Tree1_Drops) = { + .count = 1, + .drops = { + { + .itemID = ITEM_STAR_PIECE, + .pos = { -480, 120, -174 }, + .spawnMode = ITEM_SPAWN_MODE_FALL_NEVER_VANISH, + .pickupFlag = GF_MAC01_Tree1_StarPiece, + .spawnFlag = MF_SpawnFlag_Tree1, + }, + } +}; + +FoliageModelList N(Tree1_LeafModels) = FOLIAGE_MODEL_LIST(MODEL_o362); +FoliageModelList N(Tree1_TrunkModels) = FOLIAGE_MODEL_LIST(MODEL_o365); + +FoliageVectorList N(Tree1_Effects) = { + .count = 2, + .vectors = { + { -532.0f, 135.0f, -174.0f }, + { -492.0f, 135.0f, -184.0f }, + } +}; + +ShakeTreeConfig N(ShakeTree_Tree1) = { + .leaves = &N(Tree1_LeafModels), + .trunk = &N(Tree1_TrunkModels), + .drops = &N(Tree1_Drops), + .vectors = &N(Tree1_Effects), +}; + +BombTrigger N(BombPos_Tree1) = { + .pos = { -512.0f, 20.0f, -154.0f }, + .radius = 0.0f +}; + +FoliageModelList N(Tree2_LeafModels) = FOLIAGE_MODEL_LIST(MODEL_o115); +FoliageModelList N(Tree2_TrunkModels) = FOLIAGE_MODEL_LIST(MODEL_o116); + +FoliageVectorList N(Tree2_Effects) = { + .count = 2, + .vectors = { + { -177.0f, 104.0f, -478.0f }, + { -137.0f, 104.0f, -488.0f }, + } +}; + +ShakeTreeConfig N(ShakeTree_Tree2) = { + .leaves = &N(Tree2_LeafModels), + .trunk = &N(Tree2_TrunkModels), + .vectors = &N(Tree2_Effects), +}; + +BombTrigger N(BombPos_Tree2) = { + .pos = { -157.0f, 20.0f, -458.0f }, + .radius = 0.0f +}; + +EvtScript N(EVS_SetupFoliage) = { + EVT_SET(LVar0, EVT_PTR(N(ShakeTree_Tree1))) + EVT_BIND_TRIGGER(EVT_PTR(N(shakeTree)), TRIGGER_WALL_HAMMER, COLLIDER_o393, 1, 0) + EVT_BIND_TRIGGER(EVT_PTR(N(shakeTree)), TRIGGER_POINT_BOMB, EVT_PTR(N(BombPos_Tree1)), 1, 0) + EVT_SET(LVar0, EVT_PTR(N(ShakeTree_Tree2))) + EVT_BIND_TRIGGER(EVT_PTR(N(shakeTree)), TRIGGER_WALL_HAMMER, COLLIDER_o237, 1, 0) + EVT_BIND_TRIGGER(EVT_PTR(N(shakeTree)), TRIGGER_POINT_BOMB, EVT_PTR(N(BombPos_Tree2)), 1, 0) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_01/mac_01_1_music.c b/src/world/area_mac/mac_01/mac_01_1_music.c new file mode 100644 index 0000000000..7b39a06702 --- /dev/null +++ b/src/world/area_mac/mac_01/mac_01_1_music.c @@ -0,0 +1,48 @@ +#include "mac_01.h" + +EvtScript N(EVS_SetupMusic) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_EQ(STORY_INTRO) + EVT_CALL(SetMusicTrack, 0, SONG_PEACHS_CASTLE_PARTY, 1, 8) + EVT_CASE_EQ(STORY_EPILOGUE) + EVT_CALL(SetMusicTrack, 0, SONG_PEACHS_CASTLE_PARTY, 0, 8) + EVT_CASE_RANGE(STORY_CH3_STAR_SPRIT_DEPARTED, STORY_CH4_STAR_SPIRIT_RESCUED) + EVT_CALL(SetMusicTrack, 0, SONG_SHY_GUY_INVASION, 0, 8) + EVT_CASE_DEFAULT + EVT_EXEC(N(EVS_SetupMusicMix)) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_PlaySpellcastSong) = { + EVT_CALL(SetMusicTrack, 0, SONG_MERLEE_SPELL, 1, 8) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ResetMusicAfterFortune) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_RANGE(STORY_CH3_STAR_SPRIT_DEPARTED, STORY_CH4_STAR_SPIRIT_RESCUED) + EVT_CALL(SetMusicTrack, 0, SONG_SHY_GUY_INVASION, 0, 8) + EVT_CASE_DEFAULT + EVT_CALL(SetMusicTrack, 0, SONG_TOAD_TOWN, 0, 8) + EVT_WAIT(20) + EVT_CALL(EnableMusicProximityMix, 0) + EVT_CALL(AdjustMusicProximityMix, 0, 2, 2) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_PlayFlowerGateSong) = { + EVT_CALL(SetMusicTrack, 0, SONG_FLOWER_GATE_APPEARS, 0, 8) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_PlayRestingSong) = { + EVT_CALL(SetMusicTrack, 0, SONG_TAKING_REST, 0, 8) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_01/mac_01_2_main.c b/src/world/area_mac/mac_01/mac_01_2_main.c new file mode 100644 index 0000000000..3c6d8801b2 --- /dev/null +++ b/src/world/area_mac/mac_01/mac_01_2_main.c @@ -0,0 +1,189 @@ +#include "mac_01.h" + +EvtScript N(EVS_ExitWalk_mac_00_1) = EVT_EXIT_WALK(60, mac_01_ENTRY_0, "mac_00", mac_00_ENTRY_1); + +EvtScript N(EVS_ExitWalk_nok_11_0) = { + EVT_SET_GROUP(EVT_GROUP_1B) + EVT_CALL(UseExitHeading, 60, mac_01_ENTRY_1) + EVT_EXEC(ExitWalk) + EVT_IF_EQ(GF_StartedChapter1, FALSE) + EVT_SET(GF_StartedChapter1, TRUE) + EVT_CALL(FadeOutMusic, 0, 1500) + EVT_CALL(GotoMapSpecial, EVT_PTR("kmr_22"), kmr_22_ENTRY_1, TRANSITION_6) + EVT_WAIT(100) + EVT_RETURN + EVT_END_IF + EVT_CALL(GotoMap, EVT_PTR("nok_11"), nok_11_ENTRY_0) + EVT_WAIT(100) + EVT_RETURN + EVT_END +}; + +s32 N(Models_CastleGateL)[] = { + MODEL_o306, + MODEL_o307, + -1 +}; + +s32 N(Models_CastleGateR)[] = { + MODEL_o308, + MODEL_o309, + -1 +}; + +EvtScript N(EVS_ExitDoors_osr_01_0) = { + EVT_SET_GROUP(EVT_GROUP_1B) + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(UseDoorSounds, DOOR_SOUNDS_LARGE) + EVT_SET(LVar0, 2) + EVT_SET(LVar1, 5) + EVT_SET(LVar2, EVT_PTR(N(Models_CastleGateL))) + EVT_SET(LVar3, EVT_PTR(N(Models_CastleGateR))) + EVT_EXEC(BaseExitDoor) + EVT_WAIT(17) + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_RANGE(STORY_CH0_WAKE_UP, STORY_CH8_REACHED_PEACHS_CASTLE) + EVT_CALL(GotoMap, EVT_PTR("osr_01"), osr_01_ENTRY_0) + EVT_CASE_DEFAULT + EVT_CALL(GotoMap, EVT_PTR("osr_00"), osr_00_ENTRY_0) + EVT_END_SWITCH + EVT_WAIT(100) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ExitWalk_mac_02_2) = EVT_EXIT_WALK(60, mac_01_ENTRY_3, "mac_02", mac_02_ENTRY_2); + +EvtScript N(EVS_BindExitTriggers) = { + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_ExitWalk_mac_00_1)), TRIGGER_FLOOR_ABOVE, COLLIDER_deiliw, 1, 0) + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_ExitDoors_osr_01_0)), TRIGGER_WALL_PRESS_A, COLLIDER_deilitn, 1, 0) + EVT_IF_GE(GB_StoryProgress, STORY_EPILOGUE) + EVT_RETURN + EVT_END_IF + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_ExitWalk_nok_11_0)), TRIGGER_FLOOR_ABOVE, COLLIDER_deilie, 1, 0) + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_ExitWalk_mac_02_2)), TRIGGER_FLOOR_ABOVE, COLLIDER_deilis, 1, 0) + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_ExitFlowerGate)), TRIGGER_WALL_PRESS_A, COLLIDER_deilitf, 1, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_EnterMap) = { + EVT_CALL(GetLoadType, LVar1) + EVT_IF_EQ(LVar1, LOAD_FROM_FILE_SELECT) + EVT_EXEC(EnterSavePoint) + EVT_EXEC(N(EVS_BindExitTriggers)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetEntryID, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(mac_01_ENTRY_2) + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_deilitn, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(RotateGroup, MODEL_east_gate, 80, 0, 1, 0) + EVT_CALL(RotateGroup, MODEL_west_gate, 80, 0, -1, 0) + EVT_CALL(UseDoorSounds, DOOR_SOUNDS_LARGE) + EVT_SET(LVar0, EVT_PTR(N(EVS_BindExitTriggers))) + EVT_EXEC_WAIT(EnterWalk) + EVT_CALL(MakeLerp, 80, 0, 10, EASING_LINEAR) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(RotateGroup, MODEL_east_gate, LVar0, 0, 1, 0) + EVT_CALL(RotateGroup, MODEL_west_gate, LVar0, 0, -1, 0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitn, SOUND_LARGE_DOOR_CLOSE, 0) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_deilitn, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_CASE_EQ(mac_01_ENTRY_4) + EVT_EXEC(N(EVS_Scene_IntroWalking)) + EVT_CASE_EQ(mac_01_ENTRY_5) + EVT_EXEC_WAIT(N(EVS_EnterFlowerGate)) + EVT_EXEC(N(EVS_BindExitTriggers)) + EVT_CASE_DEFAULT + EVT_SET(LVar0, EVT_PTR(N(EVS_BindExitTriggers))) + EVT_EXEC(EnterWalk) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_Main) = { + EVT_SET(GB_WorldLocation, LOCATION_TOAD_TOWN) + EVT_CALL(SetSpriteShading, SHADING_NONE) + EVT_CALL(SetCamPerspective, CAM_DEFAULT, 3, 25, 90, 4096) // note: unusually large near clip dist: 90 vs 16 + EVT_CALL(SetCamBGColor, CAM_DEFAULT, 0, 0, 0) + EVT_CALL(SetCamEnabled, CAM_DEFAULT, TRUE) + EVT_CALL(SetCamLeadPlayer, CAM_DEFAULT, FALSE) + EVT_SET(AF_MAC_0E, FALSE) + EVT_SET(AF_MAC_0F, FALSE) + EVT_SET(AF_MAC_10, FALSE) + EVT_SET(AF_MAC_11, FALSE) + EVT_SET(AF_MAC_12, FALSE) + EVT_SET(AF_MAC_13, FALSE) + EVT_SET(AF_MAC_14, FALSE) + EVT_SET(AF_MAC_15, FALSE) + EVT_IF_LT(GB_StoryProgress, STORY_EPILOGUE) + EVT_EXEC(N(EVS_SetupBadgeShop)) + EVT_ELSE + EVT_CALL(EnableGroup, MODEL_jutan1, FALSE) + EVT_END_IF + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_EQ(STORY_INTRO) + EVT_CALL(MakeNpcs, FALSE, EVT_PTR(N(IntroNPCs))) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_CALL(MakeNpcs, FALSE, EVT_PTR(N(EpilogueNPCs))) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_CALL(MakeNpcs, FALSE, EVT_PTR(N(Chapter0NPCs))) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_CALL(MakeNpcs, FALSE, EVT_PTR(N(Chapter1NPCs))) + EVT_CASE_EQ(STORY_CH1_DEFEATED_JR_TROOPA) + EVT_CALL(MakeNpcs, FALSE, EVT_PTR(N(TwinkMeetingNPCs))) + EVT_CASE_RANGE(STORY_CH3_STAR_SPRIT_DEPARTED, STORY_CH4_STAR_SPIRIT_RESCUED) + EVT_CALL(MakeNpcs, FALSE, EVT_PTR(N(Chapter4NPCs))) + EVT_CASE_EQ(STORY_CH6_RETURNED_TO_TOAD_TOWN) + EVT_CALL(MakeNpcs, FALSE, EVT_PTR(N(NinjiMeetingNPCs))) + EVT_CASE_DEFAULT + EVT_CALL(MakeNpcs, FALSE, EVT_PTR(N(DefaultNPCs))) + EVT_END_SWITCH + EVT_IF_GE(GB_StoryProgress, STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_tt, COLLIDER_FLAGS_UPPER_MASK) + EVT_END_IF + EVT_EXEC(N(EVS_SetupFlowerModels)) + EVT_EXEC(N(EVS_MakeEntities)) + EVT_EXEC(N(EVS_SetupRooms)) + EVT_EXEC(N(EVS_SetupBulletinBoard)) + EVT_EXEC(N(EVS_SetupCrystalBallGfx)) + EVT_EXEC(N(EVS_SetupMusic)) + EVT_CALL(UseDoorSounds, DOOR_SOUNDS_LARGE) + EVT_CALL(UseAdvancedDoorSounds, DOOR_SOUNDS_BASIC) + EVT_EXEC(N(EVS_EnterMap)) + EVT_WAIT(1) + EVT_CALL(EnableTexPanning, MODEL_hikari, TRUE) + EVT_THREAD + EVT_SET_GROUP(EVT_GROUP_00) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LABEL(0) + EVT_ADD(LVar0, -100) + EVT_ADD(LVar1, -200) + EVT_IF_LT(LVar0, 0) + EVT_ADD(LVar0, 0x10000) + EVT_END_IF + EVT_IF_LT(LVar1, 0) + EVT_ADD(LVar0, 0x10000) + EVT_END_IF + EVT_CALL(SetTexPanOffset, TEX_PANNER_3, TEX_PANNER_MAIN, LVar0, 0) + EVT_CALL(SetTexPanOffset, TEX_PANNER_3, TEX_PANNER_AUX, LVar1, LVar1) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_END_THREAD + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_Merlon_GiveHint)), TRIGGER_WALL_PRESS_A, COLLIDER_o335, 1, 0) + EVT_EXEC(N(EVS_SetupQuickChangeTrigger)) + EVT_EXEC(N(EVS_SetupFoliage)) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(2.0)) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_01/mac_01_3_entity.c b/src/world/area_mac/mac_01/mac_01_3_entity.c new file mode 100644 index 0000000000..7e2cacfcd0 --- /dev/null +++ b/src/world/area_mac/mac_01/mac_01_3_entity.c @@ -0,0 +1,19 @@ +#include "mac_01.h" +#include "entity.h" + +EvtScript N(EVS_Inspect_StreetSign) = { + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(ShowMessageAtScreenPos, MSG_Menus_0170, 160, 40) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_MakeEntities) = { + EVT_IF_LT(GB_StoryProgress, STORY_EPILOGUE) + EVT_CALL(MakeEntity, EVT_PTR(Entity_SavePoint), 280, 80, -130, 0, MAKE_ENTITY_END) + EVT_END_IF + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_Inspect_StreetSign)), TRIGGER_WALL_PRESS_A, COLLIDER_o406, 1, 0) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_01/mac_01_4_rooms.c b/src/world/area_mac/mac_01/mac_01_4_rooms.c new file mode 100644 index 0000000000..9042473b52 --- /dev/null +++ b/src/world/area_mac/mac_01/mac_01_4_rooms.c @@ -0,0 +1,253 @@ +#include "mac_01.h" + +EvtScript N(EVS_SetDoorRot_PostOffice) = { + EVT_SETF(LVar1, LVar0) + EVT_DIVF(LVar1, EVT_FLOAT(45.0)) + EVT_CALL(TranslateModel, MODEL_o189, LVar1, 0, 0) + EVT_SETF(LVar1, LVar0) + EVT_MULF(LVar1, EVT_FLOAT(0.95)) + EVT_CALL(RotateModel, MODEL_o189, LVar1, 0, -1, 0) + EVT_RETURN + EVT_END +}; + +s16 N(Models_PostOfficeWalls_Unused)[] = { + MODEL_y1, + MODEL_y2, + MODEL_k14, + MODEL_k15, + MODEL_k16, + MODEL_k17, + MODEL_k18, + MODEL_k21, + MODEL_k22, + MODEL_k23, + MODEL_k24, + MODEL_y3, + MODEL_k11, + MODEL_k12, + MODEL_k13, +}; + +EvtScript N(EVS_MoveWalls_PostOffice) = { + EVT_SET(LVar1, LVar0) + EVT_CALL(RotateModel, MODEL_k11, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_k12, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_k13, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_k14, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_k15, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_k16, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_k17, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_k18, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_k21, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_k22, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_k23, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_k24, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_y1, LVar1, -1, 0, 0) + EVT_CALL(RotateModel, MODEL_y2, LVar1, -1, 0, 0) + EVT_CALL(RotateModel, MODEL_y3, LVar1, -1, 0, 0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(90) + EVT_CALL(EnableGroup, MODEL_po_mtx, FALSE) + EVT_CASE_DEFAULT + EVT_CALL(EnableGroup, MODEL_po_mtx, TRUE) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_DropDoor_PostOffice) = { + EVT_CALL(RotateModel, MODEL_o189, LVar0, 1, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ToggleVis_PostOffice) = { + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_CALL(SetGroupEnabled, MODEL_yubin_in, 1) + EVT_EXEC_WAIT(N(EVS_Scene_MailbagTheft)) + EVT_CASE_EQ(3) + EVT_CALL(SetGroupEnabled, MODEL_yubin_in, 0) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_SetDoorRot_ToadHouse) = { + EVT_CALL(RotateModel, MODEL_door_k, LVar0, 0, -1, 0) + EVT_RETURN + EVT_END +}; + +s16 N(Models_ToadHouseWalls_Unused)[] = { + MODEL_kk12, + MODEL_kk13, + MODEL_kk14, + MODEL_kk21, + MODEL_kk22, + MODEL_kk23, + MODEL_kk11, +}; + +EvtScript N(EVS_MoveWalls_ToadHouse) = { + EVT_SET(LVar1, LVar0) + EVT_MULF(LVar1, EVT_FLOAT(1.0)) + EVT_CALL(RotateModel, MODEL_kk11, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_kk12, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_kk13, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_kk14, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_kk21, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_kk22, LVar1, 1, 0, 0) + EVT_CALL(RotateModel, MODEL_kk23, LVar1, 1, 0, 0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(90) + EVT_CALL(EnableGroup, MODEL_kino_out, FALSE) + EVT_CASE_DEFAULT + EVT_CALL(EnableGroup, MODEL_kino_out, TRUE) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ToggleVis_ToadHouse) = { + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_CALL(SetGroupEnabled, MODEL_kino_in, 1) + EVT_SET(MF_InsideToadHouse, TRUE) + EVT_CASE_EQ(3) + EVT_CALL(SetGroupEnabled, MODEL_kino_in, 0) + EVT_SET(MF_InsideToadHouse, FALSE) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_SetDoorRot_MerlonHouse) = { + EVT_CALL(RotateModel, MODEL_door, LVar0, 0, -1, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_MoveWalls_MerlonHouse) = { + EVT_SET(LVar1, LVar0) + EVT_MUL(LVar1, 2) + EVT_CALL(RotateGroup, MODEL_off_kabe, LVar1, 0, 1, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ToggleVis_MerlonHouse) = { + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH1_SPOKE_WITH_MERLIN) + EVT_EXEC_WAIT(N(EVS_MerlonShooAway)) + EVT_SET(LVar0, -1) + EVT_RETURN + EVT_CASE_RANGE(STORY_CH6_RETURNED_TO_TOAD_TOWN, STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_EXEC(N(EVS_Scene_MerlonAndNinji)) + EVT_CASE_RANGE(STORY_CH3_GOT_SUPER_BOOTS, STORY_CH8_REACHED_PEACHS_CASTLE) + EVT_IF_EQ(GB_StoryProgress, STORY_CH6_RETURNED_TO_TOAD_TOWN) + EVT_BREAK_SWITCH + EVT_END_IF + EVT_IF_EQ(GF_MAC01_Merlon_HeardAboutDream, FALSE) + EVT_CALL(SpeakToPlayer, NPC_Luigi, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_003C) + EVT_SET(LVar0, -1) + EVT_RETURN + EVT_END_IF + EVT_CASE_GE(STORY_EPILOGUE) + EVT_CALL(ShowMessageAtScreenPos, MSG_Outro_003F, 160, 40) + EVT_SET(LVar0, -1) + EVT_RETURN + EVT_END_SWITCH + EVT_CALL(SetGroupEnabled, MODEL_dr_in, 1) + EVT_SET(MF_MusicMixTrigger1, TRUE) + EVT_CASE_EQ(1) + EVT_CASE_EQ(2) + EVT_CASE_EQ(3) + EVT_CALL(SetGroupEnabled, MODEL_dr_in, 0) + EVT_SET(MF_MusicMixTrigger1, FALSE) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_SpinRoof) = { + EVT_SET_GROUP(EVT_GROUP_00) + EVT_SET(LVar0, 0) + EVT_LABEL(0) + EVT_ADDF(LVar0, EVT_FLOAT(3.0)) + EVT_IF_GT(LVar0, 360) + EVT_SUBF(LVar0, EVT_FLOAT(360.0)) + EVT_END_IF + EVT_CALL(RotateGroup, MODEL_yane, LVar0, 0, 1, 0) + EVT_CALL(RotateGroup, MODEL_off_yane, LVar0, 0, 1, 0) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +s32 N(InsideNPCs_PostOffice)[] = { + NPC_Postmaster, + NPC_Parakarry, + NPC_PostOfficeShyGuy, + -1 +}; + +s32 N(InsideNPCs_ToadHouse)[] = { + NPC_ToadHouseToad, + NPC_ToadHouseShyGuy, + -1 +}; + +s32 N(InsideNPCs_MerlonHouse)[] = { + NPC_Merlon, + NPC_Ninji, + -1 +}; + +EvtScript N(EVS_SetupRooms) = { + // post office + EVT_CALL(MakeDoorAdvanced, + VIS_GROUP_PAIR(VIS_GROUP_0, VIS_GROUP_2), + EVT_PTR(N(EVS_SetDoorRot_PostOffice)), + EVT_PTR(N(EVS_MoveWalls_PostOffice)), + EVT_PTR(N(EVS_DropDoor_PostOffice)), + EVT_PTR(N(EVS_ToggleVis_PostOffice)), + COLLIDER_deilit1, + COLLIDER_deilit1u, + MODEL_post_office, + EVT_PTR(N(InsideNPCs_PostOffice))) + // toad house + EVT_CALL(MakeDoorAdvanced, + VIS_GROUP_PAIR(VIS_GROUP_0, VIS_GROUP_2), + EVT_PTR(N(EVS_SetDoorRot_ToadHouse)), + EVT_PTR(N(EVS_MoveWalls_ToadHouse)), + NULL, + EVT_PTR(N(EVS_ToggleVis_ToadHouse)), + COLLIDER_deilit2, + COLLIDER_deilit2u, + MODEL_kinopi, + EVT_PTR(N(InsideNPCs_ToadHouse))) + // merlon's house + EVT_CALL(MakeDoorAdvanced, + VIS_GROUP_PAIR(VIS_GROUP_0, VIS_GROUP_2), + EVT_PTR(N(EVS_SetDoorRot_MerlonHouse)), + EVT_PTR(N(EVS_MoveWalls_MerlonHouse)), + NULL, + EVT_PTR(N(EVS_ToggleVis_MerlonHouse)), + COLLIDER_deilitd, + COLLIDER_deilitud, + MODEL_de_aru, + EVT_PTR(N(InsideNPCs_MerlonHouse))) + // initial visibility + EVT_EXEC(N(EVS_SpinRoof)) + EVT_SET(LVar0, VIS_GROUP_3) + EVT_EXEC(N(EVS_ToggleVis_PostOffice)) + EVT_EXEC(N(EVS_ToggleVis_ToadHouse)) + EVT_EXEC(N(EVS_ToggleVis_MerlonHouse)) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_01/mac_01_5_shop.c b/src/world/area_mac/mac_01/mac_01_5_shop.c new file mode 100644 index 0000000000..e7201df967 --- /dev/null +++ b/src/world/area_mac/mac_01/mac_01_5_shop.c @@ -0,0 +1,251 @@ +#include "mac_01.h" + +API_CALLABLE(N(HideRowfBadge)) { + s32 itemIndex = evt_get_variable(script, *script->ptrReadPos); + + set_item_entity_flags(gGameStatusPtr->shopItemEntities[itemIndex].index, ITEM_ENTITY_FLAGS_HIDDEN); + return ApiStatus_DONE2; +} + +API_CALLABLE(N(SetRowfBadgeBought)) { + s32 itemIndex = evt_get_variable(script, *script->ptrReadPos); + s32* buyFlags = (s32*) evt_get_variable(NULL, MV_RowfShopBuyFlags); + + set_item_entity_flags(gGameStatusPtr->shopItemEntities[itemIndex].index, ITEM_ENTITY_FLAGS_HIDDEN); + evt_set_variable(NULL, buyFlags[itemIndex], TRUE); + return ApiStatus_DONE2; +} + +API_CALLABLE(N(CreateShopInventory)) { + s32 varBaseUnlocked = GF_MAC01_UnlockedRowfBadge_00; + s32 varBaseHasBought = GF_MAC01_RowfBadge_00; + s32 options[16]; + s32 itemID; + s32 shopIdx; + s32 randIdx; + s32 available; + s32 count; + s32 i; + + ShopItemData* inventory = heap_malloc(4 * sizeof(ShopItemData)); + s32* buyFlags = heap_malloc(3 * sizeof(s32)); + buyFlags[0] = 0; + buyFlags[1] = 0; + buyFlags[2] = 0; + inventory[0].itemID = 0; + inventory[1].itemID = 0; + inventory[2].itemID = 0; + inventory[3].itemID = 0; + + if (!evt_get_variable(script, GF_MAC01_RowfBadgesChosen)) { + available = 0; + for (i = 0; i < (u32) ARRAY_COUNT(options); i++) { + s32 isUnlocked = evt_get_variable(NULL, varBaseUnlocked + i); + s32 hasBought = evt_get_variable(NULL, varBaseHasBought + i); + if ((isUnlocked == 1) && (hasBought == 0)) { + options[available++] = i; + } + } + + count = 0; + while (available != 0) { + randIdx = rand_int(available - 1); + shopIdx = options[randIdx]; + + itemID = mac_01_RowfBadgeInventory[shopIdx].itemID; + inventory[count].itemID = itemID; + inventory[count].price = gItemTable[itemID].sellValue; + inventory[count].descMsg = mac_01_RowfBadgeInventory[shopIdx].descMsg; + buyFlags[count] = varBaseHasBought + shopIdx; + + evt_set_variable(script, GB_MAC01_Rowf_Badge0 + count, shopIdx); + + count++; + if (count >= 3) + break; + + for (i = randIdx; i < available - 1; i++) { + options[i] = options[i + 1]; + } + available--; + } + evt_set_variable(script, GB_MAC01_Rowf_NumBadges, count); + evt_set_variable(script, GF_MAC01_RowfBadgesChosen, TRUE); + script->varTable[3] = FALSE; + } else { + count = evt_get_variable(script, GB_MAC01_Rowf_NumBadges); + for (i = 0; i < count; i++) { + shopIdx = evt_get_variable(script, GB_MAC01_Rowf_Badge0 + i); + itemID = mac_01_RowfBadgeInventory[shopIdx].itemID; + inventory[i].itemID = itemID; + inventory[i].price = gItemTable[itemID].sellValue; + inventory[i].descMsg = mac_01_RowfBadgeInventory[shopIdx].descMsg; + buyFlags[i] = varBaseHasBought + shopIdx; + } + script->varTable[3] = TRUE; + } + + script->varTable[0] = count; + script->varTablePtr[1] = buyFlags; + script->varTablePtr[2] = inventory; + return ApiStatus_DONE2; +} + +s32 N(ShopMessages)[] = { + MSG_Shop_0017, + MSG_Shop_0018, + MSG_Shop_0002, + MSG_Shop_0019, + MSG_Shop_0004, + MSG_Shop_0005, + MSG_Shop_0006, + MSG_Shop_0007, + MSG_Shop_0008, + MSG_Shop_0009, + MSG_Shop_000A, + MSG_Shop_000B, + MSG_Shop_000C, + MSG_Shop_000D, + MSG_Shop_000E, + MSG_Shop_000F, + MSG_Shop_0010, + MSG_Shop_0011, + MSG_Shop_0012, + MSG_Shop_0013, + MSG_Shop_0014, + MSG_Shop_0015, + MSG_Shop_001A, +}; + +ShopSellPriceData N(RowfDummyPriceList)[] = { + { .itemID = ITEM_SHOOTING_STAR, .sellPrice = 0 }, + {} +}; + +EvtScript N(EVS_OnBuy) = { + EVT_SWITCH(LVar0) + EVT_CASE_EQ(3) + EVT_CASE_EQ(4) + EVT_CASE_EQ(1) + EVT_SWITCH(LVar2) + EVT_CASE_EQ(0) + EVT_SET(GF_MAC01_RowfBadgeAvailableA, TRUE) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_b3, COLLIDER_FLAGS_UPPER_MASK) + EVT_CASE_EQ(1) + EVT_SET(GF_MAC01_RowfBadgeAvailableB, TRUE) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_b2, COLLIDER_FLAGS_UPPER_MASK) + EVT_CASE_EQ(2) + EVT_SET(GF_MAC01_RowfBadgeAvailableC, TRUE) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_b1, COLLIDER_FLAGS_UPPER_MASK) + EVT_END_SWITCH + EVT_CALL(N(SetRowfBadgeBought), LVar2) + EVT_CASE_EQ(2) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +ShopItemData N(RowfBadgeInventory)[] = { + { .itemID = ITEM_SPEEDY_SPIN, .price = 50, .descMsg = MSG_ItemShopDesc_SpeedySpin }, + { .itemID = ITEM_FIRST_ATTACK, .price = 100, .descMsg = MSG_ItemShopDesc_FirstAttack }, + { .itemID = ITEM_MULTIBOUNCE, .price = 75, .descMsg = MSG_ItemShopDesc_Multibounce }, + { .itemID = ITEM_D_DOWN_POUND, .price = 75, .descMsg = MSG_ItemShopDesc_DDownPound }, + { .itemID = ITEM_DODGE_MASTER, .price = 100, .descMsg = MSG_ItemShopDesc_DodgeMaster }, + { .itemID = ITEM_SLEEP_STOMP, .price = 75, .descMsg = MSG_ItemShopDesc_SleepStomp }, + { .itemID = ITEM_DOUBLE_DIP, .price = 100, .descMsg = MSG_ItemShopDesc_DoubleDip }, + { .itemID = ITEM_BOOTS_CHARGE, .price = 50, .descMsg = MSG_ItemShopDesc_JumpCharge }, + { .itemID = ITEM_SPIN_SMASH, .price = 75, .descMsg = MSG_ItemShopDesc_SpinSmash }, + { .itemID = ITEM_GROUP_FOCUS, .price = 100, .descMsg = MSG_ItemShopDesc_GroupFocus }, + { .itemID = ITEM_ALLOR_NOTHING, .price = 100, .descMsg = MSG_ItemShopDesc_AllorNothing }, + { .itemID = ITEM_HP_PLUS_C, .price = 150, .descMsg = MSG_ItemShopDesc_HPPlus }, + { .itemID = ITEM_FP_PLUS_C, .price = 150, .descMsg = MSG_ItemShopDesc_FPPlus }, + { .itemID = ITEM_S_SMASH_CHG, .price = 100, .descMsg = MSG_ItemShopDesc_SSmashChg }, + { .itemID = ITEM_DAMAGE_DODGE_A, .price = 150, .descMsg = MSG_ItemShopDesc_DamageDodge }, + { .itemID = ITEM_MEGA_QUAKE, .price = 200, .descMsg = MSG_ItemShopDesc_MegaQuake }, +}; + +ShopItemLocation N(RowfItemPositions)[] = { + { .posModelID = MODEL_b3, .triggerColliderID = COLLIDER_b3 }, + { .posModelID = MODEL_b2, .triggerColliderID = COLLIDER_b2 }, + { .posModelID = MODEL_b1, .triggerColliderID = COLLIDER_b1 }, +}; + +ShopOwner N(ShopOwnerRowf) = { + .npcID = NPC_Rowf, + .idleAnim = ANIM_Rowf_Idle, + .talkAnim = ANIM_Rowf_Talk, + .onBuyEvt = &N(EVS_OnBuy), + .shopMsgIDs = N(ShopMessages), +}; + +EvtScript N(EVS_SetupBadgeShop) = { + EVT_IF_LT(GB_StoryProgress, STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_GOTO(1) + EVT_END_IF + EVT_IF_LT(GB_StoryProgress, STORY_CH3_STAR_SPRIT_DEPARTED) + EVT_GOTO(2) + EVT_END_IF + EVT_IF_LT(GB_StoryProgress, STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_GOTO(3) + EVT_END_IF + EVT_IF_LT(GB_StoryProgress, STORY_CH5_RETURNED_TO_TOAD_TOWN) + EVT_GOTO(4) + EVT_END_IF + EVT_SET(GF_MAC01_UnlockedRowfBadge_0F, TRUE) + EVT_SET(GF_MAC01_UnlockedRowfBadge_0E, TRUE) + EVT_SET(GF_MAC01_UnlockedRowfBadge_0D, TRUE) + EVT_LABEL(4) + EVT_SET(GF_MAC01_UnlockedRowfBadge_0C, TRUE) + EVT_SET(GF_MAC01_UnlockedRowfBadge_0B, TRUE) + EVT_SET(GF_MAC01_UnlockedRowfBadge_0A, TRUE) + EVT_LABEL(3) + EVT_SET(GF_MAC01_UnlockedRowfBadge_09, TRUE) + EVT_SET(GF_MAC01_UnlockedRowfBadge_08, TRUE) + EVT_SET(GF_MAC01_UnlockedRowfBadge_07, TRUE) + EVT_LABEL(2) + EVT_SET(GF_MAC01_UnlockedRowfBadge_06, TRUE) + EVT_SET(GF_MAC01_UnlockedRowfBadge_05, TRUE) + EVT_SET(GF_MAC01_UnlockedRowfBadge_04, TRUE) + EVT_LABEL(1) + EVT_SET(GF_MAC01_UnlockedRowfBadge_03, TRUE) + EVT_SET(GF_MAC01_UnlockedRowfBadge_02, TRUE) + EVT_SET(GF_MAC01_UnlockedRowfBadge_01, TRUE) + EVT_SET(GF_MAC01_UnlockedRowfBadge_00, TRUE) + EVT_CALL(N(CreateShopInventory)) + EVT_SET(MV_RowfShopBuyFlags, LVar1) + EVT_IF_EQ(LVar3, 0) + EVT_SET(GF_MAC01_RowfBadgeAvailableA, FALSE) + EVT_SET(GF_MAC01_RowfBadgeAvailableB, FALSE) + EVT_SET(GF_MAC01_RowfBadgeAvailableC, FALSE) + EVT_IF_LT(LVar0, 3) + EVT_SET(GF_MAC01_RowfBadgeAvailableC, TRUE) + EVT_END_IF + EVT_IF_LT(LVar0, 2) + EVT_SET(GF_MAC01_RowfBadgeAvailableB, TRUE) + EVT_END_IF + EVT_IF_LT(LVar0, 1) + EVT_SET(GF_MAC01_RowfBadgeAvailableA, TRUE) + EVT_END_IF + EVT_END_IF + EVT_CALL(MakeShop, EVT_PTR(N(RowfItemPositions)), LVar2, EVT_PTR(N(RowfDummyPriceList)), 0) + EVT_CALL(MakeShopOwner, EVT_PTR(N(ShopOwnerRowf))) + EVT_IF_EQ(LVar3, 1) + EVT_IF_GE(LVar0, 3) + EVT_IF_EQ(GF_MAC01_RowfBadgeAvailableC, TRUE) + EVT_CALL(N(SetRowfBadgeBought), 2) + EVT_END_IF + EVT_END_IF + EVT_IF_GE(LVar0, 2) + EVT_IF_EQ(GF_MAC01_RowfBadgeAvailableB, TRUE) + EVT_CALL(N(SetRowfBadgeBought), 1) + EVT_END_IF + EVT_END_IF + EVT_IF_GE(LVar0, 1) + EVT_IF_EQ(GF_MAC01_RowfBadgeAvailableA, TRUE) + EVT_CALL(N(SetRowfBadgeBought), 0) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_01/800C40.c b/src/world/area_mac/mac_01/mac_01_6_crystal_ball_gfx.c similarity index 84% rename from src/world/area_mac/mac_01/800C40.c rename to src/world/area_mac/mac_01/mac_01_6_crystal_ball_gfx.c index 1594c7b1e9..a7de90038e 100644 --- a/src/world/area_mac/mac_01/800C40.c +++ b/src/world/area_mac/mac_01/mac_01_6_crystal_ball_gfx.c @@ -1,16 +1,16 @@ #include "mac_01.h" -#include "mapfs/mac_01_shape.h" #include "model.h" #include "nu/nusys.h" -extern s32 D_80248420_808CA0; +s32 N(CrystallBallRenderCounter) = 0; +s32 N(UnusedCrystalBallField) = 0; -void func_802403C0_800C40(void) { +void N(gfx_build_crystal_ball_pre)(void) { Camera* camera = &gCameras[gCurrentCameraID]; Matrix4f sp50; LookAt sp90; - D_80248420_808CA0 += 1; + N(CrystallBallRenderCounter)++; guLookAtHiliteF(sp50, &sp90, &gDisplayContext->hilite, camera->lookAt_eye.x, camera->lookAt_eye.y, camera->lookAt_eye.z, camera->lookAt_obj.x, camera->lookAt_obj.y, camera->lookAt_obj.z, @@ -26,12 +26,12 @@ void func_802403C0_800C40(void) { gSPSetGeometryMode(gMasterGfxPos++, G_TEXTURE_GEN); } -void func_802405E8_800E68(void) { +void N(gfx_build_crystal_ball_post)(void) { gSPClearGeometryMode(gMasterGfxPos++, G_TEXTURE_GEN); gSPEndDisplayList(gMasterGfxPos++); } -void func_80240628_800EA8(void) { +void N(gfx_build_inside_crystal_ball)(void) { f32 x, y, z, s; f32 f20, f22; f32 f0, f2; @@ -122,3 +122,16 @@ void func_80240628_800EA8(void) { gDPSetTexturePersp(gMasterGfxPos++, G_TP_PERSP); gSPTexture(gMasterGfxPos++, 0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF); } + +EvtScript N(EVS_SetupCrystalBallGfx) = { + EVT_WAIT(1) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_2, EVT_PTR(N(gfx_build_crystal_ball_pre)), EVT_PTR(N(gfx_build_crystal_ball_post))) + EVT_CALL(SetModelCustomGfx, MODEL_mirrorball, CUSTOM_GFX_2, -1) + EVT_CALL(EnableModel, MODEL_mirrorball, FALSE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_3, EVT_PTR(N(gfx_build_inside_crystal_ball)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_tama, CUSTOM_GFX_3, -1) + EVT_CALL(SetModelFlags, MODEL_tama, MODEL_FLAGS_USE_CAMERA_UNK_MATRIX, TRUE) + EVT_CALL(SetModelFlags, MODEL_ohosi, MODEL_FLAGS_USE_CAMERA_UNK_MATRIX, TRUE) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_01/mac_01_7_bulletin.c b/src/world/area_mac/mac_01/mac_01_7_bulletin.c new file mode 100644 index 0000000000..124fc1ee57 --- /dev/null +++ b/src/world/area_mac/mac_01/mac_01_7_bulletin.c @@ -0,0 +1,115 @@ +#include "mac_01.h" + +EvtScript N(EVS_UpdateBulletinKootFavor) = { + EVT_IF_NE(GB_KootFavor_Current, 9) + EVT_RETURN + EVT_END_IF + EVT_SET(LVar1, GF_MAC01_KootFavor_ReadNewsBulletin) + EVT_ADD(LVar1, GF_MAC01_KootFavor_ReadGossipBulletin) + EVT_IF_EQ(LVar1, 2) + EVT_RETURN + EVT_END_IF + EVT_IF_EQ(LVar0, 0) + EVT_SET(GF_MAC01_KootFavor_ReadNewsBulletin, TRUE) + EVT_ELSE + EVT_SET(GF_MAC01_KootFavor_ReadGossipBulletin, TRUE) + EVT_END_IF + EVT_SET(LVar0, GF_MAC01_KootFavor_ReadNewsBulletin) + EVT_ADD(LVar0, GF_MAC01_KootFavor_ReadGossipBulletin) + EVT_IF_EQ(LVar0, 2) + EVT_SET(GF_MAC02_KootFavor_CurrentComplete, TRUE) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +typedef struct BulletinBoardEntry { + /* 0x00 */ s32 newsMessage; + /* 0x04 */ s32 gossipMessage; + /* 0x08 */ s32 requiredProgress; +} BulletinBoardEntry; // size = 0xC + +BulletinBoardEntry N(BulletinBoardData)[] = { + { MSG_NewsBoard_0000, MSG_GossipBoard_0000, STORY_INTRO }, + { MSG_NewsBoard_0001, MSG_GossipBoard_0001, STORY_CH0_MET_STAR_SPIRITS }, + { MSG_NewsBoard_0002, MSG_GossipBoard_0002, STORY_CH1_ARRIVED_AT_KOOPA_VILLAGE }, + { MSG_NewsBoard_0003, MSG_GossipBoard_0003, STORY_CH1_STAR_SPRIT_DEPARTED }, + { MSG_NewsBoard_0004, MSG_GossipBoard_0004, STORY_CH2_SHADY_MOUSE_LEFT_SHOP }, + { MSG_NewsBoard_0005, MSG_GossipBoard_0005, STORY_CH2_GOT_SUPER_HAMMER }, + { MSG_NewsBoard_0006, MSG_GossipBoard_0006, STORY_UNUSED_FFFFFFCC }, + { MSG_NewsBoard_0007, MSG_GossipBoard_0007, STORY_CH3_ARRIVED_AT_BOOS_MANSION }, + { MSG_NewsBoard_0008, MSG_GossipBoard_0008, STORY_CH3_SAW_TUBBA_EAT_BOO }, + { MSG_NewsBoard_0009, MSG_GossipBoard_0009, STORY_CH3_STAR_SPIRIT_RESCUED }, + { MSG_NewsBoard_000A, MSG_GossipBoard_000A, STORY_CH4_FOUND_HIDDEN_DOOR }, + { MSG_NewsBoard_000B, MSG_GossipBoard_000B, STORY_CH4_GOT_TOY_TRAIN }, + { MSG_NewsBoard_000C, MSG_GossipBoard_000C, STORY_CH4_GOT_TAYCE_TS_CAKE }, + { MSG_NewsBoard_000D, MSG_GossipBoard_000D, STORY_CH4_WATT_JOINED_PARTY }, + { MSG_NewsBoard_000E, MSG_GossipBoard_000E, STORY_CH4_STAR_SPIRIT_RESCUED }, + { MSG_NewsBoard_000F, MSG_GossipBoard_000F, STORY_CH5_REACHED_LAVA_LAVA_ISLAND }, + { MSG_NewsBoard_0010, MSG_GossipBoard_0010, STORY_CH5_ZIP_LINE_READY }, + { MSG_NewsBoard_0011, MSG_GossipBoard_0011, STORY_CH5_TRADED_VASE_FOR_SEED }, + { MSG_NewsBoard_0012, MSG_GossipBoard_0012, STORY_CH6_ARRIVED_AT_FLOWER_FIELDS }, + { MSG_NewsBoard_0013, MSG_GossipBoard_0013, STORY_CH6_SPOKE_WITH_THE_SUN }, + { MSG_NewsBoard_0014, MSG_GossipBoard_0014, STORY_CH6_STAR_SPIRIT_RESCUED }, + { MSG_NewsBoard_0015, MSG_GossipBoard_0015, STORY_CH7_INVITED_TO_STARBORN_VALLEY }, + { MSG_NewsBoard_0016, MSG_GossipBoard_0016, STORY_CH7_ARRIVED_AT_SHIVER_CITY }, + { MSG_NewsBoard_0017, MSG_GossipBoard_0017, STORY_CH7_STAR_SPIRIT_RESCUED }, + { MSG_NewsBoard_0018, MSG_GossipBoard_0018, STORY_CH8_STAR_SHIP_ACTIVATED }, + { MSG_NewsBoard_0019, MSG_GossipBoard_0019, STORY_EPILOGUE }, +}; + +API_CALLABLE(N(GetBulletinMessages)) { + s32 idx = evt_get_variable(script, GB_MAC02_CurrentBulletin); + + script->varTable[0] = N(BulletinBoardData)[idx].newsMessage; + script->varTable[1] = N(BulletinBoardData)[idx].gossipMessage; + return ApiStatus_DONE2; +} + +API_CALLABLE(N(SelectBulletinMessages)) { + s32 storyProgress = evt_get_variable(script, GB_StoryProgress); + BulletinBoardEntry* entry; + s32 i; + + entry = &N(BulletinBoardData)[ARRAY_COUNT(N(BulletinBoardData)) - 1]; + + for (i = ARRAY_COUNT(N(BulletinBoardData)) - 1; i >= 0; i--, entry--) { + if (storyProgress >= entry->requiredProgress) { + break; + } + } + evt_set_variable(script, GB_MAC02_CurrentBulletin, i); + return ApiStatus_DONE2; +} + + +EvtScript N(EVS_ReadBulletin_News) = { + EVT_CALL(N(SelectBulletinMessages)) + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(N(GetBulletinMessages)) + EVT_CALL(ShowMessageAtScreenPos, LVar0, 160, 40) + EVT_SET(LVar0, 0) + EVT_EXEC_WAIT(N(EVS_UpdateBulletinKootFavor)) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ReadBulletin_Gossip) = { + EVT_CALL(N(SelectBulletinMessages)) + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(N(GetBulletinMessages)) + EVT_CALL(ShowMessageAtScreenPos, LVar1, 160, 40) + EVT_SET(LVar0, 1) + EVT_EXEC_WAIT(N(EVS_UpdateBulletinKootFavor)) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_SetupBulletinBoard) = { + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_ReadBulletin_News)), TRIGGER_WALL_PRESS_A, COLLIDER_syoumen, 1, 0) + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_ReadBulletin_Gossip)), TRIGGER_WALL_PRESS_A, COLLIDER_yoko_ushiro, 1, 0) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_01/mac_01_8_music_mix.c b/src/world/area_mac/mac_01/mac_01_8_music_mix.c new file mode 100644 index 0000000000..10cc5fb5a6 --- /dev/null +++ b/src/world/area_mac/mac_01/mac_01_8_music_mix.c @@ -0,0 +1,47 @@ +#include "mac_01.h" + +#include "world/common/atomic/MonitorMusicProximityTrigger.inc.c" + +MusicProximityTrigger N(MusicMixTrigger1) = { + .pos = { -190.0f, -210.0f }, + .innerDist = 100.0f, + .outerDist = 120.0f, + .unk = 2, + .manualActivationFlag = MF_MusicMixTrigger1, +}; + +MusicProximityTrigger N(MusicMixTrigger2) = { + .pos = { -150.0f, 330.0f }, + .innerDist = 110.0f, + .outerDist = 130.0f, + .unk = 8, + .manualActivationFlag = MF_MusicMixTrigger2, +}; + +MusicProximityTrigger N(MusicMixTrigger3) = { + .pos = { 266.0f, 370.0f }, + .innerDist = 200.0f, + .outerDist = 220.0f, + .unk = 5, + .manualActivationFlag = MF_MusicMixTrigger3, +}; + + +EvtScript N(EVS_SetupMusicMix) = { + EVT_CALL(SetMusicTrack, 0, SONG_TOAD_TOWN, 0, 8) + EVT_CALL(EnableMusicProximityMix, 0) + EVT_IF_EQ(MF_SetupMusicMixes, FALSE) + EVT_SET(MF_SetupMusicMixes, TRUE) + EVT_THREAD + EVT_CALL(N(MonitorMusicProximityTrigger), EVT_PTR(N(MusicMixTrigger1))) + EVT_END_THREAD + EVT_THREAD + EVT_CALL(N(MonitorMusicProximityTrigger), EVT_PTR(N(MusicMixTrigger2))) + EVT_END_THREAD + EVT_THREAD + EVT_CALL(N(MonitorMusicProximityTrigger), EVT_PTR(N(MusicMixTrigger3))) + EVT_END_THREAD + EVT_END_IF + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_01/mac_01_9_npc.c b/src/world/area_mac/mac_01/mac_01_9_npc.c new file mode 100644 index 0000000000..09a8dcc7c9 --- /dev/null +++ b/src/world/area_mac/mac_01/mac_01_9_npc.c @@ -0,0 +1,2486 @@ +#include "mac_01.h" +#include "effects.h" +#include "hud_element.h" + +extern s32 D_80262F68; +extern PopupMenu D_80262C38; +extern IconHudScriptPair gItemHudScripts[]; +extern EvtScript N(EVS_ToadHouse_GetInBed); +extern EvtScript N(EVS_ToadHouse_SetDialogue); +extern EvtScript N(EVS_ToadHouse_ReturnFromRest); +extern EvtScript N(EVS_MerlonBargeOut); + +#include "world/common/npc/Toad_Wander.inc.c" +#include "world/common/npc/Toad_Patrol.inc.c" +#include "world/common/npc/Toad_Stationary.inc.c" +#include "world/common/enemy/complete/ShyGuy_NoAI.inc.c" + +NpcSettings N(NpcSettings_Ninji) = { + .height = 24, + .radius = 24, + .level = 99, +}; + +#include "world/common/npc/Twink.inc.c" +#include "world/common/npc/Kolorado.inc.c" +#include "world/common/npc/Bubulb.inc.c" + +NpcSettings N(NpcSettings_Parakarry) = { + .height = 24, + .radius = 24, + .level = 99, +}; + +#define CHUCK_QUIZMO_NPC_ID NPC_ChuckQuizmo +#include "world/common/complete/Quizmo.inc.c" + +#include "world/common/complete/ToadHouseBlanketAnim.inc.c" + +#define KNOCK_DOWN_MAP_VAR MV_KnockdownWorker +#include "world/common/complete/KnockDownPlayer.inc.c" + +#include "world/common/atomic/ToadHouse.inc.c" +#include "world/common/atomic/ToadHouse.data.inc.c" + + +MAP_STATIC_PAD(1,key_choice); +#include "world/common/complete/KeyItemChoice.inc.c" + +#include "world/common/complete/LetterDelivery.inc.c" + +#include "world/common/todo/GetPlayerCoins.inc.c" + +s32 N(LetterList_Merlon)[] = { + ITEM_LETTER01, + ITEM_NONE +}; + +EvtScript N(EVS_LetterPrompt_Merlon) = { + EVT_CALL(N(LetterDelivery_Init), + NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, + ITEM_LETTER01, ITEM_NONE, + MSG_MAC_Plaza_0043, MSG_MAC_Plaza_0044, MSG_MAC_Plaza_0045, MSG_MAC_Plaza_0046, + EVT_PTR(N(LetterList_Merlon))) + EVT_EXEC_WAIT(N(EVS_DoLetterDelivery)) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_LetterReward_Merlon) = { + EVT_IF_EQ(LVarC, 2) + EVT_GIVE_STAR_PIECE() + EVT_CALL(InterpNpcYaw, NPC_Merlon, 135, 0) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +s32 N(LetterList_MinhT)[] = { + ITEM_LETTER_TO_MINHT, + ITEM_NONE +}; + +EvtScript N(EVS_LetterPrompt_MinhT) = { + EVT_CALL(N(LetterDelivery_Init), + NPC_MinhT, ANIM_MinhT_Talk, ANIM_MinhT_Idle, + ITEM_LETTER_TO_MINHT, ITEM_NONE, + MSG_MAC_Plaza_0078, MSG_MAC_Plaza_0079, MSG_MAC_Plaza_007A, MSG_MAC_Plaza_007B, + EVT_PTR(N(LetterList_MinhT))) + EVT_EXEC_WAIT(N(EVS_DoLetterDelivery)) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_LetterReward_MinhT) = { + EVT_IF_EQ(LVarC, 2) + EVT_GIVE_STAR_PIECE() + EVT_END_IF + EVT_RETURN + EVT_END +}; + +s32 N(LetterList_Kolorado)[] = { + ITEM_LETTER25, + ITEM_NONE +}; + +EvtScript N(EVS_LetterPrompt_Kolorado) = { + EVT_CALL(N(LetterDelivery_Init), + NPC_Kolorado, ANIM_Kolorado_Talk, ANIM_Kolorado_Idle, + ITEM_LETTER25, ITEM_NONE, + MSG_MAC_Plaza_00E0, MSG_MAC_Plaza_00E1, MSG_MAC_Plaza_00E2, MSG_MAC_Plaza_00E3, + EVT_PTR(N(LetterList_Kolorado))) + EVT_EXEC_WAIT(N(EVS_DoLetterDelivery)) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_LetterReward_Kolorado) = { + EVT_IF_EQ(LVarC, 2) + EVT_GIVE_STAR_PIECE() + EVT_END_IF + EVT_RETURN + EVT_END +}; + +s32 N(ItemList_Artifact)[] = { + ITEM_ARTIFACT, + ITEM_NONE +}; + +EvtScript N(EVS_ArtifactReward_Kolorado) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Kolorado_Talk, ANIM_Kolorado_Idle, 0, MSG_MAC_Plaza_00E8) + EVT_GIVE_STAR_PIECE() + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Kolorado_Talk, ANIM_Kolorado_Idle, 0, MSG_MAC_Plaza_00E9) + EVT_SET(GF_SBK_GaveArtifactToKolorado, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ArtifactPrompt_Kolorado) = { + EVT_IF_EQ(GF_SBK_GaveArtifactToKolorado, TRUE) + EVT_RETURN + EVT_END_IF + EVT_CALL(FindKeyItem, ITEM_ARTIFACT, LVar0) + EVT_IF_EQ(LVar0, -1) + EVT_RETURN + EVT_END_IF + EVT_IF_EQ(AF_MAC_44, FALSE) + EVT_SET(AF_MAC_44, TRUE) + EVT_IF_EQ(GF_SBK_KeptArtifactFromKolorado, FALSE) + EVT_SET(GF_SBK_KeptArtifactFromKolorado, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_00E4) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_00E5) + EVT_END_IF + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_00E5) + EVT_END_IF + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Kolorado_Talk, ANIM_Kolorado_Idle, 0, LVar0) + EVT_SET(LVar0, EVT_PTR(N(ItemList_Artifact))) + EVT_SET(LVar1, 19) + EVT_EXEC_WAIT(N(EVS_ChooseKeyItem)) + EVT_SWITCH(LVar0) + EVT_CASE_GE(1) + EVT_EXEC_WAIT(N(EVS_ArtifactReward_Kolorado)) + EVT_BREAK_SWITCH + EVT_CASE_DEFAULT + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Kolorado_Talk, ANIM_Kolorado_Idle, 0, MSG_MAC_Plaza_00E6) + EVT_SET(LVar0, EVT_PTR(N(ItemList_Artifact))) + EVT_SET(LVar1, 19) + EVT_EXEC_WAIT(N(EVS_ChooseKeyItem)) + EVT_SWITCH(LVar0) + EVT_CASE_GE(1) + EVT_EXEC_WAIT(N(EVS_ArtifactReward_Kolorado)) + EVT_CASE_DEFAULT + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Kolorado_Talk, ANIM_Kolorado_Idle, 0, MSG_MAC_Plaza_00E7) + EVT_END_SWITCH + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(D_8024E6F8_80EF78) = { + EVT_LOOP(0) + EVT_CALL(PlaySoundAtNpc, LVar0, SOUND_B0000021, 0) + EVT_WAIT(2) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(D_8024E740_80EFC0) = { + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitd, SOUND_BASIC_DOOR_OPEN, 0) + EVT_CALL(MakeLerp, 0, -80, 30, EASING_COS_IN_OUT) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(RotateModel, MODEL_door, LVar0, 0, 1, 0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(D_8024E7F0_80F070) = { + EVT_CALL(MakeLerp, -80, 0, 30, EASING_COS_IN_OUT) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(RotateModel, MODEL_door, LVar0, 0, 1, 0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitd, SOUND_BASIC_DOOR_CLOSE, 0) + EVT_RETURN + EVT_END +}; + +#include "npc/read_fortune.inc.c" + +#include "world/common/util/CheckPositionRelativeToPlane.inc.c" + +API_CALLABLE(N(func_802447E0_805060)) { + if (isInitialCall) { + script->functionTemp[1] = 0; + } + + script->functionTemp[1] += 10; + if (script->functionTemp[1] > 255) { + script->functionTemp[1] = 255; + } + + set_screen_overlay_params_front(0, script->functionTemp[1]); + + if (script->functionTemp[1] == 255) { + return ApiStatus_DONE2; + } else { + return ApiStatus_BLOCK; + } +} + +API_CALLABLE(N(func_80244848_8050C8)) { + if (isInitialCall) { + script->functionTemp[1] = 255; + } + + script->functionTemp[1] -= 10; + if (script->functionTemp[1] <= 0) { + script->functionTemp[1] = 0; + return ApiStatus_DONE2; + } + + set_screen_overlay_params_front(0, script->functionTemp[1]); + return ApiStatus_BLOCK; +} + +API_CALLABLE(N(func_802448A0_805120)) { + s32 alpha; + + if (isInitialCall) { + if (script->varTable[0] == 0) { + func_8011B950(script->varTable[15], -1, 1, 1); + } + script->functionTemp[0] = 0; + } + + script->functionTemp[0] += 32; + if (script->functionTemp[0] > 255) { + script->functionTemp[0] = 255; + } + + if (script->varTable[0] == 0) { + alpha = script->functionTemp[0]; + } else { + alpha = 255 - script->functionTemp[0]; + } + + set_background_color_blend(0, 0, 0, alpha); + gCameras[CAM_DEFAULT].bgColor[0] = 0; + gCameras[CAM_DEFAULT].bgColor[1] = 0; + gCameras[CAM_DEFAULT].bgColor[2] = 0; + + if (script->functionTemp[0] >= 255) { + if (script->varTable[0] == 3) { + func_8011B950(script->varTable[15], -1, 0, 1); + } + return ApiStatus_DONE2; + } + return ApiStatus_BLOCK; +} + +EvtScript N(EVS_QuickChange_CheckForPound) = { + EVT_CALL(GetPlayerActionState, LVar0) + EVT_IF_EQ(LVar0, ACTION_STATE_SPIN_POUND) + EVT_GOTO(0) + EVT_END_IF + EVT_IF_EQ(LVar0, ACTION_STATE_TORNADO_POUND) + EVT_GOTO(0) + EVT_END_IF + EVT_RETURN + EVT_LABEL(0) + EVT_CALL(GetPlayerActionState, LVar0) + EVT_CALL(DisablePlayerInput, TRUE) + EVT_WAIT(1) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_IF_EQ(LVar0, ACTION_STATE_SPIN_POUND) + EVT_GOTO(0) + EVT_END_IF + EVT_IF_EQ(LVar0, ACTION_STATE_TORNADO_POUND) + EVT_GOTO(0) + EVT_END_IF + EVT_CALL(DisablePlayerInput, TRUE) + EVT_ADD(GB_MAC01_Merlon_SpinJumpCount, 1) + EVT_IF_LT(GB_MAC01_Merlon_SpinJumpCount, 3) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END_IF + EVT_CALL(N(CheckPositionRelativeToPlane), -380, -245, -225, -408) + EVT_IF_EQ(LVar0, ACTION_STATE_IDLE) + EVT_SET(LVar2, -232) + EVT_SET(LVar4, -331) + EVT_ELSE + EVT_SET(LVar2, -297) + EVT_SET(LVar4, -393) + EVT_END_IF + EVT_CALL(MakeItemEntity, ITEM_QUICK_CHANGE, LVar2, 220, LVar4, ITEM_SPAWN_MODE_FALL_NEVER_VANISH, GF_MAC01_Item_QuickChange) + EVT_WAIT(35) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Run) + EVT_CALL(GetNpcPos, NPC_Merlon, LVar0, LVar1, LVar2) + EVT_CALL(NpcJump0, NPC_Merlon, LVar0, LVar1, LVar2, 10) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Idle) + EVT_CALL(GetNpcPos, NPC_Merlon, LVar0, LVar1, LVar2) + EVT_CALL(UseSettingsFrom, CAM_DEFAULT, LVar0, LVar1, LVar2) + EVT_CALL(SetCamType, CAM_DEFAULT, 0, FALSE) + EVT_CALL(SetPanTarget, CAM_DEFAULT, LVar0, LVar1, LVar2) + EVT_CALL(SetCamDistance, CAM_DEFAULT, 250) + EVT_CALL(SetCamPitch, CAM_DEFAULT, 15, -8) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(5.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_CALL(WaitForCam, CAM_DEFAULT, EVT_FLOAT(1.0)) + EVT_CALL(PlayerFaceNpc, NPC_Merlon, FALSE) + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 5, MSG_MAC_Plaza_0041) + EVT_CALL(UseSettingsFrom, CAM_DEFAULT, LVar0, LVar1, LVar2) + EVT_CALL(SetPanTarget, CAM_DEFAULT, LVar0, LVar1, LVar2) + EVT_CALL(WaitForCam, CAM_DEFAULT, EVT_FLOAT(1.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 0) + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_0042) + EVT_SET(GF_MAC01_QuickChangeDropped, TRUE) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_UNBIND + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_SetupQuickChangeTrigger) = { + EVT_IF_EQ(GF_MAC01_QuickChangeDropped, FALSE) + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_QuickChange_CheckForPound)), TRIGGER_FLOOR_TOUCH, COLLIDER_dr_yuka, 1, 0) + EVT_ELSE + EVT_CALL(MakeItemEntity, ITEM_QUICK_CHANGE, -232, 20, -331, ITEM_SPAWN_MODE_FIXED_NEVER_VANISH, GF_MAC01_Item_QuickChange) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_MerlonShooAway) = { + EVT_CALL(DisablePlayerInput, TRUE) + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_IF_EQ(GF_MAC01_Merlon_Shoo2, TRUE) + EVT_CALL(ShowMessageAtScreenPos, MSG_MAC_Plaza_001E, 160, 40) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END_IF + EVT_IF_EQ(GF_MAC01_Merlon_Shoo1, FALSE) + EVT_CALL(ShowMessageAtScreenPos, MSG_MAC_Plaza_001C, 160, 40) + EVT_SET(GF_MAC01_Merlon_Shoo1, TRUE) + EVT_ELSE + EVT_CALL(ShowMessageAtScreenPos, MSG_MAC_Plaza_001D, 160, 40) + EVT_SET(GF_MAC01_Merlon_Shoo2, TRUE) + EVT_END_IF + EVT_CASE_GE(STORY_CH0_MET_STAR_SPIRITS) + EVT_IF_EQ(GF_MAC01_Merlon_Shoo3, FALSE) + EVT_CALL(ShowMessageAtScreenPos, MSG_MAC_Plaza_001F, 160, 40) + EVT_SET(GF_MAC01_Merlon_Shoo3, TRUE) + EVT_ELSE + EVT_EXEC_WAIT(N(EVS_MerlonBargeOut)) + EVT_END_IF + EVT_END_SWITCH + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_MerlonBargeOut) = { + EVT_CALL(ShowMessageAtScreenPos, MSG_MAC_Plaza_0020, 160, 40) + EVT_CALL(SetGroupEnabled, MODEL_dr_in, 1) + EVT_THREAD + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitd, SOUND_BASIC_DOOR_OPEN, 0) + EVT_CALL(MakeLerp, 0, -80, 15, EASING_COS_FAST_OVERSHOOT) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(RotateModel, MODEL_door, LVar0, 0, 1, 0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_END_THREAD + EVT_THREAD + EVT_CALL(ShakeCam, CAM_DEFAULT, 0, 5, EVT_FLOAT(2.0)) + EVT_END_THREAD + EVT_THREAD + EVT_WAIT(1) + EVT_CALL(DisablePlayerPhysics, TRUE) + EVT_CALL(SetPlayerFlagBits, PS_FLAGS_NO_FLIPPING, TRUE) + EVT_CALL(InterpPlayerYaw, 270, 0) + EVT_WAIT(1) + EVT_CALL(SetPlayerAnimation, ANIM_Mario_FallBack) + EVT_CALL(SetPlayerJumpscale, EVT_FLOAT(1.0)) + EVT_CALL(PlayerJump1, -222, 20, -158, 8) + EVT_WAIT(5) + EVT_CALL(SetPlayerFlagBits, PS_FLAGS_NO_FLIPPING, FALSE) + EVT_CALL(N(KnockDownPlayerB), 1, 37) + EVT_CALL(N(KnockDownPlayerD), -215, 20, -158) + EVT_WAIT(1) + EVT_CALL(SetPlayerPos, -215, 1000, -158) + EVT_CALL(MakeLerp, 0, 90, 10, EASING_QUADRATIC_IN) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(N(KnockDownPlayerE), LVar0, 0, 0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(N(KnockDownPlayerD), -215, 21, -158) + EVT_CALL(PlaySoundAtPlayer, SOUND_162, 0) + EVT_END_THREAD + EVT_WAIT(50) + EVT_CALL(SetNpcPos, NPC_Merlon, -241, 20, -270) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Walk) + EVT_CALL(NpcMoveTo, NPC_Merlon, -168, -198, 20) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Idle) + EVT_CALL(GetAngleToPlayer, NPC_Merlon, LVar0) + EVT_CALL(InterpNpcYaw, NPC_Merlon, LVar0, 5) + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_0021) + EVT_CALL(N(KnockDownPlayerD), -215, 20, -158) + EVT_CALL(MakeLerp, 90, 0, 15, EASING_QUADRATIC_OUT) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(N(KnockDownPlayerE), LVar0, 0, 0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(SetPlayerPos, -222, 20, -158) + EVT_CALL(N(KnockDownPlayerC)) + EVT_CALL(InterpPlayerYaw, 90, 0) + EVT_CALL(SetPlayerActionState, ACTION_STATE_JUMP) + EVT_CALL(SetPlayerJumpscale, EVT_FLOAT(1.0)) + EVT_CALL(GetPlayerPos, LVar0, LVar1, LVar2) + EVT_CALL(PlayerJump, LVar0, LVar1, LVar2, 15) + EVT_CALL(SetPlayerActionState, ACTION_STATE_LAND) + EVT_WAIT(10) + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_0022) + EVT_THREAD + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Walk) + EVT_CALL(NpcMoveTo, NPC_Merlon, -275, -305, 30) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Idle) + EVT_CALL(SetNpcPos, NPC_Merlon, -337, 20, -360) + EVT_CALL(SetNpcYaw, NPC_Merlon, 135) + EVT_END_THREAD + EVT_CALL(PlayerMoveTo, -168, -198, 20) + EVT_CALL(PlayerMoveTo, -275, -305, 30) + EVT_EXEC(N(D_8024E7F0_80F070)) + EVT_WAIT(5) + EVT_CALL(SetNpcPos, NPC_PARTNER, -240, 20, -284) + EVT_CALL(N(func_802447E0_805060)) + EVT_THREAD + EVT_SET(LVarF, 53) + EVT_SET(LVar0, 0) + EVT_CALL(N(func_802448A0_805120)) + EVT_END_THREAD + EVT_CALL(RotateGroup, MODEL_off_kabe, 180, 0, 1, 0) + EVT_SET(MF_MusicMixTrigger1, TRUE) + EVT_CALL(DisablePlayerPhysics, FALSE) + EVT_CALL(UseSettingsFrom, CAM_DEFAULT, -250, 20, -280) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(90.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_WAIT(30) + EVT_CALL(N(func_80244848_8050C8)) + EVT_CALL(InterpNpcYaw, NPC_Merlon, 135, 5) + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_0023) + EVT_CALL(N(func_802447E0_805060)) + EVT_WAIT(60) + EVT_CALL(SetPlayerAnimation, ANIM_Mario_8001D) + EVT_THREAD + EVT_CALL(N(func_80244848_8050C8)) + EVT_END_THREAD + EVT_WAIT(10) + EVT_CALL(ContinueSpeech, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_0024) + EVT_CALL(SetPlayerAnimation, ANIM_Mario_8001E) + EVT_WAIT(10) + EVT_CALL(SetPlayerAnimation, ANIM_Mario_8001C) + EVT_WAIT(50) + EVT_CALL(GetNpcPos, NPC_Merlon, LVar0, LVar1, LVar2) + EVT_CALL(SetCamType, CAM_DEFAULT, 0, FALSE) + EVT_CALL(SetPanTarget, CAM_DEFAULT, LVar0, LVar1, LVar2) + EVT_CALL(SetCamDistance, CAM_DEFAULT, 200) + EVT_CALL(SetCamPitch, CAM_DEFAULT, 15, -10) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(90.0)) + EVT_WAIT(10) + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_0025) + EVT_SET(GB_StoryProgress, STORY_CH1_SPOKE_WITH_MERLIN) + EVT_CALL(ResetCam, CAM_DEFAULT, EVT_FLOAT(5.0)) + EVT_THREAD + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_o336, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_o335, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(AwaitPlayerLeave, -280, -300, 40) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_o335, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_o336, COLLIDER_FLAGS_UPPER_MASK) + EVT_END_THREAD + EVT_RETURN + EVT_END +}; + +EvtScript N(D_80250D14_811594) = { + EVT_CALL(AwaitPlayerApproach, -130, -110, 150) + EVT_CALL(SetSelfEnemyFlagBits, ENEMY_FLAGS_8000000, 1) + EVT_CALL(SetNpcFlagBits, NPC_Merlon, NPC_FLAG_100 | NPC_FLAG_GRAVITY, TRUE) + EVT_CALL(NpcMoveTo, NPC_Merlon, 0, 0, 0) + EVT_CALL(NpcMoveTo, NPC_Merlon, 410, 0, 0) + EVT_CALL(SetNpcPos, NPC_Merlon, 410, 0, 0) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Idle) + EVT_CALL(SetSelfEnemyFlagBits, ENEMY_FLAGS_8000000, 0) + EVT_CALL(SetNpcFlagBits, NPC_Merlon, NPC_FLAG_100 | NPC_FLAG_GRAVITY, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_Scene_KoopaBrosUnmasked) = { + EVT_CALL(SetNpcVar, NPC_Merlon, 0, 0) + EVT_CALL(func_802CF56C, 2) + EVT_THREAD + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Walk) + EVT_CALL(SetNpcSpeed, NPC_Merlon, EVT_FLOAT(4.0)) + EVT_CALL(NpcMoveTo, NPC_Merlon, 410, 0, 0) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Idle) + EVT_CALL(InterpNpcYaw, NPC_Merlon, 90, 0) + EVT_END_THREAD + EVT_CALL(SpeakToPlayer, NPC_DarkToad_01, ANIM_DarkToad_Red_Talk, ANIM_DarkToad_Red_Idle, 0, MSG_MAC_Plaza_0029) + EVT_CALL(SpeakToPlayer, NPC_DarkToad_02, ANIM_DarkToad_Black_Talk, ANIM_DarkToad_Black_Idle, 0, MSG_MAC_Plaza_002A) + EVT_LOOP(0) + EVT_CALL(GetNpcPos, NPC_Merlon, LVar0, LVar1, LVar2) + EVT_IF_GE(LVar0, 410) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(SetCamProperties, CAM_DEFAULT, EVT_FLOAT(4.0), 410, 0, 0, 320, 15, -6) + EVT_THREAD + EVT_WAIT(5) + EVT_CALL(SetPlayerSpeed, EVT_FLOAT(3.0)) + EVT_CALL(PlayerMoveTo, 460, 0, 0) + EVT_CALL(PlayerFaceNpc, NPC_Merlon, FALSE) + EVT_END_THREAD + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Idle) + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_002B) + EVT_CALL(SetPanTarget, CAM_DEFAULT, 480, 0, 0) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(2.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_CALL(WaitForCam, CAM_DEFAULT, EVT_FLOAT(1.0)) + EVT_THREAD + EVT_WAIT(5) + EVT_CALL(PlayerFaceNpc, NPC_DarkToad_01, FALSE) + EVT_END_THREAD + EVT_CALL(SpeakToPlayer, NPC_DarkToad_03, ANIM_DarkToad_Yellow_Dismiss, ANIM_DarkToad_Yellow_Idle, 0, MSG_MAC_Plaza_002C) + EVT_CALL(SpeakToPlayer, NPC_DarkToad_04, ANIM_DarkToad_Green_Dismiss, ANIM_DarkToad_Green_Idle, 0, MSG_MAC_Plaza_002D) + EVT_CALL(SetPanTarget, CAM_DEFAULT, 410, 0, 0) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(90.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_CALL(WaitForCam, CAM_DEFAULT, EVT_FLOAT(1.0)) + EVT_THREAD + EVT_WAIT(5) + EVT_CALL(PlayerFaceNpc, NPC_Merlon, FALSE) + EVT_END_THREAD + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_002E) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 0) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(5.0)) + EVT_CALL(WaitForCam, CAM_DEFAULT, EVT_FLOAT(1.0)) + EVT_CALL(PlaySoundAtNpc, NPC_Merlon, SOUND_209, 0) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Gather1) + EVT_CALL(GetNpcPos, NPC_Merlon, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 10) + EVT_PLAY_EFFECT(EFFECT_RADIAL_SHIMMER, 12, LVar0, LVar1, LVar2, 1, 50) + EVT_WAIT(60) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_RaiseArms) + EVT_WAIT(5) + EVT_PLAY_EFFECT(EFFECT_ENERGY_ORB_WAVE, 6, LVar0, LVar1, LVar2, 1, 20) + EVT_ADD(LVar1, 180) + EVT_CALL(PlayerFaceNpc, NPC_DarkToad_01, FALSE) + EVT_CALL(SetCamProperties, CAM_DEFAULT, EVT_FLOAT(4.0), 480, 0, 0, 320, 15, -6) + EVT_CALL(PushSong, SONG_KOOPA_BROS_THEME, 0) + EVT_THREAD + EVT_SET(MF_KoopaBrosSceneLock, FALSE) + EVT_WAIT(5) + EVT_CALL(SpeakToPlayer, NPC_KoopaBros_01, ANIM_KoopaBros_Red_Anim0B, ANIM_KoopaBros_Red_Anim0B, 5, MSG_MAC_Plaza_002F) + EVT_SET(MF_KoopaBrosSceneLock, TRUE) + EVT_END_THREAD + EVT_THREAD + EVT_CALL(PlaySoundAtNpc, NPC_DarkToad_01, SOUND_20A, 0) + EVT_CALL(GetNpcPos, NPC_DarkToad_01, LVar3, LVar4, LVar5) + EVT_ADD(LVar5, 5) + EVT_PLAY_EFFECT(EFFECT_LIGHTNING_BOLT, 0, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, 2, 20) + EVT_PLAY_EFFECT(EFFECT_SHIMMER_BURST, 1, LVar3, LVar4, LVar5, 1, 30) + EVT_CALL(SetNpcAnimation, NPC_DarkToad_01, ANIM_DarkToad_Red_Hurt) + EVT_WAIT(5) + EVT_CALL(PlaySoundAtNpc, NPC_DarkToad_01, SOUND_2049, 0) + EVT_CALL(GetNpcPos, NPC_DarkToad_01, LVar3, LVar4, LVar5) + EVT_CALL(SetNpcPos, NPC_DarkToad_01, LVar3, NPC_DISPOSE_POS_Y, LVar2) + EVT_CALL(SetNpcPos, NPC_KoopaBros_01, LVar3, LVar4, LVar5) + EVT_CALL(SetNpcJumpscale, NPC_KoopaBros_01, EVT_FLOAT(1.0)) + EVT_CALL(SetNpcAnimation, NPC_KoopaBros_01, ANIM_KoopaBros_Red_Anim0B) + EVT_CALL(NpcJump0, NPC_KoopaBros_01, LVar3, LVar4, LVar5, 10) + EVT_END_THREAD + EVT_THREAD + EVT_WAIT(10) + EVT_CALL(PlaySoundAtNpc, NPC_DarkToad_01, SOUND_20A, 0) + EVT_CALL(GetNpcPos, NPC_DarkToad_02, LVar3, LVar4, LVar5) + EVT_ADD(LVar5, 5) + EVT_PLAY_EFFECT(EFFECT_LIGHTNING_BOLT, 0, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, 2, 20) + EVT_PLAY_EFFECT(EFFECT_SHIMMER_BURST, 1, LVar3, LVar4, LVar5, 1, 30) + EVT_CALL(SetNpcAnimation, NPC_DarkToad_02, ANIM_DarkToad_Black_Hurt) + EVT_WAIT(5) + EVT_CALL(PlaySoundAtNpc, NPC_DarkToad_02, SOUND_2049, 0) + EVT_CALL(GetNpcPos, NPC_DarkToad_02, LVar3, LVar4, LVar5) + EVT_CALL(SetNpcPos, NPC_DarkToad_02, LVar3, NPC_DISPOSE_POS_Y, LVar2) + EVT_CALL(SetNpcPos, NPC_KoopaBros_02, LVar3, LVar4, LVar5) + EVT_CALL(SetNpcJumpscale, NPC_KoopaBros_02, EVT_FLOAT(1.0)) + EVT_CALL(SetNpcAnimation, NPC_KoopaBros_02, ANIM_KoopaBros_Black_Anim0B) + EVT_CALL(NpcJump0, NPC_KoopaBros_02, LVar3, LVar4, LVar5, 10) + EVT_END_THREAD + EVT_THREAD + EVT_WAIT(20) + EVT_CALL(PlaySoundAtNpc, NPC_DarkToad_01, SOUND_20A, 0) + EVT_CALL(GetNpcPos, NPC_DarkToad_03, LVar3, LVar4, LVar5) + EVT_ADD(LVar5, 5) + EVT_PLAY_EFFECT(EFFECT_LIGHTNING_BOLT, 0, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, 2, 20) + EVT_PLAY_EFFECT(EFFECT_SHIMMER_BURST, 1, LVar3, LVar4, LVar5, 1, 30) + EVT_CALL(SetNpcAnimation, NPC_DarkToad_03, ANIM_DarkToad_Yellow_Hurt) + EVT_WAIT(5) + EVT_CALL(PlaySoundAtNpc, NPC_DarkToad_03, SOUND_2049, 0) + EVT_CALL(GetNpcPos, NPC_DarkToad_03, LVar3, LVar4, LVar5) + EVT_CALL(SetNpcPos, NPC_DarkToad_03, LVar3, NPC_DISPOSE_POS_Y, LVar2) + EVT_CALL(SetNpcPos, NPC_KoopaBros_03, LVar3, LVar4, LVar5) + EVT_CALL(SetNpcJumpscale, NPC_KoopaBros_03, EVT_FLOAT(1.0)) + EVT_CALL(SetNpcAnimation, NPC_KoopaBros_03, ANIM_KoopaBros_Yellow_Anim0B) + EVT_CALL(NpcJump0, NPC_KoopaBros_03, LVar3, LVar4, LVar5, 10) + EVT_END_THREAD + EVT_WAIT(30) + EVT_CALL(PlaySoundAtNpc, NPC_DarkToad_01, SOUND_20A, 0) + EVT_CALL(GetNpcPos, NPC_DarkToad_04, LVar3, LVar4, LVar5) + EVT_ADD(LVar5, 5) + EVT_PLAY_EFFECT(EFFECT_LIGHTNING_BOLT, 0, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, 2, 20) + EVT_PLAY_EFFECT(EFFECT_SHIMMER_BURST, 1, LVar3, LVar4, LVar5, 1, 30) + EVT_CALL(SetNpcAnimation, NPC_DarkToad_04, ANIM_DarkToad_Green_Hurt) + EVT_WAIT(5) + EVT_CALL(PlaySoundAtNpc, NPC_DarkToad_04, SOUND_2049, 0) + EVT_CALL(GetNpcPos, NPC_DarkToad_04, LVar3, LVar4, LVar5) + EVT_CALL(SetNpcPos, NPC_DarkToad_04, LVar3, NPC_DISPOSE_POS_Y, LVar2) + EVT_CALL(SetNpcPos, NPC_KoopaBros_04, LVar3, LVar4, LVar5) + EVT_CALL(SetNpcJumpscale, NPC_KoopaBros_04, EVT_FLOAT(1.0)) + EVT_CALL(SetNpcAnimation, NPC_KoopaBros_04, ANIM_KoopaBros_Green_Anim0B) + EVT_CALL(NpcJump0, NPC_KoopaBros_04, LVar3, LVar4, LVar5, 10) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Idle) + EVT_LOOP(0) + EVT_IF_EQ(MF_KoopaBrosSceneLock, TRUE) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(SetNpcAnimation, NPC_KoopaBros_01, ANIM_KoopaBros_Red_Anim04) + EVT_CALL(SetNpcAnimation, NPC_KoopaBros_02, ANIM_KoopaBros_Black_Anim04) + EVT_CALL(SetNpcAnimation, NPC_KoopaBros_03, ANIM_KoopaBros_Yellow_Anim04) + EVT_CALL(SetNpcAnimation, NPC_KoopaBros_04, ANIM_KoopaBros_Green_Anim04) + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_0030) + EVT_WAIT(10) + EVT_CALL(SpeakToPlayer, NPC_KoopaBros_01, ANIM_KoopaBros_Red_Anim14, ANIM_KoopaBros_Red_Anim04, 0, MSG_MAC_Plaza_0031) + EVT_CALL(InterpNpcYaw, NPC_KoopaBros_01, 90, 0) + EVT_WAIT(10) + EVT_CALL(SpeakToPlayer, NPC_KoopaBros_01, ANIM_KoopaBros_Red_Anim14, ANIM_KoopaBros_Red_Anim04, 5, MSG_MAC_Plaza_0032) + EVT_CALL(InterpNpcYaw, NPC_KoopaBros_01, 90, 0) + EVT_CALL(InterpNpcYaw, NPC_KoopaBros_02, 90, 0) + EVT_CALL(InterpNpcYaw, NPC_KoopaBros_03, 90, 0) + EVT_CALL(InterpNpcYaw, NPC_KoopaBros_04, 90, 0) + EVT_CALL(SetNpcAnimation, NPC_KoopaBros_01, ANIM_KoopaBros_Red_Anim03) + EVT_CALL(SetNpcAnimation, NPC_KoopaBros_02, ANIM_KoopaBros_Black_Anim03) + EVT_CALL(SetNpcAnimation, NPC_KoopaBros_03, ANIM_KoopaBros_Yellow_Anim03) + EVT_CALL(SetNpcAnimation, NPC_KoopaBros_04, ANIM_KoopaBros_Green_Anim03) + EVT_WAIT(15) + EVT_CALL(PlaySoundAtNpc, NPC_KoopaBros_03, SOUND_174, 0) + EVT_THREAD + EVT_CALL(SetNpcSpeed, NPC_KoopaBros_01, EVT_FLOAT(8.0)) + EVT_CALL(NpcMoveTo, NPC_KoopaBros_01, 700, 0, 0) + EVT_END_THREAD + EVT_THREAD + EVT_CALL(SetNpcSpeed, NPC_KoopaBros_02, EVT_FLOAT(8.0)) + EVT_CALL(NpcMoveTo, NPC_KoopaBros_02, 700, 0, 0) + EVT_END_THREAD + EVT_THREAD + EVT_CALL(SetNpcSpeed, NPC_KoopaBros_03, EVT_FLOAT(8.0)) + EVT_CALL(NpcMoveTo, NPC_KoopaBros_03, 700, 0, 0) + EVT_END_THREAD + EVT_WAIT(1) + EVT_CALL(SetNpcSpeed, NPC_KoopaBros_04, EVT_FLOAT(8.0)) + EVT_CALL(NpcMoveTo, NPC_KoopaBros_04, 700, 0, 0) + EVT_WAIT(10) + EVT_CALL(PopSong) + EVT_CALL(SetPanTarget, CAM_DEFAULT, 410, 0, 0) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(2.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_CALL(WaitForCam, CAM_DEFAULT, EVT_FLOAT(1.0)) + EVT_THREAD + EVT_WAIT(3) + EVT_CALL(PlayerFaceNpc, NPC_Merlon, FALSE) + EVT_END_THREAD + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_0033) + EVT_CALL(SetNpcSpeed, NPC_Merlon, EVT_FLOAT(3.0)) + EVT_CALL(GetNpcPos, NPC_Merlon, LVar0, LVar1, LVar2) + EVT_SET(LVar3, LVar0) + EVT_ADD(LVar3, -50) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Walk) + EVT_CALL(NpcMoveTo, NPC_Merlon, LVar3, LVar2, 0) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Idle) + EVT_WAIT(10) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Walk) + EVT_CALL(NpcMoveTo, NPC_Merlon, LVar0, LVar2, 0) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Idle) + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_0034) + EVT_THREAD + EVT_WAIT(10) + EVT_CALL(ResetCam, CAM_DEFAULT, 2) + EVT_END_THREAD + EVT_CALL(GetNpcPos, NPC_Merlon, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, -150) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Walk) + EVT_CALL(NpcMoveTo, NPC_Merlon, LVar0, LVar2, 0) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Idle) + EVT_CALL(InterpNpcYaw, NPC_Merlon, 133, 0) + EVT_CALL(SetNpcPos, NPC_Merlon, -337, 20, -360) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_o335, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_o336, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_tt, COLLIDER_FLAGS_UPPER_MASK) + EVT_SET(GB_StoryProgress, STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(AF_MAC_0E, FALSE) + EVT_SET(AF_MAC_0F, FALSE) + EVT_SET(AF_MAC_10, FALSE) + EVT_SET(AF_MAC_11, FALSE) + EVT_SET(AF_MAC_12, FALSE) + EVT_SET(AF_MAC_13, FALSE) + EVT_SET(AF_MAC_14, FALSE) + EVT_CALL(RemoveEncounter, NPC_KoopaBros_01) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Merlon) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH1_TOLD_MERLIN_ABOUT_DARK_TOADS) + EVT_IF_EQ(GF_MAC01_Merlon_HintFromDarkToads, FALSE) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 16, MSG_MAC_Plaza_0026) + EVT_ELSE + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_0027) + EVT_SET(GB_StoryProgress, STORY_CH1_TOLD_MERLIN_ABOUT_DARK_TOADS) + EVT_CHILD_THREAD + EVT_LOOP(0) + EVT_CALL(PlayerFaceNpc, NPC_Merlon, FALSE) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_CHILD_THREAD + EVT_CALL(SetNpcFlagBits, NPC_Merlon, NPC_FLAG_100, TRUE) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Walk) + EVT_CALL(SetNpcSpeed, NPC_Merlon, EVT_FLOAT(4.0)) + EVT_CALL(NpcMoveTo, NPC_Merlon, -350, -280, 0) + EVT_CALL(NpcMoveTo, NPC_Merlon, -230, -270, 0) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Idle) + EVT_CALL(SetNpcFlagBits, NPC_Merlon, NPC_FLAG_100, FALSE) + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitud, SOUND_BASIC_DOOR_OPEN, 0) + EVT_CALL(MakeLerp, 0, -80, 15, EASING_LINEAR) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(RotateModel, MODEL_door, LVar0, 0, 1, 0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Walk) + EVT_CALL(NpcMoveTo, NPC_Merlon, -163, -217, 0) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_o336, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_o335, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(MakeLerp, -80, 0, 15, EASING_LINEAR) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(RotateModel, MODEL_door, LVar0, 0, 1, 0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitud, SOUND_BASIC_DOOR_CLOSE, 0) + EVT_CALL(SetNpcPos, NPC_SELF, -150, 10, -160) + EVT_CALL(SetNpcYaw, NPC_Merlon, 90) + EVT_EXEC(N(D_80250D14_811594)) + EVT_END_IF + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 16, MSG_MAC_Plaza_0028) + EVT_CASE_LT(STORY_CH1_KOOPER_JOINED_PARTY) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 16, MSG_MAC_Plaza_0035) + EVT_CASE_EQ(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 16, MSG_MAC_Plaza_004C) + EVT_CASE_GE(STORY_CH3_GOT_SUPER_BOOTS) + EVT_IF_EQ(GF_MAC01_Merlon_HeardAboutDream, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_003E) + EVT_IF_GE(GB_StoryProgress, STORY_CH4_FRYING_PAN_STOLEN) + EVT_IF_LT(GB_StoryProgress, STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_003D) + EVT_END_IF + EVT_END_IF + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, LVar0) + EVT_CALL(SetPlayerAnimation, ANIM_Mario_10002) + EVT_CALL(GetPlayerPos, LVar0, LVar1, LVar2) + EVT_CALL(GetNpcPos, NPC_Merlon, LVar3, LVar4, LVar5) + EVT_CALL(UseSettingsFrom, CAM_DEFAULT, LVar0, LVar1, LVar2) + EVT_ADDF(LVar0, LVar3) + EVT_ADDF(LVar1, LVar4) + EVT_ADDF(LVar2, LVar5) + EVT_DIVF(LVar0, EVT_FLOAT(2.0)) + EVT_DIVF(LVar1, EVT_FLOAT(2.0)) + EVT_DIVF(LVar2, EVT_FLOAT(2.0)) + EVT_CALL(SetPanTarget, CAM_DEFAULT, LVar0, LVar1, LVar2) + EVT_CALL(SetCamDistance, CAM_DEFAULT, EVT_FLOAT(300.0)) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(5.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_CALL(WaitForCam, CAM_DEFAULT, EVT_FLOAT(1.0)) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_003F) + EVT_THREAD + EVT_LOOP(0) + EVT_CALL(PlayerFaceNpc, NPC_Merlon, FALSE) + EVT_IF_EQ(GF_MAC01_Merlon_HeardAboutDream, TRUE) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(SetNpcFlagBits, NPC_Merlon, NPC_FLAG_100, TRUE) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Walk) + EVT_CALL(SetNpcSpeed, NPC_Merlon, EVT_FLOAT(3.0)) + EVT_CALL(NpcMoveTo, NPC_Merlon, -170, -225, 0) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Idle) + EVT_CALL(SetGroupEnabled, MODEL_dr_in, 1) + EVT_EXEC_WAIT(N(D_8024E740_80EFC0)) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Walk) + EVT_CALL(SetNpcSpeed, NPC_Merlon, EVT_FLOAT(3.0)) + EVT_CALL(NpcMoveTo, NPC_Merlon, -265, -300, 0) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Idle) + EVT_EXEC_WAIT(N(D_8024E7F0_80F070)) + EVT_CALL(SetGroupEnabled, MODEL_dr_in, 0) + EVT_SET(GF_MAC01_Merlon_HeardAboutDream, TRUE) + EVT_CALL(InterpNpcYaw, NPC_Merlon, 133, 0) + EVT_CALL(SetNpcPos, NPC_Merlon, -337, 20, -360) + EVT_CALL(SetNpcFlagBits, NPC_Merlon, NPC_FLAG_100, FALSE) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_o335, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_o336, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(GetPlayerPos, LVar0, LVar1, LVar2) + EVT_CALL(UseSettingsFrom, CAM_DEFAULT, LVar0, LVar1, LVar2) + EVT_CALL(SetPanTarget, CAM_DEFAULT, LVar0, LVar1, LVar2) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(5.0)) + EVT_CALL(WaitForCam, CAM_DEFAULT, EVT_FLOAT(1.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 0) + EVT_RETURN + EVT_ELSE + EVT_IF_EQ(GF_MAC01_QuickChangeDropped, FALSE) + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 16, MSG_MAC_Plaza_0040) + EVT_ELSE + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 16, MSG_MAC_Plaza_003B) + EVT_END_IF + EVT_END_IF + EVT_CASE_DEFAULT + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 16, MSG_MAC_Plaza_003B) + EVT_END_SWITCH + EVT_EXEC_WAIT(N(EVS_LetterPrompt_Merlon)) + EVT_EXEC_WAIT(N(EVS_LetterReward_Merlon)) + EVT_IF_NE(LVarC, 0) + EVT_RETURN + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Merlon) = { + EVT_CALL(InterpNpcYaw, NPC_SELF, 133, 1) + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_EQ(STORY_CH1_TOLD_MERLIN_ABOUT_DARK_TOADS) + EVT_CALL(SetNpcPos, NPC_SELF, 410, 0, 0) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_o335, COLLIDER_FLAGS_UPPER_MASK) + EVT_CASE_RANGE(STORY_CH6_RETURNED_TO_TOAD_TOWN, STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_o336, COLLIDER_FLAGS_UPPER_MASK) + EVT_CASE_GE(STORY_CH3_GOT_SUPER_BOOTS) + EVT_IF_EQ(GF_MAC01_Merlon_HeardAboutDream, FALSE) + EVT_CALL(SetNpcPos, NPC_Merlon, -135, 20, -250) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Think) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_o335, COLLIDER_FLAGS_UPPER_MASK) + EVT_ELSE + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_o336, COLLIDER_FLAGS_UPPER_MASK) + EVT_END_IF + EVT_CASE_DEFAULT + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_o336, COLLIDER_FLAGS_UPPER_MASK) + EVT_END_SWITCH + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Merlon))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_DarkToad_01) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_CALL(SpeakToPlayer, NPC_DarkToad_01, ANIM_DarkToad_Red_Talk, ANIM_DarkToad_Red_Idle, 0, MSG_MAC_Plaza_004D) + EVT_CALL(SpeakToPlayer, NPC_DarkToad_02, ANIM_DarkToad_Black_Talk, ANIM_DarkToad_Black_Idle, 0, MSG_MAC_Plaza_004E) + EVT_CALL(SpeakToPlayer, NPC_DarkToad_03, ANIM_DarkToad_Yellow_Talk, ANIM_DarkToad_Yellow_Idle, 0, MSG_MAC_Plaza_004F) + EVT_CALL(SpeakToPlayer, NPC_DarkToad_04, ANIM_DarkToad_Green_Talk, ANIM_DarkToad_Green_Idle, 0, MSG_MAC_Plaza_0050) + EVT_CASE_LT(STORY_CH1_TOLD_MERLIN_ABOUT_DARK_TOADS) + EVT_CALL(AdjustCam, CAM_DEFAULT, EVT_FLOAT(4.0), 0, 300, EVT_FLOAT(15.0), EVT_FLOAT(-7.5)) + EVT_CALL(SpeakToPlayer, NPC_DarkToad_01, ANIM_DarkToad_Red_Talk, ANIM_DarkToad_Red_Idle, 0, MSG_MAC_Plaza_0051) + EVT_CALL(SpeakToPlayer, NPC_DarkToad_02, ANIM_DarkToad_Black_Talk, ANIM_DarkToad_Black_Idle, 0, MSG_MAC_Plaza_0052) + EVT_CALL(SpeakToPlayer, NPC_DarkToad_03, ANIM_DarkToad_Yellow_Talk, ANIM_DarkToad_Yellow_Idle, 0, MSG_MAC_Plaza_0053) + EVT_CALL(SpeakToPlayer, NPC_DarkToad_04, ANIM_DarkToad_Green_Talk, ANIM_DarkToad_Green_Idle, 0, MSG_MAC_Plaza_0054) + EVT_SET(GF_MAC01_Merlon_HintFromDarkToads, TRUE) + EVT_CALL(ResetCam, CAM_DEFAULT, 5) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcIdle_DarkToad_01) = { + EVT_LOOP(0) + EVT_IF_GE(GB_StoryProgress, STORY_CH1_TOLD_MERLIN_ABOUT_DARK_TOADS) + EVT_SET(LVar0, 0) + EVT_CALL(GetPlayerPos, LVar1, LVar2, LVar3) + EVT_SWITCH(LVar1) + EVT_CASE_GE(460) + EVT_ADD(LVar0, 1) + EVT_END_SWITCH + EVT_SWITCH(LVar3) + EVT_CASE_RANGE(-50, 70) + EVT_ADD(LVar0, 1) + EVT_END_SWITCH + EVT_IF_EQ(LVar0, 2) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_LOOP(0) + EVT_CALL(PartnerCanUseAbility, LVar0) + EVT_IF_EQ(LVar0, FALSE) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(DisablePlayerInput, TRUE) + EVT_EXEC_WAIT(N(EVS_Scene_KoopaBrosUnmasked)) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_DarkToad_01) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_DarkToad_01))) + EVT_CALL(BindNpcIdle, NPC_SELF, EVT_PTR(N(EVS_NpcIdle_DarkToad_01))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_DarkToad_02) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_DarkToad_01))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_Scene_MerlonAndNinji) = { + EVT_IF_NE(GB_StoryProgress, STORY_CH6_RETURNED_TO_TOAD_TOWN) + EVT_RETURN + EVT_END_IF + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(SetNpcPos, NPC_Ninji, -278, 20, -376) + EVT_CALL(SetNpcYaw, NPC_Ninji, 0) + EVT_WAIT(40) + EVT_CALL(SetPlayerSpeed, EVT_FLOAT(3.0)) + EVT_CALL(PlayerMoveTo, -276, -305, 0) + EVT_WAIT(10) + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_0047) + EVT_CALL(NpcFacePlayer, NPC_Ninji, 5) + EVT_WAIT(15) + EVT_CALL(GetNpcPos, NPC_Ninji, LVar0, LVar1, LVar2) + EVT_CALL(SetCamProperties, CAM_DEFAULT, 4, LVar0, LVar1, LVar2, 250, 15, -9) + EVT_CALL(SpeakToPlayer, NPC_Ninji, ANIM_Ninji_Talk, ANIM_Ninji_Idle, 0, MSG_MAC_Plaza_0048) + EVT_CALL(GetNpcPos, NPC_Merlon, LVar0, LVar1, LVar2) + EVT_CALL(SetPanTarget, CAM_DEFAULT, LVar0, LVar1, LVar2) + EVT_WAIT(10) + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_0049) + EVT_CALL(ResetCam, CAM_DEFAULT, 5) + EVT_CALL(SpeakToPlayer, NPC_Ninji, ANIM_Ninji_Talk, ANIM_Ninji_Idle, 0, MSG_MAC_Plaza_004A) + EVT_THREAD + EVT_CALL(SetNpcAnimation, NPC_Ninji, ANIM_Ninji_Walk) + EVT_CALL(NpcMoveTo, NPC_Ninji, -230, -260, 0) + EVT_CALL(NpcMoveTo, NPC_Ninji, -185, -194, 0) + EVT_CALL(SetNpcPos, NPC_Ninji, NPC_DISPOSE_LOCATION) + EVT_END_THREAD + EVT_THREAD + EVT_WAIT(25) + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitud, SOUND_BASIC_DOOR_OPEN, 0) + EVT_SET(LVar0, 0) + EVT_LOOP(10) + EVT_ADD(LVar0, 8) + EVT_CALL(RotateModel, MODEL_door, LVar0, 0, -1, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_WAIT(5) + EVT_LOOP(10) + EVT_ADD(LVar0, -8) + EVT_CALL(RotateModel, MODEL_door, LVar0, 0, -1, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitud, SOUND_BASIC_DOOR_CLOSE, 0) + EVT_END_THREAD + EVT_WAIT(20) + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_004B) + EVT_SET(GB_StoryProgress, STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +NpcSettings N(NpcSettings_Merlon) = { + .defaultAnim = ANIM_Merlon_Idle, + .height = 36, + .radius = 32, + .level = 99, +}; + +StaticNpc N(NpcData_Merlon) = { + .id = NPC_Merlon, + .settings = &N(NpcSettings_Merlon), + .pos = { -337.0f, 20.0f, -360.0f }, + .yaw = 30, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_400000, + .init = &N(EVS_NpcInit_Merlon), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_Merlon_Idle, + }, + .tattle = MSG_NpcTattle_Merlon, +}; + +StaticNpc N(NpcData_DarkToads)[] = { + { + .id = NPC_DarkToad_01, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { 505.0f, 0.0f, 5.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_400000, + .init = &N(EVS_NpcInit_DarkToad_01), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_DarkToad_Red_Idle, + }, + .tattle = MSG_NpcTattle_DarkToadA, + }, + { + .id = NPC_DarkToad_02, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { 530.0f, 0.0f, -35.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_400000, + .init = &N(EVS_NpcInit_DarkToad_02), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_DarkToad_Black_Idle, + }, + .tattle = MSG_NpcTattle_DarkToadB, + }, + { + .id = NPC_DarkToad_03, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { 540.0f, 0.0f, 0.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_400000, + .init = &N(EVS_NpcInit_DarkToad_02), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_DarkToad_Yellow_Idle, + }, + .tattle = MSG_NpcTattle_DarkToadC, + }, + { + .id = NPC_DarkToad_04, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { 550.0f, 0.0f, 35.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_400000, + .init = &N(EVS_NpcInit_DarkToad_02), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_DarkToad_Green_Idle, + }, + .tattle = MSG_NpcTattle_DarkToadD, + }, +}; + +s32 N(ExtraAnims_KoopaBros)[] = { + ANIM_KoopaBros_Black_Anim03, + ANIM_KoopaBros_Black_Anim04, + ANIM_KoopaBros_Black_Anim0B, + ANIM_KoopaBros_Black_Anim14, + -1 +}; + +StaticNpc N(NpcData_KoopaBros)[] = { + { + .id = NPC_KoopaBros_01, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_200 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_400000, + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_KoopaBros_Black_Anim04, + .walk = ANIM_KoopaBros_Black_Anim02, + .run = ANIM_KoopaBros_Black_Anim03, + .chase = ANIM_KoopaBros_Black_Anim03, + .anim_4 = ANIM_KoopaBros_Black_Anim04, + .anim_5 = ANIM_KoopaBros_Black_Anim04, + .death = ANIM_KoopaBros_Black_Anim0A, + .hit = ANIM_KoopaBros_Black_Anim0A, + .anim_8 = ANIM_KoopaBros_Black_Anim03, + .anim_9 = ANIM_KoopaBros_Black_Anim03, + .anim_A = ANIM_KoopaBros_Black_Anim03, + .anim_B = ANIM_KoopaBros_Black_Anim03, + .anim_C = ANIM_KoopaBros_Black_Anim03, + .anim_D = ANIM_KoopaBros_Black_Anim03, + .anim_E = ANIM_KoopaBros_Black_Anim03, + .anim_F = ANIM_KoopaBros_Black_Anim03, + }, + .extraAnimations = N(ExtraAnims_KoopaBros), + }, + { + .id = NPC_KoopaBros_02, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_200 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_400000, + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_KoopaBros_Red_Anim04, + .walk = ANIM_KoopaBros_Red_Anim02, + .run = ANIM_KoopaBros_Red_Anim03, + .chase = ANIM_KoopaBros_Red_Anim03, + .anim_4 = ANIM_KoopaBros_Red_Anim04, + .anim_5 = ANIM_KoopaBros_Red_Anim04, + .death = ANIM_KoopaBros_Red_Anim0A, + .hit = ANIM_KoopaBros_Red_Anim0A, + .anim_8 = ANIM_KoopaBros_Red_Anim03, + .anim_9 = ANIM_KoopaBros_Red_Anim03, + .anim_A = ANIM_KoopaBros_Red_Anim03, + .anim_B = ANIM_KoopaBros_Red_Anim03, + .anim_C = ANIM_KoopaBros_Red_Anim03, + .anim_D = ANIM_KoopaBros_Red_Anim03, + .anim_E = ANIM_KoopaBros_Red_Anim03, + .anim_F = ANIM_KoopaBros_Red_Anim03, + }, + .extraAnimations = N(ExtraAnims_KoopaBros), + }, + { + .id = NPC_KoopaBros_03, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_200 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_400000, + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_KoopaBros_Yellow_Anim04, + .walk = ANIM_KoopaBros_Yellow_Anim02, + .run = ANIM_KoopaBros_Yellow_Anim03, + .chase = ANIM_KoopaBros_Yellow_Anim03, + .anim_4 = ANIM_KoopaBros_Yellow_Anim04, + .anim_5 = ANIM_KoopaBros_Yellow_Anim04, + .death = ANIM_KoopaBros_Yellow_Anim0A, + .hit = ANIM_KoopaBros_Yellow_Anim0A, + .anim_8 = ANIM_KoopaBros_Yellow_Anim03, + .anim_9 = ANIM_KoopaBros_Yellow_Anim03, + .anim_A = ANIM_KoopaBros_Yellow_Anim03, + .anim_B = ANIM_KoopaBros_Yellow_Anim03, + .anim_C = ANIM_KoopaBros_Yellow_Anim03, + .anim_D = ANIM_KoopaBros_Yellow_Anim03, + .anim_E = ANIM_KoopaBros_Yellow_Anim03, + .anim_F = ANIM_KoopaBros_Yellow_Anim03, + }, + .extraAnimations = N(ExtraAnims_KoopaBros), + }, + { + .id = NPC_KoopaBros_04, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_200 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_400000, + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_KoopaBros_Green_Anim04, + .walk = ANIM_KoopaBros_Green_Anim02, + .run = ANIM_KoopaBros_Green_Anim03, + .chase = ANIM_KoopaBros_Green_Anim03, + .anim_4 = ANIM_KoopaBros_Green_Anim04, + .anim_5 = ANIM_KoopaBros_Green_Anim04, + .death = ANIM_KoopaBros_Green_Anim0A, + .hit = ANIM_KoopaBros_Green_Anim0A, + .anim_8 = ANIM_KoopaBros_Green_Anim03, + .anim_9 = ANIM_KoopaBros_Green_Anim03, + .anim_A = ANIM_KoopaBros_Green_Anim03, + .anim_B = ANIM_KoopaBros_Green_Anim03, + .anim_C = ANIM_KoopaBros_Green_Anim03, + .anim_D = ANIM_KoopaBros_Green_Anim03, + .anim_E = ANIM_KoopaBros_Green_Anim03, + .anim_F = ANIM_KoopaBros_Green_Anim03, + }, + .extraAnimations = N(ExtraAnims_KoopaBros), + }, +}; + +StaticNpc N(NpcData_Ninji) = { + .id = NPC_Ninji, + .settings = &N(NpcSettings_Ninji), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 0, + .flags = ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_200 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_100000 | ENEMY_FLAGS_200000 | ENEMY_FLAGS_IGNORE_TOUCH | ENEMY_FLAGS_10000000, + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_Ninji_Idle, + .walk = ANIM_Ninji_Walk, + .run = ANIM_Ninji_Idle, + .chase = ANIM_Ninji_Idle, + .anim_4 = ANIM_Ninji_Idle, + .anim_5 = ANIM_Ninji_Idle, + .death = ANIM_Ninji_Idle, + .hit = ANIM_Ninji_Idle, + .anim_8 = ANIM_Ninji_Idle, + .anim_9 = ANIM_Ninji_Idle, + .anim_A = ANIM_Ninji_Idle, + .anim_B = ANIM_Ninji_Idle, + .anim_C = ANIM_Ninji_Idle, + .anim_D = ANIM_Ninji_Idle, + .anim_E = ANIM_Ninji_Idle, + .anim_F = ANIM_Ninji_Idle, + }, + .tattle = MSG_NpcTattle_MAC_PowerHungryToadKid, +}; + +#include "npc/rowf_and_rhuff.inc.c" +#include "npc/post_office.inc.c" +#include "npc/flower_gate.inc.c" + +EvtScript N(EVS_NpcIdle_Toad_04) = { + EVT_CALL(WaitForPlayerInputEnabled) + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(GetNpcPos, NPC_SELF, LVar0, LVar1, LVar2) + EVT_CALL(NpcJump0, NPC_SELF, LVar0, LVar1, LVar2, 10) + EVT_CALL(SpeakToPlayer, NPC_Toad_04, ANIM_Toad_Red_Talk, ANIM_Toad_Red_Idle, 0, MSG_MAC_Plaza_007D) + EVT_SET(GB_StoryProgress, STORY_CH0_RETURNED_TO_TOAD_TOWN) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Toad_04) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Plaza_007C) + EVT_CASE_LT(STORY_CH1_SPOKE_WITH_MERLIN) + EVT_SET(LVar0, MSG_MAC_Plaza_007D) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_007E) + EVT_CASE_LT(STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_007F) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_0080) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Plaza_0081) + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC01_MailbagStolen, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_0082) + EVT_ELSE + EVT_IF_EQ(GF_MAC01_MailbagReturned, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_0083) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_0084) + EVT_END_IF + EVT_END_IF + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MAC_Plaza_0085) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_0086) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MAC_Plaza_0087) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Plaza_0088) + EVT_CASE_LT(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_SET(LVar0, MSG_MAC_Plaza_0089) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_008A) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Plaza_008B) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_0046) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_Toad_04, ANIM_Toad_Red_Talk, ANIM_Toad_Red_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Toad_04) = { + EVT_IF_EQ(GB_StoryProgress, STORY_CH0_TWINK_GAVE_LUCKY_STAR) + EVT_CALL(SetNpcPos, NPC_SELF, -25, 0, -500) + EVT_CALL(BindNpcIdle, NPC_SELF, EVT_PTR(N(EVS_NpcIdle_Toad_04))) + EVT_END_IF + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Toad_04))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Toad_05) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Plaza_008C) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(LVar0, MSG_MAC_Plaza_008D) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_008E) + EVT_CASE_LT(STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_008F) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_0090) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Plaza_0091) + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC01_MailbagStolen, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_0092) + EVT_ELSE + EVT_IF_EQ(GF_MAC01_MailbagReturned, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_0093) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_0094) + EVT_END_IF + EVT_END_IF + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MAC_Plaza_0095) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_0096) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MAC_Plaza_0097) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Plaza_0098) + EVT_CASE_LT(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_SET(LVar0, MSG_MAC_Plaza_0099) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_009A) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Plaza_009B) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_0047) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_Toad_05, ANIM_Toad_Red_Talk, ANIM_Toad_Red_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcIdle_Toad_05) = { + EVT_RETURN + EVT_END +}; + +EvtScript N(D_8025AA78_81B2F8) = { + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(NpcFacePlayer, NPC_Toad_05, 0) + EVT_WAIT(5) + EVT_CALL(SpeakToPlayer, NPC_Toad_05, ANIM_Toad_Red_Talk, ANIM_Toad_Red_Idle, 0, MSG_Outro_0048) + EVT_WAIT(10) + EVT_CALL(SetPlayerSpeed, EVT_FLOAT(4.0)) + EVT_CALL(PlayerMoveTo, 0, 580, 0) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Toad_05) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Toad_05))) + EVT_IF_GE(GB_StoryProgress, STORY_EPILOGUE) + EVT_CALL(SetNpcPos, NPC_SELF, -50, 0, 580) + EVT_CALL(SetNpcYaw, NPC_SELF, 90) + EVT_CALL(BindNpcIdle, NPC_SELF, EVT_PTR(N(EVS_NpcIdle_Toad_05))) + EVT_BIND_TRIGGER(EVT_PTR(N(D_8025AA78_81B2F8)), TRIGGER_FLOOR_TOUCH, COLLIDER_deilis, 1, 0) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Toad_06) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Plaza_009C) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(LVar0, MSG_MAC_Plaza_009D) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_009E) + EVT_CASE_LT(STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_009F) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_00A0) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Plaza_00A1) + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC01_MailbagStolen, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_00A2) + EVT_ELSE + EVT_IF_EQ(GF_MAC01_MailbagReturned, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_00A3) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_00A4) + EVT_END_IF + EVT_END_IF + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MAC_Plaza_00A5) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_00A6) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MAC_Plaza_00A7) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Plaza_00A8) + EVT_CASE_LT(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_SET(LVar0, MSG_MAC_Plaza_00A9) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_00AA) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Plaza_00AB) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_0049) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_Toad_06, ANIM_Toad_Yellow_Talk, ANIM_Toad_Yellow_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcIdle_Toad_06) = { + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Toad_06) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Toad_06))) + EVT_IF_GE(GB_StoryProgress, STORY_EPILOGUE) + EVT_CALL(SetNpcPos, NPC_SELF, -110, 20, -380) + EVT_CALL(SetNpcYaw, NPC_SELF, 90) + EVT_CALL(BindNpcIdle, NPC_SELF, EVT_PTR(N(EVS_NpcIdle_Toad_06))) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Toad_07) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Plaza_00AC) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(LVar0, MSG_MAC_Plaza_00AD) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_00AE) + EVT_CASE_LT(STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_00AF) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_00B0) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Plaza_00B1) + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC01_MailbagStolen, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_00B2) + EVT_ELSE + EVT_IF_EQ(GF_MAC01_MailbagReturned, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_00B3) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_00B4) + EVT_END_IF + EVT_END_IF + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MAC_Plaza_00B5) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_00B6) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MAC_Plaza_00B7) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Plaza_00B8) + EVT_CASE_LT(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_SET(LVar0, MSG_MAC_Plaza_00B9) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_00BA) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Plaza_00BB) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_004A) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_Toad_07, ANIM_Toad_Yellow_Talk, ANIM_Toad_Yellow_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcIdle_Toad_07) = { + EVT_RETURN + EVT_END +}; + +EvtScript N(D_8025B110_81B990) = { + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(NpcFacePlayer, NPC_Toad_07, 0) + EVT_WAIT(5) + EVT_CALL(SpeakToPlayer, NPC_Toad_07, ANIM_Toad_Yellow_Talk, ANIM_Toad_Yellow_Idle, 0, MSG_Outro_004B) + EVT_WAIT(10) + EVT_CALL(SetPlayerSpeed, EVT_FLOAT(4.0)) + EVT_CALL(PlayerMoveTo, 600, 0, 0) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Toad_07) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Toad_07))) + EVT_IF_GE(GB_StoryProgress, STORY_EPILOGUE) + EVT_CALL(SetNpcPos, NPC_SELF, 530, 0, -50) + EVT_CALL(SetNpcYaw, NPC_SELF, 270) + EVT_CALL(BindNpcIdle, NPC_SELF, EVT_PTR(N(EVS_NpcIdle_Toad_07))) + EVT_BIND_TRIGGER(EVT_PTR(N(D_8025B110_81B990)), TRIGGER_FLOOR_TOUCH, COLLIDER_deilie, 1, 0) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Toad_08) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Plaza_00BC) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(LVar0, MSG_MAC_Plaza_00BD) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_00BE) + EVT_CASE_LT(STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_00BF) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_00C0) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Plaza_00C1) + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC01_ShyGuysTramplingGarden, FALSE) + EVT_ELSE + EVT_SET(LVar0, GF_MAC01_ChasedShyGuysFromGardenA) + EVT_ADD(LVar0, GF_MAC01_ChasedShyGuysFromGardenB) + EVT_IF_LT(LVar0, 2) + EVT_SET(LVar0, MSG_MAC_Plaza_00C2) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_00C3) + EVT_END_IF + EVT_END_IF + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MAC_Plaza_00C4) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_00C5) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MAC_Plaza_00C6) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Plaza_00C7) + EVT_CASE_LT(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_SET(LVar0, MSG_MAC_Plaza_00C8) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_00C9) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Plaza_00CA) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_004C) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_Toad_08, ANIM_Toad_Blue_Talk, ANIM_Toad_Blue_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Toad_08) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Toad_08))) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Toad_09) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Plaza_00CB) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(LVar0, MSG_MAC_Plaza_00CC) + EVT_CASE_LT(STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_00CD) + EVT_CASE_LT(STORY_CH2_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_00CE) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_00CF) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Plaza_00D0) + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC00_DictionaryStolen, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_00D1) + EVT_ELSE + EVT_IF_EQ(GF_MAC00_DictionaryReturned, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_00D2) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_00D3) + EVT_END_IF + EVT_END_IF + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MAC_Plaza_00D4) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_00D5) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MAC_Plaza_00D6) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MAC_Plaza_00D7) + EVT_CASE_LT(STORY_CH7_INVITED_TO_STARBORN_VALLEY) + EVT_SET(LVar0, MSG_MAC_Plaza_00D8) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_00D9) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Plaza_00DA) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_004D) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_Toad_09, ANIM_Toad_Green_Talk, ANIM_Toad_Green_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Toad_09) = { + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Toad_09))) + EVT_RETURN + EVT_END +}; + +EvtScript N(D_8025B760_81BFE0) = { + EVT_CALL(GetNpcPos, NPC_PostOfficeShyGuy, LVar2, LVar3, LVar4) + EVT_ADD(LVar3, 20) + EVT_CALL(MakeItemEntity, ITEM_CALCULATOR, LVar2, LVar3, LVar4, ITEM_SPAWN_MODE_DECORATION, 0) + EVT_SET(LVar9, LVar0) + EVT_WAIT(1) + EVT_LOOP(80) + EVT_CALL(GetNpcPos, NPC_PostOfficeShyGuy, LVar2, LVar3, LVar4) + EVT_ADD(LVar3, 20) + EVT_CALL(SetItemPos, LVar9, LVar2, LVar3, LVar4) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(RemoveItemEntity, LVar9) + EVT_RETURN + EVT_END +}; + +EvtScript N(D_8025B854_81C0D4) = { + EVT_LOOP(0) + EVT_CALL(GetPlayerPos, LVar0, LVar1, LVar2) + EVT_IF_GT(LVar2, 200) + EVT_IF_LT(LVar0, 50) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(SetNpcPos, NPC_PostOfficeShyGuy, -313, 0, 330) + EVT_CALL(SetNpcAnimation, NPC_PostOfficeShyGuy, ANIM_ShyGuy_Red_Anim04) + EVT_WAIT(21) + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(SpeakToPlayer, NPC_Rowf, ANIM_Rowf_Talk, ANIM_Rowf_Idle, 0, MSG_MAC_Plaza_0007) + EVT_EXEC(N(D_8025B760_81BFE0)) + EVT_SET(LVar0, 6) + EVT_CALL(PlaySoundAtNpc, LVar0, SOUND_203F, 0) + EVT_EXEC_GET_TID(N(D_8024E6F8_80EF78), LVarA) + EVT_CALL(NpcMoveTo, NPC_PostOfficeShyGuy, -45, 330, 30) + EVT_CALL(NpcMoveTo, NPC_PostOfficeShyGuy, -45, 710, 30) + EVT_KILL_THREAD(LVarA) + EVT_CALL(SetNpcPos, NPC_PostOfficeShyGuy, NPC_DISPOSE_LOCATION) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_ShyGuy_01) = { + EVT_IF_LT(GB_StoryProgress, STORY_CH3_STAR_SPRIT_DEPARTED) + EVT_RETURN + EVT_END_IF + EVT_IF_GT(GB_StoryProgress, STORY_CH4_STAR_SPIRIT_RESCUED) + EVT_RETURN + EVT_END_IF + EVT_IF_NE(GF_MAC01_CalculatorStolen, FALSE) + EVT_RETURN + EVT_END_IF + EVT_SET(GF_MAC01_CalculatorStolen, TRUE) + EVT_EXEC(N(D_8025B854_81C0D4)) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_ToadHouseKeeper_A) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Red_Talk, ANIM_Toad_Red_Idle, 0, MSG_MAC_Plaza_001A) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_ToadHouseKeeper_B) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Red_Talk, ANIM_Toad_Red_Idle, 0, MSG_Outro_0044) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ToadHouse_SetDialogue) = { + EVT_IF_EQ(AF_MAC_43, FALSE) + EVT_SET(LVar0, MSG_MAC_Plaza_0015) + EVT_SET(LVar8, MSG_MAC_Plaza_0016) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_001B) + EVT_SET(LVar8, MSG_MAC_Plaza_001B) + EVT_END_IF + EVT_SET(LVar1, MSG_MAC_Plaza_0017) + EVT_SET(LVar2, MSG_MAC_Plaza_0018) + EVT_SET(LVar3, MSG_MAC_Plaza_0019) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ToadHouse_GetInBed) = { + EVT_EXEC(N(EVS_PlayRestingSong)) + EVT_CALL(PlayerMoveTo, 535, -155, 20) + EVT_THREAD + EVT_WAIT(5) + EVT_CALL(N(ToadHouse_CamSetFOV), 0, 40) + EVT_CALL(SetCamType, CAM_DEFAULT, 4, FALSE) + EVT_CALL(SetCamDistance, CAM_DEFAULT, 116) + EVT_CALL(SetCamPitch, CAM_DEFAULT, 99, -58) + EVT_CALL(SetCamPosA, CAM_DEFAULT, 495, 130) + EVT_CALL(SetCamPosB, CAM_DEFAULT, 507, -19) + EVT_CALL(SetCamPosC, CAM_DEFAULT, 0, 20) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, EVT_FLOAT(90.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_END_THREAD + EVT_CALL(PlayerMoveTo, 580, -210, 20) + EVT_CALL(InterpPlayerYaw, 263, 1) + EVT_CALL(HidePlayerShadow, TRUE) + EVT_CALL(SetPlayerAnimation, ANIM_Mario_StandStill) + EVT_CALL(func_802D286C, 0x800) + EVT_CALL(func_802D2520, ANIM_Mario_10002, 5, 7, 1, 1, 0) + EVT_THREAD + EVT_WAIT(60) + EVT_CALL(SetPlayerAnimation, ANIM_Mario_8001D) + EVT_END_THREAD + EVT_WAIT(20) + EVT_THREAD + EVT_WAIT(63) + EVT_CALL(N(ToadHouse_CamSetFOV), 0, 25) + EVT_CALL(GetPlayerPos, LVar0, LVar1, LVar2) + EVT_CALL(UseSettingsFrom, CAM_DEFAULT, LVar0, LVar1, LVar2) + EVT_WAIT(1) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 0) + EVT_END_THREAD + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ToadHouse_ReturnFromRest) = { + EVT_EXEC(N(EVS_SetupMusic)) + EVT_CALL(HidePlayerShadow, FALSE) + EVT_CALL(func_802D2520, ANIM_Mario_10002, 0, 0, 0, 0, 0) + EVT_CALL(SetPlayerSpeed, EVT_FLOAT(3.0)) + EVT_CALL(SetPlayerPos, 568, 20, -186) + EVT_CALL(PlayerMoveTo, 525, -168, 20) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_ToadHouseKeeper) = { + EVT_IF_GE(GB_StoryProgress, STORY_EPILOGUE) + EVT_CALL(SetNpcPos, NPC_SELF, 370, 20, -150) + EVT_CALL(SetNpcYaw, NPC_SELF, 270) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_ToadHouseKeeper_B))) + EVT_RETURN + EVT_END_IF + EVT_IF_EQ(GF_MAC01_ChasedShyGuyFromToadHouse, FALSE) + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_RANGE(STORY_CH3_STAR_SPRIT_DEPARTED, STORY_CH4_STAR_SPIRIT_RESCUED) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_ToadHouseKeeper_A))) + EVT_CASE_DEFAULT + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_ToadHouseKeeper))) + EVT_END_SWITCH + EVT_ELSE + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_ToadHouseKeeper))) + EVT_END_IF + EVT_SET(AF_MAC_43, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcIdle_ShyGuy_02) = { + EVT_CALL(SetNpcPos, NPC_SELF, 572, 36, -226) + EVT_CALL(InterpNpcYaw, NPC_SELF, 270, 1) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_ShyGuy_Red_Anim03) + EVT_LOOP(0) + EVT_CALL(InterpNpcYaw, NPC_SELF, 270, 1) + EVT_WAIT(3) + EVT_IF_EQ(MF_InsideToadHouse, TRUE) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_32C, 0) + EVT_END_IF + EVT_CALL(NpcJump0, NPC_SELF, 539, 36, -242, 8) + EVT_WAIT(2) + EVT_CALL(InterpNpcYaw, NPC_SELF, 90, 1) + EVT_WAIT(3) + EVT_IF_EQ(MF_InsideToadHouse, TRUE) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_32C, 0) + EVT_END_IF + EVT_CALL(NpcJump0, NPC_SELF, 572, 36, -226, 8) + EVT_WAIT(2) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcAI_ShyGuy_02) = { + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(ShowSweat, -1, 1, -45, 1, 0, 0, 0, 0, 20) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_ShyGuy_Red_Anim0C) + EVT_CALL(GetNpcPos, NPC_SELF, LVar0, LVar1, LVar2) + EVT_CALL(NpcJump0, NPC_SELF, LVar0, 36, LVar2, 10) + EVT_CALL(SetNpcSpeed, NPC_SELF, EVT_FLOAT(8.0)) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_ShyGuy_Red_Anim03) + EVT_CALL(InterpNpcYaw, NPC_SELF, 270, 1) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_32C, 0) + EVT_CALL(NpcJump0, NPC_SELF, 550, 20, -161, 0) + EVT_THREAD + EVT_WAIT(10) + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilit2u, SOUND_BASIC_DOOR_OPEN, 0) + EVT_SET(LVar0, 0) + EVT_LOOP(10) + EVT_ADD(LVar0, 8) + EVT_CALL(RotateModel, MODEL_door_k, LVar0, 0, -1, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_LOOP(10) + EVT_ADD(LVar0, -8) + EVT_CALL(RotateModel, MODEL_door_k, LVar0, 0, -1, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilit2u, SOUND_BASIC_DOOR_CLOSE, 0) + EVT_END_THREAD + EVT_CALL(ShowSweat, -1, 1, -45, 1, 0, 0, 0, 0, 20) + EVT_SET(LVar0, -1) + EVT_CALL(PlaySoundAtNpc, LVar0, SOUND_203F, 0) + EVT_EXEC_GET_TID(N(D_8024E6F8_80EF78), LVarA) + EVT_CALL(NpcMoveTo, NPC_SELF, 420, -118, 0) + EVT_KILL_THREAD(LVarA) + EVT_CALL(SetNpcPos, NPC_SELF, NPC_DISPOSE_LOCATION) + EVT_CALL(BindNpcInteract, NPC_ToadHouseToad, EVT_PTR(N(EVS_NpcInteract_ToadHouseKeeper))) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcHit_ShyGuy_02) = { + EVT_CALL(GetOwnerEncounterTrigger, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(ENCOUNTER_TRIGGER_HAMMER) + EVT_SET(LVar1, 1) + EVT_CASE_EQ(ENCOUNTER_TRIGGER_JUMP) + EVT_SET(LVar1, 1) + EVT_CASE_EQ(ENCOUNTER_TRIGGER_PARTNER) + EVT_SET(LVar1, 1) + EVT_CASE_DEFAULT + EVT_SET(LVar1, 0) + EVT_END_SWITCH + EVT_IF_EQ(LVar1, 0) + EVT_RETURN + EVT_END_IF + EVT_CALL(N(CheckPositionRelativeToPlane), 450, -190, 500, -103) + EVT_IF_EQ(LVar0, ENCOUNTER_TRIGGER_NONE) + EVT_RETURN + EVT_END_IF + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_HIT_PLAYER_NORMAL, 0) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_203E, 0) + EVT_SET(GF_MAC01_ChasedShyGuyFromToadHouse, TRUE) + EVT_SET(AF_MAC_43, TRUE) + EVT_CALL(BindNpcAI, NPC_SELF, EVT_PTR(N(EVS_NpcAI_ShyGuy_02))) + EVT_CALL(SetSelfEnemyFlagBits, ENEMY_FLAGS_IGNORE_TOUCH | ENEMY_FLAGS_IGNORE_JUMP | ENEMY_FLAGS_IGNORE_HAMMER | ENEMY_FLAGS_8000000 | ENEMY_FLAGS_10000000, 1) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_ShyGuy_02) = { + EVT_IF_EQ(GF_MAC01_ChasedShyGuyFromToadHouse, FALSE) + EVT_CALL(BindNpcIdle, NPC_SELF, EVT_PTR(N(EVS_NpcIdle_ShyGuy_02))) + EVT_CALL(BindNpcHit, NPC_SELF, EVT_PTR(N(EVS_NpcHit_ShyGuy_02))) + EVT_ELSE + EVT_CALL(SetNpcPos, NPC_SELF, NPC_DISPOSE_LOCATION) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +Vec3f N(FlightPath_TwinkArrive)[] = { + { -80.0, 106.0, 0.0 }, + { -50.0, 30.0, 0.0 }, + { 0.0, 0.0, 0.0 }, +}; + +Vec3f N(FlightPath_TwinkDepart)[] = { + { 0.0, 0.0, 0.0 }, + { -50.0, 30.0, 0.0 }, + { -70.0, 106.0, 0.0 }, +}; + +EvtScript N(EVS_NpcIdle_Twink) = { + EVT_LOOP(0) + EVT_CALL(GetPlayerPos, LVar0, LVar1, LVar2) + EVT_IF_LT(LVar0, 560) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(SetMusicTrack, 0, SONG_TWINK_THEME, 0, 8) + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(SetPlayerSpeed, EVT_FLOAT(3.0)) + EVT_CALL(PlayerMoveTo, 500, -20, 0) + EVT_CALL(WaitForPlayerMoveToComplete) + EVT_CALL(InterpPlayerYaw, 270, 0) + EVT_CALL(ShowMessageAtScreenPos, MSG_MAC_Plaza_00DB, 160, 40) + EVT_LOOP(2) + EVT_CALL(InterpPlayerYaw, 90, 7) + EVT_WAIT(10) + EVT_CALL(InterpPlayerYaw, 270, 7) + EVT_WAIT(10) + EVT_END_LOOP + EVT_WAIT(30) + EVT_CALL(GetPlayerPos, LVar4, LVar5, LVar6) + EVT_SUBF(LVar4, EVT_FLOAT(50.0)) + EVT_ADDF(LVar5, EVT_FLOAT(40.0)) + EVT_CALL(InterpNpcYaw, NPC_Twink, 90, 0) + EVT_CALL(LoadPath, 35, EVT_PTR(N(FlightPath_TwinkArrive)), ARRAY_COUNT(N(FlightPath_TwinkArrive)), EASING_COS_IN_OUT) + EVT_LOOP(0) + EVT_CALL(GetNextPathPos) + EVT_ADDF(LVar1, LVar4) + EVT_ADDF(LVar2, LVar5) + EVT_CALL(SetNpcPos, NPC_Twink, LVar1, LVar2, LVar3) + EVT_WAIT(1) + EVT_IF_EQ(LVar0, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(SetPlayerAnimation, ANIM_Mario_1002A) + EVT_CALL(AdjustCam, CAM_DEFAULT, EVT_FLOAT(3.0), -10, -300, 15, -9) + EVT_CALL(SpeakToPlayer, NPC_Twink, ANIM_Twink_Talk, ANIM_Twink_Idle, 0, MSG_MAC_Plaza_00DC) + EVT_WAIT(5) + EVT_CALL(SetPlayerAnimation, ANIM_Mario_80007) + EVT_WAIT(30) + EVT_CALL(SetPlayerAnimation, ANIM_Mario_1002A) + EVT_WAIT(15) + EVT_CALL(SetNpcJumpscale, NPC_Twink, EVT_FLOAT(1.0)) + EVT_CALL(GetNpcPos, NPC_Twink, LVar0, LVar1, LVar2) + EVT_CALL(NpcJump0, NPC_Twink, LVar0, LVar1, LVar2, 10) + EVT_CALL(SpeakToPlayer, NPC_Twink, ANIM_Twink_Talk, ANIM_Twink_Idle, 0, MSG_MAC_Plaza_00DD) + EVT_WAIT(5) + EVT_CALL(SetPlayerAnimation, ANIM_Mario_1002D) + EVT_WAIT(30) + EVT_CALL(SetPlayerAnimation, ANIM_Mario_1002A) + EVT_CALL(AdjustCam, CAM_DEFAULT, EVT_FLOAT(3.0), -40, -200, 15, -15) + EVT_CALL(SpeakToPlayer, NPC_Twink, ANIM_Twink_Talk, ANIM_Twink_Idle, 0, MSG_MAC_Plaza_00DE) + EVT_WAIT(5) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 0) + EVT_CALL(InterpNpcYaw, NPC_Twink, 270, 0) + EVT_CALL(GetNpcPos, NPC_Twink, LVar4, LVar5, LVar6) + EVT_CALL(LoadPath, 35, EVT_PTR(N(FlightPath_TwinkDepart)), ARRAY_COUNT(N(FlightPath_TwinkDepart)), EASING_QUADRATIC_IN) + EVT_LOOP(0) + EVT_CALL(GetNextPathPos) + EVT_ADD(LVar1, LVar4) + EVT_ADD(LVar2, LVar5) + EVT_ADD(LVar3, LVar6) + EVT_CALL(SetNpcPos, NPC_Twink, LVar1, LVar2, LVar3) + EVT_WAIT(1) + EVT_IF_EQ(LVar0, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(SetNpcPos, NPC_Twink, NPC_DISPOSE_LOCATION) + EVT_EXEC(N(EVS_SetupMusic)) + EVT_SET(GB_StoryProgress, STORY_CH1_RETURNED_TO_TOAD_TOWN) + EVT_CALL(SetPlayerAnimation, ANIM_Mario_10002) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Twink) = { + EVT_IF_EQ(GB_StoryProgress, STORY_CH1_DEFEATED_JR_TROOPA) + EVT_CALL(BindNpcIdle, NPC_SELF, EVT_PTR(N(EVS_NpcIdle_Twink))) + EVT_ELSE + EVT_CALL(RemoveNpc, NPC_SELF) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Kolorado) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Kolorado_Talk, ANIM_Kolorado_Idle, 0, MSG_MAC_Plaza_00DF) + EVT_EXEC_WAIT(N(EVS_ArtifactPrompt_Kolorado)) + EVT_EXEC_WAIT(N(EVS_LetterPrompt_Kolorado)) + EVT_EXEC_WAIT(N(EVS_LetterReward_Kolorado)) + EVT_IF_NE(LVarC, 0) + EVT_RETURN + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Kolorado) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_RANGE(STORY_CH5_RETURNED_TO_TOAD_TOWN, STORY_CH7_BEGAN_PEACH_MISSION) + EVT_IF_EQ(GF_NOK11_Defeated_KentC, FALSE) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Kolorado))) + EVT_ELSE + EVT_CALL(RemoveNpc, NPC_SELF) + EVT_END_IF + EVT_CASE_DEFAULT + EVT_CALL(RemoveNpc, NPC_SELF) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +s32 N(ExtraAnims_Toad)[] = { + ANIM_Toad_Red_Still, + ANIM_Toad_Red_Idle, + ANIM_Toad_Red_Walk, + ANIM_Toad_Red_Run, + ANIM_Toad_Red_Talk, + -1 +}; + +s32 N(ExtraAnims_Bubulb)[] = { + ANIM_Bubulb_Pink_Idle, + ANIM_Bubulb_Pink_EmbedIdle, + ANIM_Bubulb_Pink_Talk, + -1 +}; + +StaticNpc N(NpcData_Townsfolk)[] = { + { + .id = NPC_Toad_04, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { -94.0f, 0.0f, -117.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Toad_04), + .drops = TOAD_DROPS, + .animations = TOAD_RED_ANIMS, + .extraAnimations = N(ExtraAnims_Toad), + .tattle = MSG_NpcTattle_MAC_RunsHisMouth, + }, + { + .id = NPC_Toad_05, + .settings = &N(NpcSettings_Toad_Wander), + .pos = { -145.0f, 0.0f, -25.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Toad_05), + .drops = TOAD_DROPS, + .territory = { + .wander = { + .isFlying = TRUE, + .moveSpeedOverride = NO_OVERRIDE_MOVEMENT_SPEED, + .wanderShape = SHAPE_CYLINDER, + .centerPos = { 0, 0, 0 }, + .wanderSize = { 100 }, + .detectShape = SHAPE_CYLINDER, + .detectPos = { 0, 0, 0 }, + .detectSize = { 10 }, + } + }, + .animations = TOAD_RED_ANIMS, + .extraAnimations = N(ExtraAnims_Toad), + .tattle = MSG_NpcTattle_MAC_KnowsTheGossip, + }, + { + .id = NPC_Toad_06, + .settings = &N(NpcSettings_Toad_Patrol), + .pos = { 40.0f, 0.0f, -300.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Toad_06), + .drops = TOAD_DROPS, + .territory = { + .patrol = { + .isFlying = TRUE, + .moveSpeedOverride = NO_OVERRIDE_MOVEMENT_SPEED, + .numPoints = 2, + .points = { + { 40, 0, -300 }, + { -40, 0, -300 }, + }, + .detectShape = SHAPE_CYLINDER, + .detectPos = { 0, 0, 0 }, + .detectSize = { 10 }, + } + }, + .animations = TOAD_YELLOW_ANIMS, + .extraAnimations = N(ExtraAnims_Toad), + .tattle = MSG_NpcTattle_MAC_PrincessFan, + }, + { + .id = NPC_Toad_07, + .settings = &N(NpcSettings_Toad_Patrol), + .pos = { -440.0f, 0.0f, -20.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Toad_07), + .drops = TOAD_DROPS, + .territory = { + .patrol = { + .isFlying = TRUE, + .moveSpeedOverride = NO_OVERRIDE_MOVEMENT_SPEED, + .numPoints = 2, + .points = { + { -440, 0, -20 }, + { 350, 0, -20 }, + }, + .detectShape = SHAPE_CYLINDER, + .detectPos = { 0, 0, 0 }, + .detectSize = { 10 }, + } + }, + .animations = TOAD_YELLOW_ANIMS, + .extraAnimations = N(ExtraAnims_Toad), + .tattle = MSG_NpcTattle_MAC_KnowsTheRumors, + }, + { + .id = NPC_Toad_08, + .settings = &N(NpcSettings_Toad_Patrol), + .pos = { 400.0f, 20.0f, 260.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Toad_08), + .drops = TOAD_DROPS, + .territory = { + .patrol = { + .isFlying = TRUE, + .moveSpeedOverride = NO_OVERRIDE_MOVEMENT_SPEED, + .numPoints = 2, + .points = { + { 400, 20, 260 }, + { 490, 20, 260 }, + }, + .detectShape = SHAPE_CYLINDER, + .detectPos = { 0, 0, 0 }, + .detectSize = { 10 }, + } + }, + .animations = TOAD_BLUE_ANIMS, + .extraAnimations = N(ExtraAnims_Toad), + .tattle = MSG_NpcTattle_MAC_CrushingOnMinhT, + }, + { + .id = NPC_Toad_09, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { -380.0f, 20.0f, -100.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Toad_09), + .drops = TOAD_DROPS, + .animations = TOAD_GREEN_ANIMS, + .extraAnimations = N(ExtraAnims_Toad), + .tattle = MSG_NpcTattle_MAC_SeeksTheSouth, + }, + { + .id = NPC_ToadHouseToad, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { 488.0f, 20.0f, -174.0f }, + .yaw = 30, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_ToadHouseKeeper), + .drops = TOAD_DROPS, + .animations = TOAD_RED_ANIMS, + .extraAnimations = N(ExtraAnims_Toad), + .tattle = MSG_NpcTattle_MAC_ToadHouseToad, + }, + { + .id = NPC_Bubulb, + .settings = &N(NpcSettings_Bubulb), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 0, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Bubulb), + .drops = BUBULB_DROPS, + .animations = BUBULB_PINK_ANIMS, + .extraAnimations = N(ExtraAnims_Bubulb), + .tattle = MSG_NpcTattle_MAC_FlowerGateBubulb, + }, + { + .id = NPC_MinhT, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { 150.0f, 20.0f, 485.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_MinhT), + .drops = TOAD_DROPS, + .animations = { + .idle = ANIM_MinhT_Idle, + }, + .tattle = MSG_NpcTattle_MinhT, + }, + { + .id = NPC_Postmaster, + .settings = &N(NpcSettings_Toad_Stationary), + .pos = { 312.0f, 30.0f, -438.0f }, + .yaw = 300, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000, + .init = &N(EVS_NpcInit_Postmaster), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_Postmaster_Idle, + }, + .tattle = MSG_NpcTattle_Postmaster, + }, +}; + +StaticNpc N(NpcData_Parakarry) = { + .id = NPC_Parakarry, + .settings = &N(NpcSettings_Parakarry), + .pos = { 145.0f, 20.0f, -472.0f }, + .yaw = 120, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800, + .init = &N(EVS_NpcInit_Parakarry), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_WorldParakarry_Idle, + .walk = ANIM_WorldParakarry_Walk, + .run = ANIM_WorldParakarry_Run, + .chase = ANIM_WorldParakarry_Run, + .anim_4 = ANIM_WorldParakarry_Idle, + .anim_5 = ANIM_WorldParakarry_Idle, + .death = ANIM_WorldParakarry_Still, + .hit = ANIM_WorldParakarry_Still, + .anim_8 = ANIM_WorldParakarry_Idle, + .anim_9 = ANIM_WorldParakarry_Idle, + .anim_A = ANIM_WorldParakarry_Idle, + .anim_B = ANIM_WorldParakarry_Idle, + .anim_C = ANIM_WorldParakarry_Idle, + .anim_D = ANIM_WorldParakarry_Idle, + .anim_E = ANIM_WorldParakarry_Idle, + .anim_F = ANIM_WorldParakarry_Idle, + }, + .extraAnimations = N(ExtraAnims_Parakarry), + .tattle = MSG_NpcTattle_MAC_Parakarry, +}; + +s32 N(ExtraAnims_Twink)[] = { + ANIM_Twink_Idle, + ANIM_Twink_Fly, + ANIM_Twink_Talk, + -1 +}; + +StaticNpc N(NpcData_Twink) = { + .id = NPC_Twink, + .settings = &N(NpcSettings_Twink), + .pos = { -350.0f, 20.0f, -100.0f }, + .yaw = 274, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_400000, + .init = &N(EVS_NpcInit_Twink), + .drops = TWINK_DROPS, + .animations = TWINK_ANIMS, + .extraAnimations = N(ExtraAnims_Twink), +}; + +StaticNpc N(NpcData_ShyGuys)[] = { + { + .id = NPC_PostOfficeShyGuy, + .settings = &N(NpcSettings_ShyGuy_NoAI), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_200 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800, + .init = &N(EVS_NpcInit_ShyGuy_01), + .drops = SHY_GUY_NO_DROPS, + .animations = SHY_GUY_ANIMS, + }, + { + .id = NPC_ToadHouseShyGuy, + .settings = &N(NpcSettings_ShyGuy_NoAI), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 270, + .flags = ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_200 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_100000 | ENEMY_FLAGS_200000 | ENEMY_FLAGS_400000 | ENEMY_FLAGS_IGNORE_TOUCH, + .init = &N(EVS_NpcInit_ShyGuy_02), + .drops = SHY_GUY_NO_DROPS, + .animations = SHY_GUY_ANIMS, + }, + { + .id = NPC_GardenShyGuy1, + .settings = &N(NpcSettings_ShyGuy_NoAI), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 270, + .flags = ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_200 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_100000 | ENEMY_FLAGS_200000 | ENEMY_FLAGS_400000 | ENEMY_FLAGS_IGNORE_TOUCH, + .init = &N(EVS_NpcInit_GardenShyGuy1), + .drops = SHY_GUY_NO_DROPS, + .animations = SHY_GUY_ANIMS, + }, + { + .id = NPC_GardenShyGuy2, + .settings = &N(NpcSettings_ShyGuy_NoAI), + .pos = { NPC_DISPOSE_LOCATION }, + .yaw = 270, + .flags = ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_200 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_100000 | ENEMY_FLAGS_200000 | ENEMY_FLAGS_400000 | ENEMY_FLAGS_IGNORE_TOUCH, + .init = &N(EVS_NpcInit_GardenShyGuy2), + .drops = SHY_GUY_NO_DROPS, + .animations = SHY_GUY_ANIMS, + }, +}; + +s32 N(D_8025EBB8_81F438)[] = { + ANIM_Kolorado_Still, + ANIM_Kolorado_Idle, + ANIM_Kolorado_Talk, + -1 +}; + +StaticNpc N(NpcData_Kolorado) = { + .id = NPC_Kolorado, + .settings = &N(NpcSettings_Kolorado), + .pos = { 520.0f, 0.0f, -25.0f }, + .yaw = 270, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Kolorado), + .drops = KOLORADO_DROPS, + .animations = KOLORADO_ANIMS, + .extraAnimations = N(D_8025EBB8_81F438), + .tattle = MSG_NpcTattle_Kolorado, +}; + +StaticNpc N(NpcData_ChuckQuizmo) = { + .id = NPC_ChuckQuizmo, + .settings = &N(Quizmo_NpcSettings), + .pos = { -440.0f, 20.0f, -140.0f }, + .yaw = 30, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_4000, + .initVarCount = 1, + .initVar = { .bytes = { 0, QUIZ_AREA_MAC, QUIZ_COUNT_MAC, QUIZ_MAP_MAC_01 }}, + .drops = QUIZMO_DROPS, + .animations = QUIZMO_ANIMS, + .tattle = MSG_NpcTattle_ChuckQuizmo, +}; + +NpcGroupList N(DefaultNPCs) = { + NPC_GROUP(N(NpcData_Merlon)), + NPC_GROUP(N(NpcData_RowfAndRhuff)), + NPC_GROUP(N(NpcData_Townsfolk)), + NPC_GROUP(N(NpcData_Kolorado)), + NPC_GROUP(N(NpcData_ChuckQuizmo)), + {} +}; + +NpcGroupList N(Chapter0NPCs) = { + NPC_GROUP(N(NpcData_Parakarry)), + NPC_GROUP(N(NpcData_KoopaBros)), + NPC_GROUP(N(NpcData_DarkToads)), + NPC_GROUP(N(NpcData_Merlon)), + NPC_GROUP(N(NpcData_RowfAndRhuff)), + NPC_GROUP(N(NpcData_Townsfolk)), + {} +}; + +NpcGroupList N(Chapter1NPCs) = { + NPC_GROUP(N(NpcData_Parakarry)), + NPC_GROUP(N(NpcData_Merlon)), + NPC_GROUP(N(NpcData_RowfAndRhuff)), + NPC_GROUP(N(NpcData_Townsfolk)), + {} +}; + +NpcGroupList N(TwinkMeetingNPCs) = { + NPC_GROUP(N(NpcData_Twink)), + NPC_GROUP(N(NpcData_Merlon)), + NPC_GROUP(N(NpcData_RowfAndRhuff)), + NPC_GROUP(N(NpcData_Townsfolk)), + {} +}; + +NpcGroupList N(Chapter4NPCs) = { + NPC_GROUP(N(NpcData_ShyGuys)), + NPC_GROUP(N(NpcData_Merlon)), + NPC_GROUP(N(NpcData_RowfAndRhuff)), + NPC_GROUP(N(NpcData_Townsfolk)), + {} +}; + +NpcGroupList N(NinjiMeetingNPCs) = { + NPC_GROUP(N(NpcData_Ninji)), + NPC_GROUP(N(NpcData_Merlon)), + NPC_GROUP(N(NpcData_RowfAndRhuff)), + NPC_GROUP(N(NpcData_Kolorado)), + NPC_GROUP(N(NpcData_Townsfolk)), + {} +}; + diff --git a/src/world/area_mac/mac_01/npc/flower_gate.inc.c b/src/world/area_mac/mac_01/npc/flower_gate.inc.c new file mode 100644 index 0000000000..5556df1888 --- /dev/null +++ b/src/world/area_mac/mac_01/npc/flower_gate.inc.c @@ -0,0 +1,787 @@ +EvtScript N(EVS_MinhThankYou) = { + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(GetNpcPos, NPC_MinhT, LVar0, LVar1, LVar2) + EVT_CALL(SetCamProperties, CAM_DEFAULT, 4, LVar0, LVar1, LVar2, 300, 16, -8) + EVT_CALL(SpeakToPlayer, NPC_MinhT, ANIM_MinhT_Talk, ANIM_MinhT_Idle, 0, MSG_MAC_Plaza_006F) + EVT_CALL(ResetCam, CAM_DEFAULT, 4) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcIdle_GardenShyGuy1) = { + EVT_CALL(SetNpcPos, NPC_SELF, 170, 27, 380) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_ShyGuy_Red_Anim03) + EVT_LOOP(0) + EVT_CALL(InterpNpcYaw, NPC_SELF, 90, 1) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_32C, 0) + EVT_CALL(NpcJump0, NPC_SELF, 180, 27, 280, 15) + EVT_CALL(NpcMoveTo, NPC_SELF, 220, 250, 15) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_32C, 0) + EVT_CALL(NpcJump0, NPC_SELF, 310, 27, 250, 15) + EVT_CALL(NpcMoveTo, NPC_SELF, 350, 280, 15) + EVT_CALL(InterpNpcYaw, NPC_SELF, 270, 1) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_32C, 0) + EVT_CALL(NpcJump0, NPC_SELF, 360, 27, 380, 15) + EVT_CALL(NpcMoveTo, NPC_SELF, 300, 450, 15) + EVT_CALL(NpcMoveTo, NPC_SELF, 230, 450, 15) + EVT_CALL(NpcMoveTo, NPC_SELF, 170, 380, 15) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcIdle_GardenShyGuy2) = { + EVT_CALL(SetNpcPos, NPC_SELF, 350, 27, 280) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_ShyGuy_Red_Anim03) + EVT_LOOP(0) + EVT_CALL(InterpNpcYaw, NPC_SELF, 270, 1) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_32C, 0) + EVT_CALL(NpcJump0, NPC_SELF, 360, 27, 380, 15) + EVT_CALL(NpcMoveTo, NPC_SELF, 300, 450, 15) + EVT_CALL(NpcMoveTo, NPC_SELF, 230, 450, 15) + EVT_CALL(NpcMoveTo, NPC_SELF, 170, 380, 15) + EVT_CALL(InterpNpcYaw, NPC_SELF, 90, 1) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_32C, 0) + EVT_CALL(NpcJump0, NPC_SELF, 180, 27, 280, 15) + EVT_CALL(NpcMoveTo, NPC_SELF, 220, 250, 15) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_32C, 0) + EVT_CALL(NpcJump0, NPC_SELF, 310, 27, 250, 15) + EVT_CALL(NpcMoveTo, NPC_SELF, 350, 280, 15) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_GardenShyGuy_RunAway) = { + EVT_SET(LVarA, GF_MAC01_ChasedShyGuysFromGardenA) + EVT_ADD(LVarA, GF_MAC01_ChasedShyGuysFromGardenB) + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_ShyGuy_Red_Anim0C) + EVT_CALL(GetNpcPos, NPC_SELF, LVar0, LVar1, LVar2) + EVT_CALL(NpcJump0, NPC_SELF, LVar0, 27, LVar2, 10) + EVT_CALL(SetNpcSpeed, NPC_SELF, EVT_FLOAT(8.0)) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_ShyGuy_Red_Anim03) + EVT_CALL(ShowSweat, -1, 1, -45, 1, 0, 0, 0, 0, 20) + EVT_CALL(InterpNpcYaw, NPC_SELF, 270, 1) + EVT_SET(LVar0, -1) + EVT_CALL(PlaySoundAtNpc, LVar0, SOUND_203F, 0) + EVT_EXEC_GET_TID(N(D_8024E6F8_80EF78), LVar9) + EVT_CALL(NpcMoveTo, NPC_SELF, 160, 400, 0) + EVT_KILL_THREAD(LVar9) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_IF_EQ(LVarA, 2) + EVT_EXEC(N(EVS_MinhThankYou)) + EVT_END_IF + EVT_CALL(ShowSweat, -1, 1, -45, 1, 0, 0, 0, 0, 20) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_32C, 0) + EVT_CALL(NpcJump0, NPC_SELF, 110, 20, 420, 0) + EVT_CALL(ShowSweat, -1, 1, -45, 1, 0, 0, 0, 0, 20) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_32C, 0) + EVT_CALL(NpcJump0, NPC_SELF, 40, 0, 450, 0) + EVT_CALL(ShowSweat, -1, 1, -45, 1, 0, 0, 0, 0, 20) + EVT_CALL(NpcMoveTo, NPC_SELF, -30, 550, 0) + EVT_CALL(NpcMoveTo, NPC_SELF, -30, 700, 0) + EVT_CALL(SetNpcPos, NPC_SELF, NPC_DISPOSE_LOCATION) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_GardenShyGuy_PlayHitReactionSounds) = { + EVT_SET(LVar0, 1) + EVT_CALL(GetOwnerEncounterTrigger, LVar1) + EVT_SWITCH(LVar1) + EVT_CASE_EQ(ENCOUNTER_TRIGGER_HAMMER) + EVT_CASE_EQ(ENCOUNTER_TRIGGER_JUMP) + EVT_CASE_EQ(ENCOUNTER_TRIGGER_PARTNER) + EVT_CASE_DEFAULT + EVT_RETURN + EVT_END_SWITCH + EVT_CALL(GetPlayerPos, LVar1, LVar2, LVar3) + EVT_IF_LE(LVar1, 50) + EVT_RETURN + EVT_END_IF + EVT_IF_LE(LVar3, 80) + EVT_RETURN + EVT_END_IF + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_HIT_PLAYER_NORMAL, 0) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_203E, 0) + EVT_SET(LVar0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcHit_GardenShyGuy1) = { + EVT_EXEC_WAIT(N(EVS_GardenShyGuy_PlayHitReactionSounds)) + EVT_IF_EQ(LVar0, 1) + EVT_RETURN + EVT_END_IF + EVT_SET(GF_MAC01_ChasedShyGuysFromGardenA, TRUE) + EVT_CALL(BindNpcAI, NPC_SELF, EVT_PTR(N(EVS_GardenShyGuy_RunAway))) + EVT_CALL(SetSelfEnemyFlagBits, ENEMY_FLAGS_IGNORE_TOUCH | ENEMY_FLAGS_IGNORE_JUMP | ENEMY_FLAGS_IGNORE_HAMMER | ENEMY_FLAGS_8000000 | ENEMY_FLAGS_10000000, 1) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcHit_GardenShyGuy2) = { + EVT_EXEC_WAIT(N(EVS_GardenShyGuy_PlayHitReactionSounds)) + EVT_IF_EQ(LVar0, 1) + EVT_RETURN + EVT_END_IF + EVT_SET(GF_MAC01_ChasedShyGuysFromGardenB, TRUE) + EVT_CALL(BindNpcAI, NPC_SELF, EVT_PTR(N(EVS_GardenShyGuy_RunAway))) + EVT_CALL(SetSelfEnemyFlagBits, ENEMY_FLAGS_IGNORE_TOUCH | ENEMY_FLAGS_IGNORE_JUMP | ENEMY_FLAGS_IGNORE_HAMMER | ENEMY_FLAGS_8000000 | ENEMY_FLAGS_10000000, 1) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_GardenShyGuy1) = { + EVT_IF_EQ(GF_MAC01_ChasedShyGuysFromGardenA, FALSE) + EVT_CALL(BindNpcIdle, NPC_SELF, EVT_PTR(N(EVS_NpcIdle_GardenShyGuy1))) + EVT_CALL(BindNpcHit, NPC_SELF, EVT_PTR(N(EVS_NpcHit_GardenShyGuy1))) + EVT_ELSE + EVT_CALL(RemoveNpc, NPC_SELF) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_GardenShyGuy2) = { + EVT_IF_EQ(GF_MAC01_ChasedShyGuysFromGardenB, FALSE) + EVT_CALL(BindNpcIdle, NPC_SELF, EVT_PTR(N(EVS_NpcIdle_GardenShyGuy2))) + EVT_CALL(BindNpcHit, NPC_SELF, EVT_PTR(N(EVS_NpcHit_GardenShyGuy2))) + EVT_ELSE + EVT_CALL(RemoveNpc, NPC_SELF) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +// BUBULB + +EvtScript N(EVS_NpcInteract_Bubulb) = { + EVT_IF_EQ(GB_StoryProgress, STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_0045) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_0077) + EVT_END_IF + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Bubulb_Pink_Talk, ANIM_Bubulb_Pink_Idle, 0, LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Bubulb) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_RANGE(STORY_CH5_STAR_SPRIT_DEPARTED, STORY_CH6_FLOWER_GATE_OPEN) + EVT_CALL(SetNpcPos, NPC_SELF, 200, 20, 500) + EVT_CALL(SetNpcYaw, NPC_SELF, 270) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Bubulb))) + EVT_CASE_EQ(STORY_EPILOGUE) + EVT_CALL(SetNpcPos, NPC_SELF, 230, 30, 400) + EVT_CALL(SetNpcYaw, NPC_SELF, 270) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Bubulb))) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +// MINH T + +s32 N(FlowerGatePrimAlpha) = 0; + +API_CALLABLE(N(SetFlowerGateGlowAlpha)) { + Bytecode* args = script->ptrReadPos; + + N(FlowerGatePrimAlpha) = evt_get_variable(script, *args++); + return ApiStatus_DONE2; +} + +void N(gfx_build_flower_gate_glow)(void) { + gDPSetCombineLERP(gMasterGfxPos++, 0, 0, 0, 1, SHADE, 0, PRIMITIVE, 0, 0, 0, 0, 1, SHADE, 0, PRIMITIVE, 0); + gDPSetPrimColor(gMasterGfxPos++, 0, 0, 0, 0, 0, N(FlowerGatePrimAlpha)); +} + +API_CALLABLE(N(SetPartnerTetherClose)) { + partner_set_tether_distance(20.0f); + return ApiStatus_DONE2; +} + +API_CALLABLE(N(ResetPartnerTetherDist)) { + partner_reset_tether_distance(); + return ApiStatus_DONE2; +} + +EvtScript N(EVS_FadeInFlowerGateGlowAlpha) = { + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_deilitf, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_door_ura, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(EnableModel, MODEL_pica, TRUE) + EVT_CALL(SetModelCustomGfx, MODEL_pica, CUSTOM_GFX_4, -1) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_4, EVT_PTR(N(gfx_build_flower_gate_glow)), NULL) + EVT_CALL(MakeLerp, 0, 255, 30, EASING_LINEAR) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(N(SetFlowerGateGlowAlpha), LVar0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ModulateFlowerGateGlowAlpha) = { + EVT_SET(LVar1, 255) + EVT_LOOP(LVar0) + EVT_LOOP(15) + EVT_ADD(LVar1, -5) + EVT_CALL(N(SetFlowerGateGlowAlpha), LVar1) + EVT_WAIT(1) + EVT_END_LOOP + EVT_LOOP(15) + EVT_ADD(LVar1, 5) + EVT_CALL(N(SetFlowerGateGlowAlpha), LVar1) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_FadeOutFlowerGateGlowAlpha) = { + EVT_CALL(MakeLerp, 255, 0, 30, EASING_LINEAR) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(N(SetFlowerGateGlowAlpha), LVar0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(EnableModel, MODEL_pica, FALSE) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_deilitf, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_door_ura, COLLIDER_FLAGS_UPPER_MASK) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_Scene_FlowerGateAppears) = { + EVT_CALL(SetCamProperties, CAM_DEFAULT, 1, 266, 27, 373, 300, 15, -6) + EVT_EXEC(N(EVS_PlayFlowerGateSong)) + EVT_PLAY_EFFECT(EFFECT_LIGHT_RAYS, 0, 266, 50, 338, 1, LVar9) + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitf, SOUND_2A2, 0) + EVT_EXEC_WAIT(N(EVS_FadeInFlowerGateGlowAlpha)) + EVT_THREAD + EVT_WAIT(10) + EVT_PLAY_EFFECT(EFFECT_FLOATING_FLOWER, 266, 50, 338, 100, 0) + EVT_WAIT(10) + EVT_PLAY_EFFECT(EFFECT_FLOATING_FLOWER, 240, 50, 338, 100, 0) + EVT_WAIT(10) + EVT_PLAY_EFFECT(EFFECT_FLOATING_FLOWER, 292, 50, 338, 100, 0) + EVT_END_THREAD + EVT_SET(LVar0, 3) + EVT_EXEC_GET_TID(N(EVS_ModulateFlowerGateGlowAlpha), LVar2) + EVT_WAIT(30) + EVT_CALL(EnableModel, MODEL_r_door, TRUE) + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitf, SOUND_2A3, 0) + EVT_CALL(MakeLerp, 0, 3060, 80, EASING_LINEAR) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(RotateModel, MODEL_r_door, LVar0, 0, 1, 0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(EnableModel, MODEL_r_door, FALSE) + EVT_CALL(EnableGroup, MODEL_to_flo, TRUE) + EVT_CALL(func_802D7B10, LVar9) + EVT_CALL(PlaySoundAt, SOUND_2A4, 0, 266, 50, 338) + EVT_LOOP(3) + EVT_PLAY_EFFECT(EFFECT_ENERGY_ORB_WAVE, 5, 266, 50, 338, 1, 20) + EVT_WAIT(5) + EVT_END_LOOP + EVT_LOOP(0) + EVT_WAIT(1) + EVT_IS_THREAD_RUNNING(LVar2, LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_EXEC_WAIT(N(EVS_FadeOutFlowerGateGlowAlpha)) + EVT_CALL(ResetCam, CAM_DEFAULT, 1) + EVT_EXEC(N(EVS_SetupMusic)) + EVT_RETURN + EVT_END +}; + +s32 N(LetterList_MinhT_Unused)[] = { + ITEM_LETTER_TO_MINHT, + ITEM_NONE +}; + +s32 N(ItemList_MagicalSeeds)[] = { + ITEM_MAGICAL_SEED1, + ITEM_MAGICAL_SEED2, + ITEM_MAGICAL_SEED3, + ITEM_MAGICAL_SEED4, + ITEM_NONE +}; + +EvtScript N(EVS_MinhT_PlantSeed) = { + EVT_CALL(SetNpcFlagBits, NPC_SELF, NPC_FLAG_100, TRUE) + EVT_CALL(SpeakToPlayer, NPC_MinhT, ANIM_MinhT_Talk, ANIM_MinhT_Idle, 0, LVar4) + EVT_WAIT(10) + EVT_CALL(UseSettingsFrom, CAM_DEFAULT, 266, 27, 373) + EVT_CALL(SetPanTarget, CAM_DEFAULT, 266, 27, 373) + EVT_CALL(SetCamSpeed, CAM_DEFAULT, 1) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_CALL(InterpNpcYaw, NPC_SELF, 90, 1) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_MinhT_Run) + EVT_CALL(NpcMoveTo, NPC_SELF, 175, 444, 0) + EVT_CALL(NpcJump0, NPC_SELF, 200, 27, 435, 0) + EVT_SWITCH(LVar5) + EVT_CASE_EQ(0) + EVT_CALL(NpcMoveTo, NPC_SELF, 200, 407, 0) + EVT_CASE_EQ(1) + EVT_CALL(NpcMoveTo, NPC_SELF, 220, 420, 0) + EVT_CALL(NpcMoveTo, NPC_SELF, 200, 270, 0) + EVT_CASE_EQ(2) + EVT_CALL(NpcMoveTo, NPC_SELF, 310, 420, 0) + EVT_CALL(NpcMoveTo, NPC_SELF, 330, 270, 0) + EVT_CASE_EQ(3) + EVT_CALL(NpcMoveTo, NPC_SELF, 310, 420, 0) + EVT_CALL(NpcMoveTo, NPC_SELF, 330, 407, 0) + EVT_END_SWITCH + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_MinhT_Cheer) + EVT_WAIT(20) + EVT_CALL(PlaySoundAtNpc, NPC_SELF, SOUND_2A1, 0) + EVT_SWITCH(LVar5) + EVT_CASE_EQ(0) + EVT_CALL(EnableModel, MODEL_o375, TRUE) + EVT_CALL(EnableModel, MODEL_o370, TRUE) + EVT_CASE_EQ(1) + EVT_CALL(EnableModel, MODEL_o377, TRUE) + EVT_CALL(EnableModel, MODEL_o372, TRUE) + EVT_CASE_EQ(2) + EVT_CALL(EnableModel, MODEL_o376, TRUE) + EVT_CALL(EnableModel, MODEL_o371, TRUE) + EVT_CASE_EQ(3) + EVT_CALL(EnableModel, MODEL_o378, TRUE) + EVT_CALL(EnableModel, MODEL_o373, TRUE) + EVT_END_SWITCH + EVT_IF_NE(LVar3, 3) + EVT_THREAD + EVT_CALL(GetPlayerPos, LVar0, LVar1, LVar2) + EVT_CALL(UseSettingsFrom, CAM_DEFAULT, LVar0, LVar1, LVar2) + EVT_CALL(SetPanTarget, CAM_DEFAULT, LVar0, LVar1, LVar2) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_CALL(WaitForCam, CAM_DEFAULT, EVT_FLOAT(1.0)) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 0) + EVT_END_THREAD + EVT_END_IF + EVT_CALL(InterpNpcYaw, NPC_SELF, 270, 1) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_MinhT_Run) + EVT_SWITCH(LVar5) + EVT_CASE_EQ(1) + EVT_CALL(NpcMoveTo, NPC_SELF, 220, 420, 0) + EVT_CASE_OR_EQ(2) + EVT_CASE_OR_EQ(3) + EVT_CALL(NpcMoveTo, NPC_SELF, 310, 420, 0) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(NpcMoveTo, NPC_SELF, 186, 425, 0) + EVT_CALL(NpcJump0, NPC_SELF, 175, 20, 444, 0) + EVT_CALL(NpcMoveTo, NPC_SELF, 150, 480, 0) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_MinhT_Idle) + EVT_CALL(SetNpcFlagBits, NPC_SELF, NPC_FLAG_100, FALSE) + EVT_IF_EQ(LVar3, 3) + EVT_CALL(InterpNpcYaw, NPC_MinhT, 90, 0) + EVT_EXEC_WAIT(N(EVS_Scene_FlowerGateAppears)) + EVT_CALL(SpeakToPlayer, NPC_MinhT, ANIM_MinhT_Talk, ANIM_MinhT_Idle, 0, MSG_MAC_Plaza_0070) + EVT_SET(GB_StoryProgress, STORY_CH6_FLOWER_GATE_OPEN) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(D_80258FFC_81987C) = { + EVT_IF_NE(LVar5, 0) + EVT_CALL(SpeakToPlayer, NPC_MinhT, ANIM_MinhT_Talk, ANIM_MinhT_Idle, 0, MSG_MAC_Plaza_0075) + EVT_END_IF + EVT_SET(LVar0, EVT_PTR(N(ItemList_MagicalSeeds))) + EVT_SET(LVar1, 18) + EVT_EXEC_WAIT(N(EVS_ChooseKeyItem)) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_RETURN + EVT_CASE_EQ(-1) + EVT_RETURN + EVT_CASE_EQ(ITEM_MAGICAL_SEED1) + EVT_SET(GF_MAC01_Planted_MagicalSeed1, TRUE) + EVT_SET(LVar4, MSG_MAC_Plaza_0076) + EVT_SET(LVar5, 0) + EVT_EXEC_WAIT(N(EVS_MinhT_PlantSeed)) + EVT_CASE_EQ(ITEM_MAGICAL_SEED2) + EVT_SET(GF_MAC01_Planted_MagicalSeed2, TRUE) + EVT_SET(LVar4, MSG_MAC_Plaza_0076) + EVT_SET(LVar5, 1) + EVT_EXEC_WAIT(N(EVS_MinhT_PlantSeed)) + EVT_CASE_EQ(ITEM_MAGICAL_SEED3) + EVT_SET(GF_MAC01_Planted_MagicalSeed3, TRUE) + EVT_SET(LVar4, MSG_MAC_Plaza_0076) + EVT_SET(LVar5, 2) + EVT_EXEC_WAIT(N(EVS_MinhT_PlantSeed)) + EVT_CASE_EQ(ITEM_MAGICAL_SEED4) + EVT_SET(GF_MAC01_Planted_MagicalSeed4, TRUE) + EVT_SET(LVar4, MSG_MAC_Plaza_0076) + EVT_SET(LVar5, 3) + EVT_EXEC_WAIT(N(EVS_MinhT_PlantSeed)) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_MinhT) = { + EVT_EXEC_WAIT(N(EVS_LetterPrompt_MinhT)) + EVT_EXEC_WAIT(N(EVS_LetterReward_MinhT)) + EVT_IF_NE(LVarC, 0) + EVT_RETURN + EVT_END_IF + EVT_SET(LVar2, 0) + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH0_MET_STAR_SPIRITS) + EVT_SET(LVar0, MSG_MAC_Plaza_0065) + EVT_SET(LVar1, MSG_MAC_Plaza_0065) + EVT_CASE_LT(STORY_CH3_STAR_SPIRIT_RESCUED) + EVT_SET(LVar2, 1) + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, GF_MAC01_ChasedShyGuysFromGardenA) + EVT_ADD(LVar0, GF_MAC01_ChasedShyGuysFromGardenB) + EVT_IF_EQ(LVar0, 2) + EVT_SET(LVar2, 1) + EVT_ELSE + EVT_SET(LVar0, MSG_MAC_Plaza_006D) + EVT_SET(LVar1, MSG_MAC_Plaza_006E) + EVT_END_IF + EVT_CASE_LT(STORY_CH6_FLOWER_GATE_OPEN) + EVT_SET(LVar2, 1) + EVT_CASE_LT(STORY_CH6_DESTROYED_PUFF_PUFF_MACHINE) + EVT_SET(LVar0, MSG_MAC_Plaza_0071) + EVT_SET(LVar1, MSG_MAC_Plaza_0071) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MAC_Plaza_0072) + EVT_SET(LVar1, MSG_MAC_Plaza_0072) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MAC_Plaza_0073) + EVT_SET(LVar1, MSG_MAC_Plaza_0073) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_Outro_0042) + EVT_SET(LVar1, MSG_Outro_0042) + EVT_END_SWITCH + EVT_IF_EQ(LVar2, 1) + EVT_SET(LVar3, GF_MAC01_Planted_MagicalSeed1) + EVT_ADD(LVar3, GF_MAC01_Planted_MagicalSeed2) + EVT_ADD(LVar3, GF_MAC01_Planted_MagicalSeed3) + EVT_ADD(LVar3, GF_MAC01_Planted_MagicalSeed4) + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_RANGE(STORY_CH5_STAR_SPRIT_DEPARTED, STORY_CH5_RETURNED_TO_TOAD_TOWN) + EVT_SET(LVar4, GF_MAC02_Gift_MagicalSeed1) + EVT_ADD(LVar4, GF_IWA02_Gift_MagicalSeed2) + EVT_ADD(LVar4, GF_MIM04_Gift_MagicalSeed3) + EVT_ADD(LVar4, GF_JAN03_Gift_MagicalSeed4) + EVT_SET(LVar5, GF_MAC01_HeardAboutBubulbs) + EVT_IF_EQ(LVar5, 0) + EVT_CALL(SpeakToPlayer, NPC_MinhT, ANIM_MinhT_Talk, ANIM_MinhT_Idle, 0, MSG_MAC_Plaza_0074) + EVT_SET(GF_MAC01_HeardAboutBubulbs, TRUE) + EVT_END_IF + EVT_IF_NE(LVar4, 0) + EVT_EXEC_WAIT(N(D_80258FFC_81987C)) + EVT_RETURN + EVT_END_IF + EVT_CALL(SpeakToPlayer, NPC_MinhT, ANIM_MinhT_Talk, ANIM_MinhT_Idle, 0, MSG_MAC_Plaza_0075) + EVT_RETURN + EVT_END_SWITCH + EVT_SWITCH(LVar3) + EVT_CASE_EQ(0) + EVT_SET(LVar0, MSG_MAC_Plaza_0066) + EVT_SET(LVar1, MSG_MAC_Plaza_0066) + EVT_CASE_EQ(1) + EVT_SET(LVar0, MSG_MAC_Plaza_0068) + EVT_SET(LVar1, MSG_MAC_Plaza_0068) + EVT_CASE_EQ(2) + EVT_SET(LVar0, MSG_MAC_Plaza_006A) + EVT_SET(LVar1, MSG_MAC_Plaza_006A) + EVT_CASE_EQ(3) + EVT_SET(LVar0, MSG_MAC_Plaza_006C) + EVT_SET(LVar1, MSG_MAC_Plaza_006C) + EVT_END_SWITCH + EVT_END_IF + EVT_IF_EQ(AF_MAC_14, FALSE) + EVT_SET(AF_MAC_14, TRUE) + EVT_ELSE + EVT_SET(LVar0, LVar1) + EVT_SET(AF_MAC_14, FALSE) + EVT_END_IF + EVT_CALL(SpeakToPlayer, NPC_MinhT, ANIM_MinhT_Talk, ANIM_MinhT_Idle, 0, LVar0) + EVT_IF_EQ(LVar2, 1) + EVT_SET(LVar0, EVT_PTR(N(ItemList_MagicalSeeds))) + EVT_SET(LVar1, 18) + EVT_EXEC_WAIT(N(EVS_ChooseKeyItem)) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_RETURN + EVT_CASE_EQ(-1) + EVT_RETURN + EVT_CASE_EQ(ITEM_MAGICAL_SEED1) + EVT_SET(GF_MAC01_Planted_MagicalSeed1, TRUE) + EVT_SET(LVar4, MSG_MAC_Plaza_0067) + EVT_SET(LVar5, 0) + EVT_EXEC_WAIT(N(EVS_MinhT_PlantSeed)) + EVT_CASE_EQ(ITEM_MAGICAL_SEED2) + EVT_SET(GF_MAC01_Planted_MagicalSeed2, TRUE) + EVT_SET(LVar4, MSG_MAC_Plaza_0069) + EVT_SET(LVar5, 1) + EVT_EXEC_WAIT(N(EVS_MinhT_PlantSeed)) + EVT_CASE_EQ(ITEM_MAGICAL_SEED3) + EVT_SET(GF_MAC01_Planted_MagicalSeed3, TRUE) + EVT_SET(LVar4, MSG_MAC_Plaza_006B) + EVT_SET(LVar5, 2) + EVT_EXEC_WAIT(N(EVS_MinhT_PlantSeed)) + EVT_CASE_EQ(ITEM_MAGICAL_SEED4) + EVT_SET(LVar5, 3) + EVT_EXEC_WAIT(N(EVS_MinhT_PlantSeed)) + EVT_END_SWITCH + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcAI_MinhT) = { + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcIdle_MinhT) = { + EVT_THREAD + EVT_LOOP(0) + EVT_SET(LVar0, GF_MAC01_ChasedShyGuysFromGardenA) + EVT_ADD(LVar0, GF_MAC01_ChasedShyGuysFromGardenB) + EVT_IF_EQ(LVar0, 2) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_MinhT_Idle) + EVT_CALL(SetSelfEnemyFlagBits, ENEMY_FLAGS_400000, 0) + EVT_CALL(BindNpcAI, NPC_SELF, EVT_PTR(N(EVS_NpcAI_MinhT))) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(GetNpcPos, NPC_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetNpcSpeed, NPC_SELF, EVT_FLOAT(3.0)) + EVT_ADD(LVar0, 25) + EVT_LOOP(0) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_MinhT_Run) + EVT_CALL(NpcMoveTo, NPC_SELF, LVar0, LVar2, 0) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_MinhT_Idle) + EVT_CALL(InterpNpcYaw, NPC_SELF, 270, 7) + EVT_WAIT(10) + EVT_CALL(InterpNpcYaw, NPC_SELF, 90, 7) + EVT_WAIT(10) + EVT_ADD(LVar0, -50) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_MinhT_Run) + EVT_CALL(NpcMoveTo, NPC_SELF, LVar0, LVar2, 0) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_MinhT_Idle) + EVT_CALL(InterpNpcYaw, NPC_SELF, 90, 7) + EVT_WAIT(10) + EVT_CALL(InterpNpcYaw, NPC_SELF, 270, 7) + EVT_WAIT(10) + EVT_ADD(LVar0, 50) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_MinhT) = { + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_RANGE(STORY_CH3_STAR_SPRIT_DEPARTED, STORY_CH4_STAR_SPIRIT_RESCUED) + EVT_SET(GF_MAC01_ShyGuysTramplingGarden, TRUE) + EVT_CALL(SetSelfEnemyFlagBits, ENEMY_FLAGS_400000, 1) + EVT_CALL(BindNpcIdle, NPC_SELF, EVT_PTR(N(EVS_NpcIdle_MinhT))) + EVT_END_SWITCH + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_MinhT_Idle) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_MinhT))) + EVT_RETURN + EVT_END +}; + +// FLOWER GATE + +EvtScript N(EVS_ExitFlowerGate) = { + EVT_SET_GROUP(EVT_GROUP_1B) + EVT_CALL(DisablePlayerInput, TRUE) + EVT_WAIT(2) + EVT_CALL(GetPlayerActionState, LVar3) + EVT_SET(LVar4, 0) + EVT_IF_EQ(LVar3, ACTION_STATE_IDLE) + EVT_ADD(LVar4, 1) + EVT_END_IF + EVT_IF_EQ(LVar3, ACTION_STATE_WALK) + EVT_ADD(LVar4, 1) + EVT_END_IF + EVT_IF_EQ(LVar3, ACTION_STATE_RUN) + EVT_ADD(LVar4, 1) + EVT_END_IF + EVT_IF_EQ(LVar4, 0) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END_IF + EVT_CALL(N(SetPartnerTetherClose)) + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitf, SOUND_2A2, 0) + EVT_EXEC_WAIT(N(EVS_FadeInFlowerGateGlowAlpha)) + EVT_SET(LVar0, 3) + EVT_EXEC_GET_TID(N(EVS_ModulateFlowerGateGlowAlpha), LVar2) + EVT_CALL(PlayerMoveTo, 300, 370, 15) + EVT_CALL(InterpPlayerYaw, -22, 0) + EVT_THREAD + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitf, SOUND_1CF, 0) + EVT_CALL(MakeLerp, 0, -120, 15, EASING_LINEAR) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(RotateGroup, MODEL_to_flo, LVar0, 0, 1, 0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_WAIT(45) + EVT_CALL(MakeLerp, -120, 0, 15, EASING_LINEAR) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(RotateGroup, MODEL_to_flo, LVar0, 0, 1, 0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitf, SOUND_1D0, 0) + EVT_END_THREAD + EVT_WAIT(15) + EVT_CALL(PlayerMoveTo, 257, 300, 30) + EVT_WAIT(60) + EVT_CALL(DisablePlayerPhysics, TRUE) + EVT_CALL(SetPlayerPos, 0, -500, 0) + EVT_CALL(N(ResetPartnerTetherDist)) + EVT_CALL(DisablePartnerAI, 0) + EVT_CALL(SetNpcPos, NPC_PARTNER, 0, -500, 0) + EVT_LOOP(0) + EVT_WAIT(1) + EVT_IS_THREAD_RUNNING(LVar2, LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitf, SOUND_6A2, 0) + EVT_EXEC_WAIT(N(EVS_FadeOutFlowerGateGlowAlpha)) + EVT_CALL(EnableGroup, MODEL_to_flo, FALSE) + EVT_CALL(EnableGroup, MODEL_r_door, TRUE) + EVT_CALL(MakeLerp, 180, 360, 20, EASING_LINEAR) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(RotateModel, MODEL_r_door, LVar0, 0, 1, 0) + EVT_CALL(RotateModel, MODEL_r_gate, LVar0, 0, 1, 0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_IF_EQ(GF_StartedChapter6, FALSE) + EVT_SET(GF_StartedChapter6, TRUE) + EVT_CALL(FadeOutMusic, 0, 1500) + EVT_CALL(GotoMapSpecial, EVT_PTR("kmr_22"), kmr_22_ENTRY_6, TRANSITION_6) + EVT_WAIT(100) + EVT_RETURN + EVT_END_IF + EVT_CALL(GotoMap, EVT_PTR("flo_00"), flo_00_ENTRY_0) + EVT_WAIT(100) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_EnterFlowerGate) = { + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(InterpPlayerYaw, 180, 2) + EVT_CALL(SetPlayerPos, 264, 27, 320) + EVT_CALL(DisablePartnerAI, 0) + EVT_CALL(SetNpcPos, NPC_PARTNER, 264, 27, 320) + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitf, SOUND_2A2, 0) + EVT_EXEC_WAIT(N(EVS_FadeInFlowerGateGlowAlpha)) + EVT_SET(LVar0, 2) + EVT_EXEC_GET_TID(N(EVS_ModulateFlowerGateGlowAlpha), LVar2) + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitf, SOUND_1CF, 0) + EVT_CALL(MakeLerp, 0, -120, 15, EASING_LINEAR) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(RotateGroup, MODEL_to_flo, LVar0, 0, 1, 0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(EnablePartnerAI) + EVT_CALL(N(SetPartnerTetherClose)) + EVT_CALL(PlayerMoveTo, 264, 407, 30) + EVT_CALL(MakeLerp, -120, 0, 15, EASING_LINEAR) + EVT_LOOP(0) + EVT_CALL(UpdateLerp) + EVT_CALL(RotateGroup, MODEL_to_flo, LVar0, 0, 1, 0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitf, SOUND_1D0, 0) + EVT_LOOP(0) + EVT_WAIT(1) + EVT_IS_THREAD_RUNNING(LVar2, LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_stopper, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(N(ResetPartnerTetherDist)) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_CALL(PlaySoundAtCollider, COLLIDER_deilitf, SOUND_6A2, 0) + EVT_EXEC_WAIT(N(EVS_FadeOutFlowerGateGlowAlpha)) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_stopper, COLLIDER_FLAGS_UPPER_MASK) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_SetupFlowerModels) = { + EVT_IF_EQ(GF_MAC01_Planted_MagicalSeed1, FALSE) + EVT_CALL(EnableModel, MODEL_o375, FALSE) + EVT_CALL(EnableModel, MODEL_o370, FALSE) + EVT_END_IF + EVT_IF_EQ(GF_MAC01_Planted_MagicalSeed2, FALSE) + EVT_CALL(EnableModel, MODEL_o377, FALSE) + EVT_CALL(EnableModel, MODEL_o372, FALSE) + EVT_END_IF + EVT_IF_EQ(GF_MAC01_Planted_MagicalSeed3, FALSE) + EVT_CALL(EnableModel, MODEL_o376, FALSE) + EVT_CALL(EnableModel, MODEL_o371, FALSE) + EVT_END_IF + EVT_IF_EQ(GF_MAC01_Planted_MagicalSeed4, FALSE) + EVT_CALL(EnableModel, MODEL_o378, FALSE) + EVT_CALL(EnableModel, MODEL_o373, FALSE) + EVT_END_IF + EVT_IF_LT(GB_StoryProgress, STORY_CH6_FLOWER_GATE_OPEN) + EVT_CALL(EnableGroup, MODEL_to_flo, FALSE) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_deilitf, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_door_ura, COLLIDER_FLAGS_UPPER_MASK) + EVT_END_IF + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_stopper, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(EnableModel, MODEL_pica, FALSE) + EVT_CALL(EnableModel, MODEL_r_door, FALSE) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_01/npc/post_office.inc.c b/src/world/area_mac/mac_01/npc/post_office.inc.c new file mode 100644 index 0000000000..0ca6f07a24 --- /dev/null +++ b/src/world/area_mac/mac_01/npc/post_office.inc.c @@ -0,0 +1,477 @@ +typedef struct PostOfficeEntry { + /* 0x00 */ s32 partnerID; + /* 0x04 */ s32 itemID; + /* 0x08 */ s32 letterFromMessage; + /* 0x0C */ s32 letterDescMessage; + /* 0x10 */ s32 letterBodyMessage; +} PostOfficeEntry; // size = 0x14 + +#define LETTER_MESSAGES(name) \ + MSG_Document_Letter_##name##_From, \ + MSG_Document_Letter_##name##_Desc, \ + MSG_Document_Letter_##name##_Body + +PostOfficeEntry N(PostOfficeLetters)[] = { + { PARTNER_GOOMBARIO, ITEM_LETTER25, LETTER_MESSAGES(Goombario2) }, + { PARTNER_GOOMBARIO, ITEM_LETTER25, LETTER_MESSAGES(Goombario1) }, + { PARTNER_GOOMBARIO, ITEM_LETTER25, LETTER_MESSAGES(Goombario3) }, + { PARTNER_KOOPER, ITEM_LETTER25, LETTER_MESSAGES(Kooper3) }, + { PARTNER_KOOPER, ITEM_LETTER25, LETTER_MESSAGES(Kooper2) }, + { PARTNER_KOOPER, ITEM_LETTER25, LETTER_MESSAGES(Kooper1) }, + { PARTNER_BOMBETTE, ITEM_LETTER25, LETTER_MESSAGES(Bombette2) }, + { PARTNER_BOMBETTE, ITEM_LETTER25, LETTER_MESSAGES(Bombette3) }, + { PARTNER_BOMBETTE, ITEM_LETTER25, LETTER_MESSAGES(Bombette1) }, + { PARTNER_PARAKARRY, ITEM_LETTER25, LETTER_MESSAGES(Parakarry1) }, + { PARTNER_PARAKARRY, ITEM_LETTER25, LETTER_MESSAGES(Parakarry2) }, + { PARTNER_BOW, ITEM_LETTER25, LETTER_MESSAGES(Bow1) }, + { PARTNER_BOW, ITEM_LETTER25, LETTER_MESSAGES(Bow2) }, + { PARTNER_WATT, ITEM_LETTER25, LETTER_MESSAGES(Watt1) }, + { PARTNER_WATT, ITEM_LETTER25, LETTER_MESSAGES(Watt2) }, + { PARTNER_SUSHIE, ITEM_LETTER25, LETTER_MESSAGES(Sushie2) }, + { PARTNER_SUSHIE, ITEM_LETTER25, LETTER_MESSAGES(Sushie1) }, + { PARTNER_LAKILESTER, ITEM_LETTER25, LETTER_MESSAGES(Lakilester2) }, + { PARTNER_LAKILESTER, ITEM_LETTER25, LETTER_MESSAGES(Lakilester1) }, +}; + +API_CALLABLE(N(func_80244E90_805710)) { + PlayerData* playerData = &gPlayerData; + s32 var_s2 = -1; + u32 i; + + for (i = 0; i < ARRAY_COUNT(N(PostOfficeLetters)); i++) { + if (playerData->partners[N(PostOfficeLetters)[i].partnerID].enabled && + evt_get_variable(NULL, GF_MAC01_UnlockedLetter_00 + i)) + { + if (!evt_get_variable(NULL, GF_MAC01_ReadLetter_00 + i)) { + var_s2 = 1; + break; + } else { + var_s2 = 0; + } + } + } + script->varTable[0] = var_s2; + return ApiStatus_DONE2; +} + +s32 func_80244F5C_8057DC(s32 partner) { + s32 ret = 0; + u32 i; + + for (i = 0; i < ARRAY_COUNT(N(PostOfficeLetters)); i++) { + if (N(PostOfficeLetters)[i].partnerID == partner && + evt_get_variable(NULL, GF_MAC01_UnlockedLetter_00 + i)) + { + if (ret == 0) { + ret = 1; + } + if (!evt_get_variable(NULL, GF_MAC01_ReadLetter_00 + i)) { + ret = 2; + break; + } + } + } + return ret; +} + +API_CALLABLE(N(func_80245018_805898)) { + D_80262F68 = 0; + return ApiStatus_DONE2; +} + +API_CALLABLE(N(func_80245028_8058A8)) { + PopupMenu* menu = &D_80262C38; + PartnerPopupProperties* temp_s2; + PlayerData* playerData = &gPlayerData; + s32 partnerID; + s32 cond; + s32 numEntries; + s32 i; + + if (isInitialCall) { + numEntries = 0; + + for (i = 1; i < 12; i++) { + partnerID = D_8008EEC0[i]; + if (playerData->partners[partnerID].enabled && partnerID != PARTNER_GOOMPA) { + temp_s2 = &gPartnerPopupProperties[partnerID]; + cond = func_80244F5C_8057DC(partnerID); + if (cond) { + menu->ptrIcon[numEntries] = wPartnerHudScripts[partnerID]; + menu->userIndex[numEntries] = partnerID; + menu->enabled[numEntries] = TRUE; + menu->nameMsg[numEntries] = temp_s2->nameMsg; + menu->descMsg[numEntries] = temp_s2->worldDescMsg; + menu->value[numEntries] = playerData->partners[partnerID].level; + if (cond == TRUE) { + menu->enabled[numEntries] = FALSE; + menu->ptrIcon[numEntries] = wDisabledPartnerHudScripts[partnerID]; + } + numEntries++; + } + } + } + menu->popupType = POPUP_MENU_POST_OFFICE; + menu->numEntries = numEntries; + menu->initialPos = D_80262F68; + create_popup_menu(menu); + status_menu_respond_to_changes(); + close_status_menu(); + script->functionTemp[0] = 0; + } + + if (script->functionTemp[0] == 0) { + script->functionTemp[1] = menu->result; + if (script->functionTemp[1] != 0) { + hide_popup_menu(); + } else { + return ApiStatus_BLOCK; + } + } + + script->functionTemp[0]++; + if (script->functionTemp[0] < 20) { + return ApiStatus_BLOCK; + } + + destroy_popup_menu(); + if (script->functionTemp[1] == 255) { + script->varTable[1] = -1; + return ApiStatus_DONE2; + } + partnerID = menu->userIndex[script->functionTemp[1] - 1]; + script->varTable[1] = partnerID; // TODO required to match (use of partnerID temp) + D_80262F68 = script->functionTemp[1] - 1; + return ApiStatus_DONE2; +} + +API_CALLABLE(N(func_8024522C_805AAC)) { + s32 vt10 = script->varTable[10]; + PopupMenu* menu = &D_80262C38; + IconHudScriptPair* scriptPair; + s32 letterIdx; + s32 hasRead; + s32 isUnlocked; + s32 numEntries; + u32 i; + + if (isInitialCall) { + numEntries = 0; + + for (i = 0; i < ARRAY_COUNT(N(PostOfficeLetters)); i++) { + isUnlocked = evt_get_variable(NULL, GF_MAC01_UnlockedLetter_00 + i); + hasRead = evt_get_variable(NULL, GF_MAC01_ReadLetter_00 + i); + if (isUnlocked && vt10 == N(PostOfficeLetters)[i].partnerID) { + scriptPair = &gItemHudScripts[gItemTable[84].hudElemID]; + menu->userIndex[numEntries] = i; + menu->nameMsg[numEntries] = N(PostOfficeLetters)[i].letterFromMessage; + menu->descMsg[numEntries] = N(PostOfficeLetters)[i].letterDescMessage; + menu->value[numEntries] = 0; + if (hasRead) { + menu->ptrIcon[numEntries] = scriptPair->disabled; + menu->enabled[numEntries] = FALSE; + } else { + menu->ptrIcon[numEntries] = scriptPair->enabled; + menu->enabled[numEntries] = TRUE; + } + numEntries++; + } + } + menu->popupType = 8; + menu->numEntries = numEntries; + menu->initialPos = 0; + create_popup_menu(menu); + status_menu_respond_to_changes(); + close_status_menu(); + script->functionTemp[0] = 0; + } + + if (script->functionTemp[0] == 0) { + script->functionTemp[1] = menu->result; + if (script->functionTemp[1] != 0) { + hide_popup_menu(); + } else { + return ApiStatus_BLOCK; + } + } + + script->functionTemp[0]++; + if (script->functionTemp[0] < 20) { + return ApiStatus_BLOCK; + } + + destroy_popup_menu(); + if (script->functionTemp[1] == 255) { + script->varTable[1] = -1; + return ApiStatus_DONE2; + } + letterIdx = menu->userIndex[script->functionTemp[1] - 1]; + script->varTable[1] = letterIdx; + script->varTable[0] = N(PostOfficeLetters)[letterIdx].letterBodyMessage; + evt_set_variable(NULL, GF_MAC01_ReadLetter_00 + letterIdx, 1); + return ApiStatus_DONE2; +} + +API_CALLABLE(N(func_80245440_805CC0)) { + if (gPlayerData.currentPartner == script->varTable[10]) { + script->varTable[1] = 0; + return ApiStatus_DONE2; + } + switch_to_partner(script->varTable[10]); + script->varTable[1] = 1; + return ApiStatus_DONE2; +} + +s32 N(ItemList_Mailbag)[] = { + ITEM_MAILBAG, + ITEM_NONE +}; + +EvtScript N(EVS_ItemPrompt_Mailbag) = { + EVT_CALL(FindKeyItem, ITEM_MAILBAG, LVar0) + EVT_IF_EQ(LVar0, -1) + EVT_CALL(SpeakToPlayer, NPC_Postmaster, ANIM_Postmaster_Talk, ANIM_Postmaster_Idle, 0, MSG_MAC_Plaza_0060) + EVT_ELSE + EVT_CALL(SpeakToPlayer, NPC_Postmaster, ANIM_Postmaster_Talk, ANIM_Postmaster_Idle, 0, MSG_MAC_Plaza_0061) + EVT_SET(LVar0, EVT_PTR(N(ItemList_Mailbag))) + EVT_SET(LVar1, 3) + EVT_EXEC_WAIT(N(EVS_ChooseKeyItem)) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(-1) + EVT_CALL(SpeakToPlayer, NPC_Postmaster, ANIM_Postmaster_Talk, ANIM_Postmaster_Idle, 0, MSG_MAC_Plaza_0063) + EVT_CASE_DEFAULT + EVT_CALL(SpeakToPlayer, NPC_Postmaster, ANIM_Postmaster_Talk, ANIM_Postmaster_Idle, 0, MSG_MAC_Plaza_0062) + EVT_SET(GF_MAC01_MailbagReturned, TRUE) + EVT_WAIT(10) + EVT_GIVE_STAR_PIECE() + EVT_WAIT(10) + EVT_END_SWITCH + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Postmaster) = { + EVT_IF_GE(GB_StoryProgress, STORY_CH3_STAR_SPRIT_DEPARTED) + EVT_IF_EQ(GF_MAC01_MailbagReturned, FALSE) + EVT_EXEC_WAIT(N(EVS_ItemPrompt_Mailbag)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_IF_EQ(GF_MAC01_Met_Postmaster, FALSE) + EVT_SET(GF_MAC01_Met_Postmaster, TRUE) + EVT_CALL(N(func_80244E90_805710)) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(-1) + EVT_RETURN + EVT_CASE_EQ(1) + EVT_CALL(SpeakToPlayer, NPC_Postmaster, ANIM_Postmaster_Talk, ANIM_Postmaster_Idle, 0, MSG_MAC_Plaza_0055) + EVT_END_SWITCH + EVT_ELSE + EVT_CALL(N(func_80244E90_805710)) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(-1) + EVT_RETURN + EVT_CASE_EQ(0) + EVT_CALL(SpeakToPlayer, NPC_Postmaster, ANIM_Postmaster_Talk, ANIM_Postmaster_Idle, 0, MSG_MAC_Plaza_0057) + EVT_CASE_EQ(1) + EVT_CALL(SpeakToPlayer, NPC_Postmaster, ANIM_Postmaster_Talk, ANIM_Postmaster_Idle, 0, MSG_MAC_Plaza_0056) + EVT_END_SWITCH + EVT_END_IF + EVT_CALL(N(func_80245018_805898)) + EVT_LABEL(0) + EVT_CALL(N(func_80245028_8058A8)) + EVT_WAIT(5) + EVT_IF_EQ(LVar1, -1) + EVT_CALL(SpeakToPlayer, NPC_Postmaster, ANIM_Postmaster_Talk, ANIM_Postmaster_Idle, 0, MSG_MAC_Plaza_0059) + EVT_CALL(ShowChoice, MSG_Choice_000D) + EVT_CALL(CloseMessage) + EVT_IF_EQ(LVar0, 0) + EVT_GOTO(99) + EVT_ELSE + EVT_GOTO(0) + EVT_END_IF + EVT_END_IF + EVT_SET(LVarA, LVar1) + EVT_CALL(N(func_8024522C_805AAC)) + EVT_WAIT(5) + EVT_IF_EQ(LVar1, -1) + EVT_GOTO(0) + EVT_END_IF + EVT_CALL(N(func_80245440_805CC0)) + EVT_IF_EQ(LVar1, 1) + EVT_WAIT(30) + EVT_CALL(InterpNpcYaw, NPC_PARTNER, 90, 1) + EVT_END_IF + EVT_CALL(SpeakToPlayer, NPC_Postmaster, ANIM_Postmaster_Talk, ANIM_Postmaster_Idle, 0, MSG_MAC_Plaza_005C) + EVT_CALL(ShowMessageAtScreenPos, LVar0, 160, 40) + EVT_WAIT(5) + EVT_IF_LT(GB_StoryProgress, STORY_CH1_DEFEATED_JR_TROOPA) + EVT_GOTO(99) + EVT_END_IF + EVT_CALL(SpeakToPlayer, NPC_Postmaster, ANIM_Postmaster_Talk, ANIM_Postmaster_Idle, 0, MSG_MAC_Plaza_005A) + EVT_CALL(ShowChoice, MSG_Choice_000D) + EVT_CALL(CloseMessage) + EVT_IF_EQ(LVar0, 0) + EVT_GOTO(0) + EVT_END_IF + EVT_LABEL(99) + EVT_IF_EQ(GF_MAC01_CheckedForLetters, FALSE) + EVT_CALL(SpeakToPlayer, NPC_Postmaster, ANIM_Postmaster_Talk, ANIM_Postmaster_Idle, 0, MSG_MAC_Plaza_005D) + EVT_SET(GF_MAC01_CheckedForLetters, TRUE) + EVT_ELSE + EVT_CALL(SpeakToPlayer, NPC_Postmaster, ANIM_Postmaster_Talk, ANIM_Postmaster_Idle, 0, MSG_MAC_Plaza_005E) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Postmaster_Epilogue) = { + EVT_CALL(SpeakToPlayer, NPC_Postmaster, ANIM_Postmaster_Talk, ANIM_Postmaster_Idle, 0, MSG_Outro_0043) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Postmaster) = { + EVT_CALL(SetNpcCollisionSize, NPC_SELF, 36, 42) + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_GE(STORY_EPILOGUE) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Postmaster_Epilogue))) + EVT_CASE_DEFAULT + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Postmaster))) + EVT_END_SWITCH + EVT_IF_GE(GB_StoryProgress, STORY_CH3_BOW_JOINED_PARTY) + EVT_SET(GF_MAC01_UnlockedLetter_01, TRUE) + EVT_END_IF + EVT_IF_GE(GB_StoryProgress, STORY_CH5_REACHED_LAVA_LAVA_ISLAND) + EVT_SET(GF_MAC01_UnlockedLetter_00, TRUE) + EVT_END_IF + EVT_SET(GF_MAC01_UnlockedLetter_02, TRUE) + EVT_IF_GE(GB_StoryProgress, STORY_CH1_STAR_SPRIT_DEPARTED) + EVT_SET(GF_MAC01_UnlockedLetter_05, TRUE) + EVT_END_IF + EVT_IF_GE(GB_StoryProgress, STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_SET(GF_MAC01_UnlockedLetter_04, TRUE) + EVT_END_IF + EVT_IF_GE(GB_StoryProgress, STORY_CH6_RETURNED_TO_TOAD_TOWN) + EVT_SET(GF_MAC01_UnlockedLetter_03, TRUE) + EVT_END_IF + EVT_IF_GE(GB_StoryProgress, STORY_CH5_RETURNED_TO_TOAD_TOWN) + EVT_SET(GF_MAC01_UnlockedLetter_08, TRUE) + EVT_END_IF + EVT_IF_GE(GB_StoryProgress, STORY_CH2_ARRIVED_AT_DRY_DRY_OUTPOST) + EVT_SET(GF_MAC01_UnlockedLetter_06, TRUE) + EVT_END_IF + EVT_IF_GE(GB_StoryProgress, STORY_CH7_RAISED_FROZEN_STAIRS) + EVT_SET(GF_MAC01_UnlockedLetter_07, TRUE) + EVT_END_IF + EVT_IF_GE(GB_StoryProgress, STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_SET(GF_MAC01_UnlockedLetter_09, TRUE) + EVT_END_IF + EVT_IF_GE(GB_IWA00_Whacka_HitCount, 2) + EVT_SET(GF_MAC01_UnlockedLetter_0A, TRUE) + EVT_END_IF + EVT_IF_GE(GB_StoryProgress, STORY_CH5_RETURNED_TO_TOAD_TOWN) + EVT_SET(GF_MAC01_UnlockedLetter_0B, TRUE) + EVT_END_IF + EVT_IF_GE(GB_StoryProgress, STORY_CH3_STAR_SPRIT_DEPARTED) + EVT_SET(GF_MAC01_UnlockedLetter_0C, TRUE) + EVT_END_IF + EVT_IF_GE(GB_StoryProgress, STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(GF_MAC01_UnlockedLetter_0D, TRUE) + EVT_END_IF + EVT_IF_GE(GB_StoryProgress, STORY_CH5_RETURNED_TO_TOAD_TOWN) + EVT_SET(GF_MAC01_UnlockedLetter_0E, TRUE) + EVT_END_IF + EVT_IF_GE(GB_StoryProgress, STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(GF_MAC01_UnlockedLetter_10, TRUE) + EVT_END_IF + EVT_IF_GE(GB_StoryProgress, STORY_CH8_REACHED_STAR_HAVEN) + EVT_SET(GF_MAC01_UnlockedLetter_0F, TRUE) + EVT_END_IF + EVT_IF_GE(GB_StoryProgress, STORY_CH6_RETURNED_TO_TOAD_TOWN) + EVT_SET(GF_MAC01_UnlockedLetter_12, TRUE) + EVT_END_IF + EVT_IF_GE(GB_StoryProgress, STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(GF_MAC01_UnlockedLetter_11, TRUE) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Parakarry) = { + EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_WorldParakarry_Talk, ANIM_WorldParakarry_Idle, 0, MSG_MAC_Plaza_0064) + EVT_RETURN + EVT_END +}; + +s32 N(ExtraAnims_Parakarry)[] = { + ANIM_WorldParakarry_Still, + ANIM_WorldParakarry_Idle, + ANIM_WorldParakarry_Talk, + -1 +}; + +EvtScript N(EVS_NpcInit_Parakarry) = { + EVT_CALL(SetNpcCollisionSize, NPC_SELF, 37, 26) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Parakarry))) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_WorldParakarry_Idle) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_CarryItem_PostOfficeShyGuy) = { + EVT_CALL(GetNpcPos, NPC_PostOfficeShyGuy, LVar2, LVar3, LVar4) + EVT_ADD(LVar3, 20) + EVT_CALL(MakeItemEntity, ITEM_MAILBAG, LVar2, LVar3, LVar4, ITEM_SPAWN_MODE_DECORATION, 0) + EVT_SET(LVar9, LVar0) + EVT_WAIT(1) + EVT_LOOP(140) + EVT_CALL(GetNpcPos, NPC_PostOfficeShyGuy, LVar2, LVar3, LVar4) + EVT_ADD(LVar3, 20) + EVT_CALL(SetItemPos, LVar9, LVar2, LVar3, LVar4) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(RemoveItemEntity, LVar9) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_PostOfficeShyGuy_Escape) = { + EVT_CALL(SetNpcPos, NPC_PostOfficeShyGuy, 357, 20, -440) + EVT_CALL(SetNpcAnimation, NPC_PostOfficeShyGuy, ANIM_ShyGuy_Red_Anim04) + EVT_EXEC(N(EVS_CarryItem_PostOfficeShyGuy)) + EVT_CALL(DisablePlayerInput, TRUE) + EVT_WAIT(60) + EVT_CALL(PlaySoundAtNpc, NPC_PostOfficeShyGuy, SOUND_32C, 0) + EVT_CALL(NpcJump0, NPC_PostOfficeShyGuy, 247, 20, -440, 20) + EVT_SET(LVar0, 6) + EVT_CALL(PlaySoundAtNpc, LVar0, SOUND_203F, 0) + EVT_EXEC_GET_TID(N(D_8024E6F8_80EF78), LVarA) + EVT_CALL(NpcMoveTo, NPC_PostOfficeShyGuy, 180, -410, 20) + EVT_CALL(NpcMoveTo, NPC_PostOfficeShyGuy, 150, -333, 8) + EVT_KILL_THREAD(LVarA) + EVT_CALL(SetNpcPos, NPC_PostOfficeShyGuy, NPC_DISPOSE_LOCATION) + EVT_SET(GF_MAC01_MailbagStolen, TRUE) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_Scene_MailbagTheft) = { + EVT_IF_LT(GB_StoryProgress, STORY_CH3_STAR_SPRIT_DEPARTED) + EVT_RETURN + EVT_END_IF + EVT_IF_GT(GB_StoryProgress, STORY_CH4_STAR_SPIRIT_RESCUED) + EVT_RETURN + EVT_END_IF + EVT_IF_NE(GF_MAC01_MailbagStolen, FALSE) + EVT_RETURN + EVT_END_IF + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(SpeakToPlayer, NPC_Postmaster, ANIM_Postmaster_Talk, ANIM_Postmaster_IdleAlt, 0, MSG_MAC_Plaza_005F) + EVT_EXEC(N(EVS_PostOfficeShyGuy_Escape)) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_01/npc/read_fortune.inc.c b/src/world/area_mac/mac_01/npc/read_fortune.inc.c new file mode 100644 index 0000000000..6e6c4fcbbb --- /dev/null +++ b/src/world/area_mac/mac_01/npc/read_fortune.inc.c @@ -0,0 +1,493 @@ +API_CALLABLE(N(func_802440FC_80497C)) { + if (isInitialCall) { + set_mdl_custom_gfx_set(get_model_from_list_index(get_model_list_index_from_tree_index(MODEL_o283)), -1, 3); + set_mdl_custom_gfx_set(get_model_from_list_index(get_model_list_index_from_tree_index(MODEL_o279)), -1, 3); + set_mdl_custom_gfx_set(get_model_from_list_index(get_model_list_index_from_tree_index(MODEL_dr_yuka)), -1, 3); + set_model_env_color_parameters(255, 255, 255, 0, 0, 0); + script->functionTemp[0] = 255; + } + script->functionTemp[0] -= 4; + if (script->functionTemp[0] < 64) { + script->functionTemp[0] = 64; + } + set_model_env_color_parameters(script->functionTemp[0], script->functionTemp[0], script->functionTemp[0], 0, 0, 0); + if (script->functionTemp[0] == 64) { + return ApiStatus_DONE2; + } + return ApiStatus_BLOCK; +} + +API_CALLABLE(N(func_802441EC_804A6C)) { + if (isInitialCall) { + script->functionTemp[0] = 64; + script->functionTemp[2] = 64; + script->functionTemp[1] = 0; + } + if (script->functionTemp[1] == 0) { + script->functionTemp[0] += 4; + script->functionTemp[2] += 4; + if (script->functionTemp[0] > 127) { + script->functionTemp[0] = 127; + } + if (script->functionTemp[2] > 127) { + script->functionTemp[2] = 127; + } + if (script->functionTemp[0] == 127 && (script->functionTemp[2] == script->functionTemp[0])) { + script->functionTemp[1] = 1; + } + } else { + script->functionTemp[0] -= 4; + script->functionTemp[2] -= 4; + if (script->functionTemp[0] < 64) { + script->functionTemp[0] = 64; + } + if (script->functionTemp[2] < 0) { + script->functionTemp[2] = 0; + } + } + set_model_env_color_parameters( + script->functionTemp[0], script->functionTemp[0], script->functionTemp[0], + script->functionTemp[2], script->functionTemp[2], script->functionTemp[2] + ); + if (script->functionTemp[0] == 64 && script->functionTemp[2] == 0) { + return ApiStatus_DONE2; + } + return ApiStatus_BLOCK; +} + +API_CALLABLE(N(func_80244308_804B88)) { + if (isInitialCall) { + script->functionTemp[0] = 64; + } + script->functionTemp[0] += 4; + if (script->functionTemp[0] > 255) { + script->functionTemp[0] = 255; + } + set_model_env_color_parameters(script->functionTemp[0], script->functionTemp[0], script->functionTemp[0], 0, 0, 0); + if (script->functionTemp[0] == 255) { + set_mdl_custom_gfx_set(get_model_from_list_index(get_model_list_index_from_tree_index(MODEL_o283)), -1, 0); + set_mdl_custom_gfx_set(get_model_from_list_index(get_model_list_index_from_tree_index(MODEL_o279)), -1, 0); + set_mdl_custom_gfx_set(get_model_from_list_index(get_model_list_index_from_tree_index(MODEL_dr_yuka)), -1, 0); + return ApiStatus_DONE2; + } + return ApiStatus_BLOCK; +} + +// identical to hos_06 func +// TODO may not be motionBlurFlame +API_CALLABLE(N(func_802443E0_804C60)) { + EffectInstance* effects[3]; + Matrix4f sp28, sp68; + f32 tx; + f32 ty; + f32 temp_f24; + f32 temp_f28; + f32 temp_f30; + s32 i; + + if (isInitialCall) { + script->functionTemp[0] = 180; + script->functionTempPtr[1] = (EffectInstance*) evt_get_variable(script, ArrayVar(3)); + script->functionTempPtr[2] = (EffectInstance*) evt_get_variable(script, ArrayVar(4)); + script->functionTempPtr[3] = (EffectInstance*) evt_get_variable(script, ArrayVar(5)); + } + + effects[0] = script->functionTempPtr[1]; + effects[1] = script->functionTempPtr[2]; + effects[2] = script->functionTempPtr[3]; + temp_f30 = (sin_deg(script->functionTemp[0]) * 10.0f) + 10.0f; + temp_f28 = (sin_deg(script->functionTemp[0]) * 25.0f) + 10.0f; + temp_f24 = script->functionTemp[0] * 10; + + for (i = 0; i < ARRAY_COUNT(effects); i++) { + guRotateF(sp28, -gCameras[gCurrentCameraID].currentYaw, 0.0f, 1.0f, 0.0f); + guRotateF(sp68, i * 120, 0.0f, 0.0f, 1.0f); + guMtxCatF(sp68, sp28, sp28); + tx = temp_f30 * sin_deg(temp_f24); + ty = temp_f28 * cos_deg(temp_f24); + guTranslateF(sp68, tx, ty, 0.0f); + guMtxCatF(sp68, sp28, sp28); + effects[i]->data.motionBlurFlame->pos.x = sp28[3][0]; + effects[i]->data.motionBlurFlame->pos.y = sp28[3][1]; + effects[i]->data.motionBlurFlame->pos.z = sp28[3][2]; + } + + script->functionTemp[0]--; + if (script->functionTemp[0] < 16) { + for (i = 0; i < ARRAY_COUNT(effects); i++) { + effects[i]->data.motionBlurFlame->unk_4C = script->functionTemp[0]; + } + } + + if (script->functionTemp[0] < 0) { + for (i = 0; i < ARRAY_COUNT(effects); i++) { + remove_effect(effects[i]); + } + return ApiStatus_DONE2; + } + return ApiStatus_BLOCK; +} + +// identical to hos_06 func +API_CALLABLE(N(func_802446AC_804F2C)) { + Bytecode* args = script->ptrReadPos; + EffectInstance* effect = (EffectInstance*) evt_get_variable(script, *args++); + + // TODO effect may be wrong + effect->data.energyOrbWave->unk_1C++; + return ApiStatus_DONE2; +} + +EvtScript N(EVS_Merlon_AnimateDiscoBall) = { + EVT_CALL(EnableModel, MODEL_mirrorball, TRUE) + EVT_SET(LVar0, 328) + EVT_SET(LVar1, 0) + EVT_LOOP(50) + EVT_ADD(LVar0, -2) + EVT_CALL(TranslateModel, MODEL_mirrorball, -590, LVar0, -646) + EVT_ADD(LVar1, 3) + EVT_IF_GE(LVar1, 360) + EVT_ADD(LVar1, -360) + EVT_END_IF + EVT_CALL(RotateModel, MODEL_mirrorball, LVar1, 0, 1, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_LOOP(0) + EVT_CALL(TranslateModel, MODEL_mirrorball, -590, LVar0, -646) + EVT_ADD(LVar1, 3) + EVT_IF_GE(LVar1, 360) + EVT_ADD(LVar1, -360) + EVT_END_IF + EVT_CALL(RotateModel, MODEL_mirrorball, LVar1, 0, 1, 0) + EVT_WAIT(1) + EVT_IF_EQ(ArrayVar(6), 1) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_LOOP(150) + EVT_ADD(LVar0, 0) + EVT_CALL(TranslateModel, MODEL_mirrorball, -590, LVar0, -646) + EVT_ADD(LVar1, 6) + EVT_IF_GE(LVar1, 360) + EVT_ADD(LVar1, -360) + EVT_END_IF + EVT_CALL(RotateModel, MODEL_mirrorball, LVar1, 0, 1, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_LOOP(0) + EVT_CALL(TranslateModel, MODEL_mirrorball, -590, LVar0, -646) + EVT_ADD(LVar1, 3) + EVT_IF_GE(LVar1, 360) + EVT_ADD(LVar1, -360) + EVT_END_IF + EVT_CALL(RotateModel, MODEL_mirrorball, LVar1, 0, 1, 0) + EVT_WAIT(1) + EVT_IF_EQ(ArrayVar(6), 2) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_LOOP(50) + EVT_ADD(LVar0, 2) + EVT_CALL(TranslateModel, MODEL_mirrorball, -590, LVar0, -646) + EVT_ADD(LVar1, 3) + EVT_IF_GE(LVar1, 360) + EVT_ADD(LVar1, -360) + EVT_END_IF + EVT_CALL(RotateModel, MODEL_mirrorball, LVar1, 0, 1, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(EnableModel, MODEL_mirrorball, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_Merlon_ReadFortuneFX) = { + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_RaiseArms) + EVT_CALL(GetModelCenter, MODEL_tama) + EVT_CALL(PlaySoundAt, SOUND_207, 0, LVar0, LVar1, LVar2) + EVT_PLAY_EFFECT(EFFECT_ENERGY_ORB_WAVE, 0, LVar0, LVar1, LVar2, EVT_FLOAT(1.0), -1) + EVT_SET(ArrayVar(1), LVarF) + EVT_WAIT(30) + EVT_SET(ArrayVar(6), 0) + EVT_EXEC(N(EVS_Merlon_AnimateDiscoBall)) + EVT_WAIT(30) + EVT_THREAD + EVT_CALL(N(func_802440FC_80497C)) + EVT_END_THREAD + EVT_CALL(GetPlayerPos, LVar0, LVar1, LVar2) + EVT_CALL(SetPanTarget, CAM_DEFAULT, LVar0, LVar1, LVar2) + EVT_CALL(UseSettingsFrom, CAM_DEFAULT, LVar0, LVar1, LVar2) + EVT_CALL(GetCamDistance, CAM_DEFAULT, LVar0) + EVT_IF_GT(LVar0, 0) + EVT_SETF(LVar0, EVT_FLOAT(284.6)) + EVT_ELSE + EVT_SETF(LVar0, EVT_FLOAT(-284.6)) + EVT_END_IF + EVT_CALL(SetCamDistance, CAM_DEFAULT, LVar0) + EVT_CALL(GetCamPitch, CAM_DEFAULT, LVar0, LVar1) + EVT_SETF(LVar1, EVT_FLOAT(-11.0)) + EVT_CALL(SetCamPitch, CAM_DEFAULT, LVar0, LVar1) + EVT_CALL(PanToTarget, CAM_DEFAULT, 0, 1) + EVT_CALL(WaitForCam, CAM_DEFAULT, EVT_FLOAT(1.0)) + EVT_SET(ArrayVar(6), 1) + EVT_PLAY_EFFECT(EFFECT_MERLIN_HOUSE_STARS, 0, -298, 21, -330) + EVT_SET(ArrayVar(2), LVarF) + EVT_CALL(GetModelCenter, MODEL_tama) + EVT_PLAY_EFFECT(EFFECT_MOTION_BLUR_FLAME, 0, LVar0, LVar1, LVar2, 1, -1) + EVT_SET(ArrayVar(3), LVarF) + EVT_PLAY_EFFECT(EFFECT_MOTION_BLUR_FLAME, 0, LVar0, LVar1, LVar2, 1, -1) + EVT_SET(ArrayVar(4), LVarF) + EVT_PLAY_EFFECT(EFFECT_MOTION_BLUR_FLAME, 0, LVar0, LVar1, LVar2, 1, -1) + EVT_SET(ArrayVar(5), LVarF) + EVT_THREAD + EVT_CALL(N(func_802443E0_804C60)) + EVT_END_THREAD + EVT_WAIT(50) + EVT_CALL(GetModelCenter, MODEL_tama) + EVT_CALL(PlaySoundAt, SOUND_208, 0, LVar0, LVar1, LVar2) + EVT_PLAY_EFFECT(EFFECT_ENERGY_ORB_WAVE, 3, LVar0, LVar1, LVar2, EVT_FLOAT(0.5), 20) + EVT_WAIT(30) + EVT_CALL(GetModelCenter, MODEL_tama) + EVT_CALL(PlaySoundAt, SOUND_208, 0, LVar0, LVar1, LVar2) + EVT_PLAY_EFFECT(EFFECT_ENERGY_ORB_WAVE, 3, LVar0, LVar1, LVar2, EVT_FLOAT(0.5), 20) + EVT_WAIT(30) + EVT_THREAD + EVT_CALL(N(func_802441EC_804A6C)) + EVT_END_THREAD + EVT_CALL(GetModelCenter, MODEL_tama) + EVT_CALL(PlaySoundAt, SOUND_208, 0, LVar0, LVar1, LVar2) + EVT_PLAY_EFFECT(EFFECT_ENERGY_ORB_WAVE, 4, LVar0, LVar1, LVar2, EVT_FLOAT(0.5), 20) + EVT_WAIT(70) + EVT_CALL(func_802D7B10, ArrayVar(2)) + EVT_WAIT(40) + EVT_CALL(PlaySoundAt, SOUND_607, 0, LVar0, LVar1, LVar2) + EVT_CALL(N(func_802446AC_804F2C), ArrayVar(1)) + EVT_WAIT(15) + EVT_CALL(func_802D7B10, ArrayVar(1)) + EVT_THREAD + EVT_CALL(N(func_80244308_804B88)) + EVT_END_THREAD + EVT_WAIT(46) + EVT_SET(ArrayVar(6), 2) + EVT_CALL(ResetCam, CAM_DEFAULT, EVT_FLOAT(5.0)) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Idle) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_Merlon_GiveHint) = { + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_0036) + EVT_CALL(ShowCoinCounter, TRUE) + EVT_CALL(ShowChoice, MSG_Choice_000D) + EVT_IF_NE(LVar0, 0) + EVT_CALL(ShowCoinCounter, FALSE) + EVT_CALL(ContinueSpeech, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_0039) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END_IF + EVT_CALL(N(GetPlayerCoins)) + EVT_IF_LT(LVar0, 5) + EVT_CALL(ShowCoinCounter, FALSE) + EVT_CALL(ContinueSpeech, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_003A) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END_IF + EVT_CALL(AddCoin, -5) + EVT_CALL(ShowCoinCounter, FALSE) + EVT_CALL(ContinueSpeech, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, MSG_MAC_Plaza_0037) + EVT_CALL(SetNpcAnimation, NPC_Merlon, ANIM_Merlon_Gather1) + EVT_WAIT(10) + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Gather1, ANIM_Merlon_Gather1, 0, MSG_MAC_Plaza_0038) + EVT_EXEC(N(EVS_PlaySpellcastSong)) + EVT_WAIT(20) + EVT_IF_EQ(MV_FortuneFXHandles, 0) + EVT_MALLOC_ARRAY(20, MV_FortuneFXHandles) + EVT_END_IF + EVT_USE_ARRAY(MV_FortuneFXHandles) + EVT_EXEC_WAIT(N(EVS_Merlon_ReadFortuneFX)) + EVT_WAIT(20) + EVT_EXEC(N(EVS_ResetMusicAfterFortune)) + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH1_MERLIN_REVEALED_KOOPA_BROS) + EVT_SET(LVar0, MSG_MerlonHint_0000) + EVT_CASE_LT(STORY_CH1_KNOCKED_SWITCH_FROM_TREE) + EVT_SET(LVar0, MSG_MerlonHint_0001) + EVT_CASE_LT(STORY_CH1_KOOPER_JOINED_PARTY) + EVT_SET(LVar0, MSG_MerlonHint_0002) + EVT_CASE_LT(STORY_CH1_SPOTTED_BY_KOOPA_BROS) + EVT_SET(LVar0, MSG_MerlonHint_0003) + EVT_CASE_LT(STORY_CH1_BOMBETTE_JOINED_PARTY) + EVT_SET(LVar0, MSG_MerlonHint_0004) + EVT_CASE_LT(STORY_CH1_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MerlonHint_0005) + EVT_CASE_LT(STORY_CH2_PARAKARRY_JOINED_PARTY) + EVT_IF_EQ(GF_MAC03_BombedRock, FALSE) + EVT_SET(LVar0, MSG_MerlonHint_0006) + EVT_ELSE + EVT_SET(LVar0, MSG_MerlonHint_0007) + EVT_END_IF + EVT_CASE_LT(STORY_CH2_ARRIVED_AT_DRY_DRY_DESERT) + EVT_SET(LVar0, MSG_MerlonHint_0008) + EVT_CASE_LT(STORY_CH2_ARRIVED_AT_DRY_DRY_OUTPOST) + EVT_SET(LVar0, MSG_MerlonHint_0009) + EVT_CASE_LT(STORY_CH2_SHADY_MOUSE_ENTERED_SHOP) + EVT_SET(LVar0, MSG_MerlonHint_000A) + EVT_CASE_LT(STORY_CH2_BOUGHT_SECRET_ITEMS) + EVT_SET(LVar0, MSG_MerlonHint_000B) + EVT_CASE_LT(STORY_CH2_GOT_PULSE_STONE) + EVT_SET(LVar0, MSG_MerlonHint_000C) + EVT_CASE_LT(STORY_CH2_UNCOVERED_DRY_DRY_RUINS) + EVT_SET(LVar0, MSG_MerlonHint_000D) + EVT_CASE_LT(STORY_CH2_SOLVED_ARTIFACT_PUZZLE) + EVT_SET(LVar0, MSG_MerlonHint_000E) + EVT_CASE_LT(STORY_CH2_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MerlonHint_000F) + EVT_CASE_LT(STORY_UNUSED_FFFFFFCC) + EVT_SET(LVar0, MSG_MerlonHint_0010) + EVT_CASE_LT(STORY_CH3_ALLOWED_INTO_FOREVER_FOREST) + EVT_SET(LVar0, MSG_MerlonHint_0011) + EVT_CASE_LT(STORY_CH3_ARRIVED_AT_BOOS_MANSION) + EVT_SET(LVar0, MSG_MerlonHint_0012) + EVT_CASE_LT(STORY_CH3_ENTERED_BOOS_MANSION) + EVT_SET(LVar0, MSG_MerlonHint_0013) + EVT_CASE_LT(STORY_CH3_GOT_WEIGHT) + EVT_SET(LVar0, MSG_MerlonHint_0014) + EVT_CASE_LT(STORY_CH3_WEIGHED_DOWN_CHANDELIER) + EVT_SET(LVar0, MSG_MerlonHint_0015) + EVT_CASE_LT(STORY_CH3_GOT_BOO_PORTRAIT) + EVT_SET(LVar0, MSG_MerlonHint_0016) + EVT_CASE_LT(STORY_CH3_BOW_JOINED_PARTY) + EVT_SET(LVar0, MSG_MerlonHint_0017) + EVT_CASE_LT(STORY_CH3_ARRIVED_AT_TUBBAS_MANOR) + EVT_SET(LVar0, MSG_MerlonHint_0018) + EVT_CASE_LT(STORY_CH3_DEFEATED_TUBBA_BLUBBA) + EVT_IF_EQ(GF_DGB06_Chest_CastleKey1, FALSE) + EVT_SET(LVar0, MSG_MerlonHint_0019) + EVT_BREAK_SWITCH + EVT_END_IF + EVT_IF_EQ(GF_DGB12_Chest_CastleKey1, FALSE) + EVT_SET(LVar0, MSG_MerlonHint_001A) + EVT_BREAK_SWITCH + EVT_END_IF + EVT_IF_EQ(GF_DGB16_Item_CastleKey1, FALSE) + EVT_SET(LVar0, MSG_MerlonHint_001B) + EVT_BREAK_SWITCH + EVT_END_IF + EVT_SET(LVar0, MSG_MerlonHint_001C) + EVT_CASE_LT(STORY_CH3_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MerlonHint_001D) + EVT_CASE_LT(STORY_CH4_FOUND_HIDDEN_DOOR) + EVT_SET(LVar0, MSG_MerlonHint_001E) + EVT_CASE_LT(STORY_CH4_GOT_STOREROOM_KEY) + EVT_SET(LVar0, MSG_MerlonHint_001F) + EVT_CASE_LT(STORY_CH4_GOT_TOY_TRAIN) + EVT_SET(LVar0, MSG_MerlonHint_0020) + EVT_CASE_LT(STORY_CH4_RETURNED_TOY_TRAIN) + EVT_SET(LVar0, MSG_MerlonHint_0021) + EVT_CASE_LT(STORY_CH4_GOT_FRYING_PAN) + EVT_SET(LVar0, MSG_MerlonHint_0022) + EVT_CASE_LT(STORY_CH4_GOT_TAYCE_TS_CAKE) + EVT_SET(LVar0, MSG_MerlonHint_0023) + EVT_CASE_LT(STORY_CH4_GAVE_CAKE_TO_GOURMET_GUY) + EVT_SET(LVar0, MSG_MerlonHint_0024) + EVT_CASE_LT(STORY_CH4_SOLVED_COLOR_PUZZLE) + EVT_SET(LVar0, MSG_MerlonHint_0025) + EVT_CASE_LT(STORY_CH4_DEFEATED_LANTERN_GHOST) + EVT_SET(LVar0, MSG_MerlonHint_0026) + EVT_CASE_LT(STORY_CH4_WATT_JOINED_PARTY) + EVT_SET(LVar0, MSG_MerlonHint_0027) + EVT_CASE_LT(STORY_CH4_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MerlonHint_0028) + EVT_CASE_LT(STORY_CH5_DEFEATED_FUZZIPEDE) + EVT_SET(LVar0, MSG_MerlonHint_0029) + EVT_CASE_LT(STORY_CH5_REACHED_LAVA_LAVA_ISLAND) + EVT_SET(LVar0, MSG_MerlonHint_002A) + EVT_CASE_LT(STORY_CH5_YOSHI_CHILDREN_ARE_MISSING) + EVT_SET(LVar0, MSG_MerlonHint_002B) + EVT_CASE_LT(STORY_CH5_SUSHIE_JOINED_PARTY) + EVT_SET(LVar0, MSG_MerlonHint_002C) + EVT_CASE_LT(STORY_CH5_ALL_YOSHI_CHILDREN_RESCUED) + EVT_SET(LVar0, MSG_MerlonHint_002D) + EVT_CASE_LT(STORY_CH5_MOVED_RAVEN_STATUE) + EVT_SET(LVar0, MSG_MerlonHint_002E) + EVT_CASE_LT(STORY_CH5_RAFAEL_LEFT_NEST) + EVT_SET(LVar0, MSG_MerlonHint_002F) + EVT_CASE_LT(STORY_CH5_ENTERED_MT_LAVA_LAVA) + EVT_SET(LVar0, MSG_MerlonHint_0030) + EVT_CASE_LT(STORY_CH5_GOT_ULTRA_HAMMER) + EVT_SET(LVar0, MSG_MerlonHint_0031) + EVT_CASE_LT(STORY_CH5_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MerlonHint_0032) + EVT_CASE_LT(STORY_CH5_TRADED_VASE_FOR_SEED) + EVT_SET(LVar0, MSG_MerlonHint_0033) + EVT_CASE_LT(STORY_CH6_ARRIVED_AT_FLOWER_FIELDS) + EVT_SET(LVar0, MSG_MerlonHint_0034) + EVT_CASE_LT(STORY_CH6_GOT_MAGICAL_BEAN) + EVT_SET(LVar0, MSG_MerlonHint_0035) + EVT_CASE_LT(STORY_CH6_GOT_FERTILE_SOIL) + EVT_SET(LVar0, MSG_MerlonHint_0036) + EVT_CASE_RANGE(STORY_CH6_GOT_FERTILE_SOIL, STORY_CH6_GOT_WATER_STONE) + EVT_IF_EQ(GF_FLO07_Item_CrystalBerry, FALSE) + EVT_IF_EQ(GF_FLO10_LilyRequestedWaterStone, FALSE) + EVT_SET(LVar0, MSG_MerlonHint_0037) + EVT_ELSE + EVT_SET(LVar0, MSG_MerlonHint_0038) + EVT_END_IF + EVT_ELSE + EVT_SET(LVar0, MSG_MerlonHint_0039) + EVT_END_IF + EVT_CASE_LT(STORY_CH6_DESTROYED_PUFF_PUFF_MACHINE) + EVT_SET(LVar0, MSG_MerlonHint_003A) + EVT_CASE_LT(STORY_CH6_GREW_MAGIC_BEANSTALK) + EVT_SET(LVar0, MSG_MerlonHint_003B) + EVT_CASE_LT(STORY_CH6_STAR_SPIRIT_RESCUED) + EVT_SET(LVar0, MSG_MerlonHint_003C) + EVT_CASE_LT(STORY_CH7_ARRIVED_AT_SHIVER_CITY) + EVT_SET(LVar0, MSG_MerlonHint_003D) + EVT_CASE_LT(STORY_CH7_MAYOR_MURDER_SOLVED) + EVT_SET(LVar0, MSG_MerlonHint_003E) + EVT_CASE_LT(STORY_CH7_GOT_SNOWMAN_SCARF) + EVT_SET(LVar0, MSG_MerlonHint_003F) + EVT_CASE_LT(STORY_CH7_GOT_SNOWMAN_BUCKET) + EVT_SET(LVar0, MSG_MerlonHint_0040) + EVT_CASE_LT(STORY_CH7_UNLOCKED_SHIVER_MOUNTAIN) + EVT_SET(LVar0, MSG_MerlonHint_0041) + EVT_CASE_LT(STORY_CH7_GOT_STAR_STONE) + EVT_SET(LVar0, MSG_MerlonHint_0042) + EVT_CASE_LT(STORY_CH7_ARRIVED_AT_CRYSTAL_PALACE) + EVT_SET(LVar0, MSG_MerlonHint_0043) + EVT_CASE_LT(STORY_CH7_DEFEATED_MIRROR_DUPLIGHOSTS) + EVT_SET(LVar0, MSG_MerlonHint_0044) + EVT_CASE_LT(STORY_CH7_DEFEATED_BOMBETTE_DUPLIGHOSTS) + EVT_SET(LVar0, MSG_MerlonHint_0045) + EVT_CASE_LT(STORY_CH7_FOUND_HIDDEN_ROOM_UNDER_STATUE) + EVT_SET(LVar0, MSG_MerlonHint_0046) + EVT_CASE_LT(STORY_CH7_SOLVED_ALBINO_DINO_PUZZLE) + EVT_SET(LVar0, MSG_MerlonHint_0047) + EVT_CASE_LT(STORY_CH7_STAR_SPRIT_DEPARTED) + EVT_SET(LVar0, MSG_MerlonHint_0048) + EVT_CASE_LT(STORY_CH8_REACHED_STAR_HAVEN) + EVT_SET(LVar0, MSG_MerlonHint_0049) + EVT_CASE_LT(STORY_CH8_REACHED_BOWSERS_CASTLE) + EVT_SET(LVar0, MSG_MerlonHint_004A) + EVT_CASE_LT(STORY_CH8_REACHED_PEACHS_CASTLE) + EVT_IF_NE(GB_KPA81_BowserDoorState, 2) + EVT_SET(LVar0, MSG_MerlonHint_004B) + EVT_BREAK_SWITCH + EVT_END_IF + EVT_IF_NE(GB_KPA82_BowserDoorState, 1) + EVT_SET(LVar0, MSG_MerlonHint_004C) + EVT_BREAK_SWITCH + EVT_END_IF + EVT_SET(LVar0, MSG_MerlonHint_004D) + EVT_CASE_LT(STORY_EPILOGUE) + EVT_SET(LVar0, MSG_MerlonHint_004E) + EVT_END_SWITCH + EVT_CALL(SpeakToPlayer, NPC_Merlon, ANIM_Merlon_Talk, ANIM_Merlon_Idle, 0, LVar0) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; diff --git a/src/world/area_mac/mac_01/npc/rowf_and_rhuff.inc.c b/src/world/area_mac/mac_01/npc/rowf_and_rhuff.inc.c new file mode 100644 index 0000000000..015cfdc1da --- /dev/null +++ b/src/world/area_mac/mac_01/npc/rowf_and_rhuff.inc.c @@ -0,0 +1,758 @@ +API_CALLABLE(N(func_80244984_805204)) { + s32 flagBase = GF_MAC01_RowfBadge_00; + s32 count = 0; + s32 i; + + for (i = 0; i < ARRAY_COUNT(N(RowfBadgeInventory)); i++) { + if (evt_get_variable(NULL, flagBase + i) == 0) { + count++; + } + } + script->varTable[0] = count; + return ApiStatus_DONE2; +} + +API_CALLABLE(N(RhuffUnravelUpdate)) { + s32 rugRotAngle = -evt_get_variable(NULL, MV_RowfRugRotateAngle); + s32 rugRippleAmt = evt_get_variable(NULL, MV_RowfRugRippleAmount); + Npc* npc = script->varTablePtr[7]; + Enemy* enemy = get_enemy(NPC_Rhuff); + f32 theta = (rugRotAngle / 180.0f) * PI; + f32 sinTheta = sin_rad(theta); + f32 cosTheta = cos_rad(theta); + f32 initialPosX = script->varTable[0]; + f32 initialPosY = script->varTable[1]; + + script->varTable[4] = script->varTable[2] + (s32) ((initialPosX * cosTheta) - (initialPosY * sinTheta)); + script->varTable[5] = script->varTable[3] + (s32) ((initialPosX * sinTheta) + (initialPosY * cosTheta)); + + if (rugRotAngle == 0) { + npc->currentAnim = ANIM_Rowf_Idle; + enemy->flags &= ~ENEMY_FLAGS_8000000; + } else { + npc->currentAnim = ANIM_Rowf_Walk; + enemy->flags |= ENEMY_FLAGS_8000000; + } + + if (rugRotAngle == -60) { + npc->flags |= NPC_FLAG_2; + } else { + npc->flags &= ~NPC_FLAG_2; + } + + if (rugRippleAmt != 0) { + npc->currentAnim = ANIM_Rowf_Think; + } + return ApiStatus_DONE2; +} + +void N(gfx_build_rowf_rug_with_ripples)(void) { + s32 rippleAmt = evt_get_variable(NULL, MV_RowfRugRippleAmount); + Vtx* src; + Vtx* copy; + Vtx* vtx; + s32 numCopied; + s32 i; + + mdl_get_copied_vertices(VTX_COPY_0, &src, ©, &numCopied); + + for (i = 0; i < numCopied; i++) { + // 5th set of vertices on the rug from the left + if (src[i].v.ob[0] == -78) { + vtx = ©[i]; + + if (src[i].v.ob[1] == 0) { + vtx->v.ob[1] = src[i].v.ob[1] - (rippleAmt / 4); + } else { + vtx->v.ob[1] = src[i].v.ob[1] + (rippleAmt / 4); + } + // 3rd set of vertices on the rug from the left + } else if (src[i].v.ob[0] == -16) { + vtx = ©[i]; + + if (src[i].v.ob[1] == 0) { + vtx->v.ob[1] = src[i].v.ob[1] - (rippleAmt / 4); + } else { + vtx->v.ob[1] = src[i].v.ob[1] + (rippleAmt / 4); + } + } + } + + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(VTX_COPY_0)); +} + +API_CALLABLE(N(RevealRowfBadges)) { + if (!evt_get_variable(NULL, GF_MAC01_RowfBadgeAvailableA)) { + clear_item_entity_flags(gGameStatusPtr->shopItemEntities[0].index, ITEM_ENTITY_FLAGS_HIDDEN); + } + if (!evt_get_variable(NULL, GF_MAC01_RowfBadgeAvailableB)) { + clear_item_entity_flags(gGameStatusPtr->shopItemEntities[1].index, ITEM_ENTITY_FLAGS_HIDDEN); + } + if (!evt_get_variable(NULL, GF_MAC01_RowfBadgeAvailableC)) { + clear_item_entity_flags(gGameStatusPtr->shopItemEntities[2].index, ITEM_ENTITY_FLAGS_HIDDEN); + } + return ApiStatus_DONE2; +} + +API_CALLABLE(N(HideRowfBadges)) { + if (!evt_get_variable(NULL, GF_MAC01_RowfBadgeAvailableA)) { + set_item_entity_flags(gGameStatusPtr->shopItemEntities[0].index, ITEM_ENTITY_FLAGS_HIDDEN); + } + if (!evt_get_variable(NULL, GF_MAC01_RowfBadgeAvailableB)) { + set_item_entity_flags(gGameStatusPtr->shopItemEntities[1].index, ITEM_ENTITY_FLAGS_HIDDEN); + } + if (!evt_get_variable(NULL, GF_MAC01_RowfBadgeAvailableC)) { + set_item_entity_flags(gGameStatusPtr->shopItemEntities[2].index, ITEM_ENTITY_FLAGS_HIDDEN); + } + return ApiStatus_DONE2; +} + +EvtScript N(EVS_NpcInteract_Rowf_A) = { + EVT_IF_EQ(GF_MAC01_Met_Rowf_Early, FALSE) + EVT_SET(GF_MAC01_Met_Rowf_Early, TRUE) + EVT_SET(AF_MAC_41, TRUE) + EVT_CALL(SpeakToPlayer, NPC_Rowf, ANIM_Rowf_Talk, ANIM_Rowf_Idle, 0, MSG_MAC_Plaza_0000) + EVT_ELSE + EVT_IF_EQ(AF_MAC_41, TRUE) + EVT_CALL(SpeakToPlayer, NPC_Rowf, ANIM_Rowf_Talk, ANIM_Rowf_Idle, 0, MSG_MAC_Plaza_0001) + EVT_ELSE + EVT_SET(AF_MAC_41, TRUE) + EVT_CALL(SpeakToPlayer, NPC_Rowf, ANIM_Rowf_Talk, ANIM_Rowf_Think, 0, MSG_MAC_Plaza_0002) + EVT_END_IF + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Rowf_B) = { + EVT_SET(LVar0, GF_MAC01_RowfBadgeAvailableA) + EVT_ADD(LVar0, GF_MAC01_RowfBadgeAvailableB) + EVT_ADD(LVar0, GF_MAC01_RowfBadgeAvailableC) + EVT_IF_EQ(LVar0, 3) + EVT_IF_LT(GB_StoryProgress, STORY_CH5_RETURNED_TO_TOAD_TOWN) + EVT_SET(LVar1, MSG_MAC_Plaza_0005) + EVT_ELSE + EVT_CALL(N(func_80244984_805204)) + EVT_IF_EQ(LVar0, 0) + EVT_SET(LVar1, MSG_MAC_Plaza_0006) + EVT_ELSE + EVT_SET(LVar1, MSG_MAC_Plaza_0005) + EVT_END_IF + EVT_END_IF + EVT_CALL(SpeakToPlayer, NPC_Rowf, ANIM_Rowf_Talk, ANIM_Rowf_Cheer, 0, LVar1) + EVT_RETURN + EVT_END_IF + EVT_IF_EQ(GF_MAC01_Met_Rowf_Late, FALSE) + EVT_SET(GF_MAC01_Met_Rowf_Late, TRUE) + EVT_CALL(SpeakToPlayer, NPC_Rowf, ANIM_Rowf_Talk, ANIM_Rowf_Cheer, 0, MSG_MAC_Plaza_0003) + EVT_ELSE + EVT_CALL(SpeakToPlayer, NPC_Rowf, ANIM_Rowf_Talk, ANIM_Rowf_Cheer, 0, MSG_MAC_Plaza_0004) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +s32 N(ItemList_Calculator)[] = { + ITEM_CALCULATOR, + ITEM_NONE +}; + +EvtScript N(EVS_NpcInteract_Rowf_C) = { + EVT_IF_EQ(GF_MAC01_CalculatorReturned, TRUE) + EVT_CALL(SpeakToPlayer, NPC_Rowf, ANIM_Rowf_Talk, ANIM_Rowf_Cheer, 0, MSG_MAC_Plaza_000A) + EVT_RETURN + EVT_END_IF + EVT_CALL(SpeakToPlayer, NPC_Rowf, ANIM_Rowf_Talk, ANIM_Rowf_Cheer, 0, MSG_MAC_Plaza_0008) + EVT_SET(LVar0, EVT_PTR(N(ItemList_Calculator))) + EVT_SET(LVar1, 1) + EVT_EXEC_WAIT(N(EVS_ChooseKeyItem)) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_CASE_EQ(-1) + EVT_CALL(SpeakToPlayer, NPC_Rowf, ANIM_Rowf_Talk, ANIM_Rowf_Cheer, 0, MSG_MAC_Plaza_000B) + EVT_CASE_DEFAULT + EVT_CALL(SpeakToPlayer, NPC_Rowf, ANIM_Rowf_Talk, ANIM_Rowf_Cheer, 0, MSG_MAC_Plaza_0009) + EVT_WAIT(10) + EVT_SET(LVar0, ITEM_I_SPY) + EVT_SET(LVar3, 2) + EVT_EXEC_WAIT(N(GiveKeyReward)) + EVT_CALL(AddBadge, LVar0, LVar1) + EVT_SET(GF_MAC01_CalculatorReturned, TRUE) + EVT_WAIT(10) + EVT_CALL(SpeakToPlayer, NPC_Rhuff, ANIM_Rowf_Talk, ANIM_Rowf_Idle, 0, MSG_MAC_Plaza_0011) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_RhuffChapter1) = { + EVT_CALL(SpeakToPlayer, NPC_Rhuff, ANIM_Rowf_Talk, ANIM_Rowf_Idle, 0, MSG_MAC_Plaza_000C) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Rhuff_B) = { + EVT_CALL(SpeakToPlayer, NPC_Rhuff, ANIM_Rowf_Talk, ANIM_Rowf_Idle, 0, MSG_MAC_Plaza_0014) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Rhuff_C) = { + EVT_CALL(N(func_80244984_805204)) + EVT_IF_EQ(LVar0, 0) + EVT_CALL(SpeakToPlayer, NPC_Rhuff, ANIM_Rowf_Talk, ANIM_Rowf_Idle, 0, MSG_MAC_Plaza_000F) + EVT_ELSE + EVT_SET(LVar0, GF_MAC01_RowfBadgeAvailableA) + EVT_ADD(LVar0, GF_MAC01_RowfBadgeAvailableB) + EVT_ADD(LVar0, GF_MAC01_RowfBadgeAvailableC) + EVT_IF_EQ(LVar0, 3) + EVT_CALL(SpeakToPlayer, NPC_Rhuff, ANIM_Rowf_Talk, ANIM_Rowf_Idle, 0, MSG_MAC_Plaza_000E) + EVT_ELSE + EVT_CALL(SpeakToPlayer, NPC_Rhuff, ANIM_Rowf_Talk, ANIM_Rowf_Idle, 0, MSG_MAC_Plaza_000D) + EVT_END_IF + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInteract_Rhuff_D) = { + EVT_IF_EQ(GF_MAC01_CalculatorReturned, TRUE) + EVT_CALL(SpeakToPlayer, NPC_Rhuff, ANIM_Rowf_Talk, ANIM_Rowf_Cheer, 0, MSG_MAC_Plaza_0012) + EVT_ELSE + EVT_CALL(SpeakToPlayer, NPC_Rhuff, ANIM_Rowf_Talk, ANIM_Rowf_Idle, 0, MSG_MAC_Plaza_0010) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcIdle_Rowf) = { + EVT_CALL(SetNpcPos, NPC_Rowf, -250, 0, 295) + EVT_LABEL(0) + EVT_WAIT(10) + EVT_CALL(SetNpcAnimation, NPC_Rowf, ANIM_Rowf_Still) + EVT_CALL(NpcMoveTo, NPC_Rowf, -260, 281, 4) + EVT_WAIT(5) + EVT_CALL(SetNpcAnimation, NPC_Rowf, ANIM_Rowf_Walk) + EVT_CALL(NpcMoveTo, NPC_Rowf, -410, 281, 60) + EVT_CALL(SetNpcAnimation, NPC_Rowf, ANIM_Rowf_Idle) + EVT_CALL(RotateGroup, MODEL_jutan2, 60, 0, 0, 1) + EVT_WAIT(1) + EVT_CALL(SetNpcPos, NPC_Rowf, -407, 0, 281) + EVT_CALL(RotateGroup, MODEL_jutan2, 40, 0, 0, 1) + EVT_WAIT(1) + EVT_CALL(SetNpcPos, NPC_Rowf, -404, 0, 281) + EVT_CALL(RotateGroup, MODEL_jutan2, 20, 0, 0, 1) + EVT_WAIT(1) + EVT_CALL(SetNpcPos, NPC_Rowf, -401, 0, 281) + EVT_CALL(RotateGroup, MODEL_jutan2, 0, 0, 0, 1) + EVT_WAIT(1) + EVT_CALL(SetNpcAnimation, NPC_Rowf, ANIM_Rowf_Still) + EVT_WAIT(5) + EVT_CALL(InterpNpcYaw, NPC_Rhuff, 90, 0) + EVT_CALL(SetNpcAnimation, NPC_Rowf, ANIM_Rowf_Think) + EVT_WAIT(30) + EVT_THREAD + EVT_LOOP(2) + EVT_CALL(SetNpcAnimation, NPC_Rhuff, ANIM_Rowf_WaveOff) + EVT_WAIT(1) + EVT_CALL(TranslateModel, MODEL_omote2, 0, 1, 0) + EVT_WAIT(2) + EVT_CALL(TranslateModel, MODEL_omote2, 0, 0, 0) + EVT_WAIT(2) + EVT_CALL(TranslateModel, MODEL_omote2, 0, 1, 0) + EVT_WAIT(2) + EVT_CALL(TranslateModel, MODEL_omote2, 0, 0, 0) + EVT_WAIT(2) + EVT_CALL(SetNpcAnimation, NPC_Rhuff, ANIM_Rowf_Idle) + EVT_WAIT(20) + EVT_END_LOOP + EVT_LOOP(3) + EVT_CALL(SetNpcAnimation, NPC_Rhuff, ANIM_Rowf_WaveOff) + EVT_WAIT(1) + EVT_CALL(TranslateModel, MODEL_omote2, 0, 1, 0) + EVT_WAIT(2) + EVT_CALL(TranslateModel, MODEL_omote2, 0, 0, 0) + EVT_WAIT(2) + EVT_CALL(TranslateModel, MODEL_omote2, 0, 1, 0) + EVT_WAIT(2) + EVT_CALL(TranslateModel, MODEL_omote2, 0, 0, 0) + EVT_WAIT(2) + EVT_CALL(SetNpcAnimation, NPC_Rhuff, ANIM_Rowf_Idle) + EVT_WAIT(2) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(SetNpcAnimation, NPC_Rowf, ANIM_Rowf_Still) + EVT_WAIT(5) + EVT_CALL(SetNpcAnimation, NPC_Rowf, ANIM_Rowf_Idle) + EVT_WAIT(20) + EVT_CALL(SetNpcAnimation, NPC_Rowf, ANIM_Rowf_Walk) + EVT_CALL(NpcMoveTo, NPC_Rowf, -250, 295, 60) + EVT_CALL(SetNpcAnimation, NPC_Rowf, ANIM_Rowf_Idle) + EVT_WAIT(3) + EVT_CALL(SetNpcAnimation, NPC_Rowf, ANIM_Rowf_WaveOff) + EVT_WAIT(15) + EVT_CALL(SetNpcAnimation, NPC_Rhuff, ANIM_Rowf_Cheer) + EVT_WAIT(8) + EVT_CALL(SetNpcAnimation, NPC_Rhuff, ANIM_Rowf_Still) + EVT_CALL(InterpNpcYaw, NPC_Rhuff, -90, 0) + EVT_WAIT(10) + EVT_CALL(SetNpcAnimation, NPC_Rowf, ANIM_Rowf_Talk) + EVT_CALL(SetNpcAnimation, NPC_Rhuff, ANIM_Rowf_Still) + EVT_WAIT(30) + EVT_CALL(SetNpcAnimation, NPC_Rowf, ANIM_Rowf_Think) + EVT_CALL(SetNpcAnimation, NPC_Rhuff, ANIM_Rowf_Talk) + EVT_WAIT(30) + EVT_CALL(SetNpcAnimation, NPC_Rowf, ANIM_Rowf_Talk) + EVT_CALL(SetNpcAnimation, NPC_Rhuff, ANIM_Rowf_Idle) + EVT_WAIT(20) + EVT_THREAD + EVT_CALL(MakeLerp, 0, 90, 40, EASING_CUBIC_IN) + EVT_LABEL(10) + EVT_CALL(UpdateLerp) + EVT_CALL(RotateGroup, MODEL_jutan2, LVar0, 0, 0, 1) + EVT_IF_EQ(LVar1, 1) + EVT_WAIT(1) + EVT_GOTO(10) + EVT_END_IF + EVT_END_THREAD + EVT_WAIT(15) + EVT_CALL(ShowEmote, NPC_Rhuff, EMOTE_SHOCK, -45, 20, TRUE, 0, 0, 0, 0) + EVT_CALL(SetNpcAnimation, NPC_Rhuff, ANIM_Rowf_Still) + EVT_WAIT(10) + EVT_CALL(SetNpcAnimation, NPC_Rowf, ANIM_Rowf_Still) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcIdle_Rhuff_C) = { + EVT_CALL(SetNpcPos, NPC_SELF, -225, 0, 330) + EVT_LOOP(0) + EVT_WAIT(1) + EVT_SET(LVar0, 0) + EVT_CALL(GetPlayerPos, LVar1, LVar2, LVar3) + EVT_IF_LT(LVar1, 50) + EVT_ADD(LVar0, 1) + EVT_END_IF + EVT_SWITCH(LVar3) + EVT_CASE_RANGE(280, 380) + EVT_ADD(LVar0, 1) + EVT_END_SWITCH + EVT_IF_EQ(LVar0, 2) + EVT_BREAK_LOOP + EVT_END_IF + EVT_END_LOOP + EVT_CALL(DisablePlayerInput, TRUE) + EVT_CALL(InterpPlayerYaw, 270, 0) + EVT_CALL(GetPlayerPos, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, -25) + EVT_CALL(SetNpcSpeed, NPC_SELF, EVT_FLOAT(4.0)) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Rowf_Run) + EVT_CALL(NpcMoveTo, NPC_SELF, LVar0, LVar2, 0) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Rowf_Idle) + EVT_CALL(SpeakToPlayer, NPC_Rhuff, ANIM_Rowf_Talk, ANIM_Rowf_Cheer, 0, MSG_MAC_Plaza_0013) + EVT_THREAD + EVT_CALL(func_802D1270, -280, 330, EVT_FLOAT(4.0)) + EVT_END_THREAD + EVT_CALL(SetNpcSpeed, NPC_SELF, EVT_FLOAT(4.0)) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Rowf_Run) + EVT_CALL(NpcMoveTo, NPC_SELF, -305, 330, 0) + EVT_CALL(SetNpcAnimation, NPC_SELF, ANIM_Rowf_Idle) + EVT_WAIT(10) + EVT_CALL(SpeakToPlayer, NPC_Rhuff, ANIM_Rowf_Talk, ANIM_Rowf_Cheer, 0, MSG_MAC_Plaza_0014) + EVT_SET(GF_MAC01_Met_Rhuff, TRUE) + EVT_CALL(DisablePlayerInput, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_UpdateRhuffAnims) = { + EVT_SET(LVar0, EVT_FLOAT(53.0)) + EVT_SET(LVar1, EVT_FLOAT(-192.0)) + EVT_SET(LVar2, EVT_FLOAT(-300.0)) + EVT_SET(LVar3, EVT_FLOAT(425.0)) + EVT_CALL(GetNpcPointer, NPC_Rhuff, LVar7) + EVT_LOOP(0) + EVT_CALL(N(RhuffUnravelUpdate)) + EVT_CALL(SetNpcPos, NPC_Rhuff, LVar4, 0, LVar5) + EVT_WAIT(1) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +s32 N(D_802555AC_815E2C)[] = { + 600, 0, 598, 0, + 595, 0, 590, 0, + 583, 0, 574, 0, + 562, 0, 547, 0, + 529, 0, 509, 0, + 489, 0, 469, 0, + 449, 0, 429, 0, + 409, 0, 389, 0, + 369, 0, 349, 0, + 329, 0, 309, 0, + 289, 0, 269, 0, + 249, 0, 229, 0, + 209, 0, 189, 0, + 169, 0, 149, 0, + 129, 0, 109, 0, + 89, 0, 69, 0, + 49, 0, 29, 0, + 9, 0, -11, -11, + -16, -16, -18, -18, + -19, -19, -19, -19, + -19, -19, -19, -19, + -15, -15, -5, -5, + 2, 2, 3, 3, + 1, 1, 0, 0, + 0, 0, 0, 0, +}; + +EvtScript N(EVS_Rhuff_RevealBadges) = { + EVT_SET(MF_BadgeShopOpen, TRUE) + EVT_CALL(SetNpcYaw, NPC_Rowf, 270) + EVT_THREAD + EVT_CALL(PlaySoundAt, SOUND_A9, 0, -220, 37, 271) + EVT_CALL(MakeLerp, 0, -220, 30, EASING_COS_BOUNCE) + EVT_LABEL(0) + EVT_CALL(UpdateLerp) + EVT_CALL(RotateModel, MODEL_omote, LVar0, 1, 0, 0) + EVT_IF_EQ(LVar1, 1) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_END_IF + EVT_END_THREAD + EVT_WAIT(4) + EVT_THREAD + EVT_CALL(MakeLerp, 0, -120, 10, EASING_COS_SLOW_OVERSHOOT) + EVT_LABEL(1) + EVT_CALL(UpdateLerp) + EVT_DIVF(LVar0, EVT_FLOAT(10.0)) + EVT_CALL(TranslateModel, MODEL_omote2, 0, LVar0, 0) + EVT_IF_EQ(LVar1, 1) + EVT_WAIT(1) + EVT_GOTO(1) + EVT_END_IF + EVT_END_THREAD + EVT_THREAD + EVT_CALL(MakeLerp, 0, 100, 5, EASING_COS_SLOW_OVERSHOOT) + EVT_LABEL(2) + EVT_CALL(UpdateLerp) + EVT_DIVF(LVar0, EVT_FLOAT(10.0)) + EVT_CALL(TranslateModel, MODEL_ura, 0, 0, LVar0) + EVT_IF_EQ(LVar1, 1) + EVT_WAIT(1) + EVT_GOTO(2) + EVT_END_IF + EVT_END_THREAD + EVT_CALL(EnableModel, MODEL_ju_1, TRUE) + EVT_CALL(N(RevealRowfBadges)) + EVT_CALL(PlaySoundAtCollider, COLLIDER_o295, SOUND_AA, 0) + EVT_USE_BUF(EVT_PTR(N(D_802555AC_815E2C))) + EVT_LOOP(50) + EVT_BUF_READ2(LVar0, MV_RowfRugRippleAmount) + EVT_CALL(RotateGroup, MODEL_jutan2, LVar0, 0, 1, 0) + EVT_DIVF(LVar0, EVT_FLOAT(10.0)) + EVT_SET(MV_RowfRugRotateAngle, LVar0) + EVT_CALL(RotateGroup, MODEL_jutan1, LVar0, 0, 1, 0) + EVT_DIVF(LVar0, EVT_FLOAT(200.0)) + EVT_ADDF(LVar0, EVT_FLOAT(1.0)) + EVT_CALL(ScaleGroup, MODEL_jutan2, LVar0, 1, LVar0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(NpcJump0, NPC_Rowf, -213, 6, 256, 16) + EVT_IF_EQ(GF_MAC01_RowfBadgeAvailableA, FALSE) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_b3, COLLIDER_FLAGS_UPPER_MASK) + EVT_END_IF + EVT_IF_EQ(GF_MAC01_RowfBadgeAvailableB, FALSE) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_b2, COLLIDER_FLAGS_UPPER_MASK) + EVT_END_IF + EVT_IF_EQ(GF_MAC01_RowfBadgeAvailableC, FALSE) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_b1, COLLIDER_FLAGS_UPPER_MASK) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_Rhuff_HideBadges) = { + EVT_SET(MF_BadgeShopOpen, FALSE) + EVT_IF_EQ(GF_MAC01_RowfBadgeAvailableA, FALSE) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_b3, COLLIDER_FLAGS_UPPER_MASK) + EVT_END_IF + EVT_IF_EQ(GF_MAC01_RowfBadgeAvailableB, FALSE) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_b2, COLLIDER_FLAGS_UPPER_MASK) + EVT_END_IF + EVT_IF_EQ(GF_MAC01_RowfBadgeAvailableC, FALSE) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_b1, COLLIDER_FLAGS_UPPER_MASK) + EVT_END_IF + EVT_CALL(NpcJump0, NPC_Rowf, -220, -54, 261, 16) + EVT_THREAD + EVT_CALL(PlaySoundAtCollider, COLLIDER_o295, SOUND_AC, 0) + EVT_CALL(MakeLerp, 0, 600, 50, EASING_LINEAR) + EVT_LABEL(10) + EVT_CALL(UpdateLerp) + EVT_CALL(RotateGroup, MODEL_jutan2, LVar0, 0, 1, 0) + EVT_DIVF(LVar0, EVT_FLOAT(10.0)) + EVT_SET(MV_RowfRugRotateAngle, LVar0) + EVT_CALL(RotateGroup, MODEL_jutan1, LVar0, 0, 1, 0) + EVT_DIVF(LVar0, EVT_FLOAT(200.0)) + EVT_ADDF(LVar0, EVT_FLOAT(1.0)) + EVT_CALL(ScaleGroup, MODEL_jutan2, LVar0, 1, LVar0) + EVT_IF_EQ(LVar1, 1) + EVT_WAIT(1) + EVT_GOTO(10) + EVT_END_IF + EVT_CALL(EnableModel, MODEL_ju_1, FALSE) + EVT_CALL(N(HideRowfBadges)) + EVT_END_THREAD + EVT_WAIT(10) + EVT_THREAD + EVT_CALL(MakeLerp, -220, 0, 20, EASING_QUADRATIC_IN) + EVT_LABEL(0) + EVT_CALL(UpdateLerp) + EVT_CALL(RotateModel, MODEL_omote, LVar0, 1, 0, 0) + EVT_IF_EQ(LVar1, 1) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_END_IF + EVT_CALL(PlaySoundAt, SOUND_AB, 0, -220, 37, 271) + EVT_END_THREAD + EVT_WAIT(15) + EVT_THREAD + EVT_CALL(MakeLerp, -120, 0, 10, EASING_COS_IN_OUT) + EVT_LABEL(1) + EVT_CALL(UpdateLerp) + EVT_DIVF(LVar0, EVT_FLOAT(10.0)) + EVT_CALL(TranslateModel, MODEL_omote2, 0, LVar0, 0) + EVT_IF_EQ(LVar1, 1) + EVT_WAIT(1) + EVT_GOTO(1) + EVT_END_IF + EVT_END_THREAD + EVT_THREAD + EVT_CALL(MakeLerp, 100, 0, 5, EASING_COS_IN_OUT) + EVT_LABEL(2) + EVT_CALL(UpdateLerp) + EVT_DIVF(LVar0, EVT_FLOAT(10.0)) + EVT_CALL(TranslateModel, MODEL_ura, 0, 0, LVar0) + EVT_IF_EQ(LVar1, 1) + EVT_WAIT(1) + EVT_GOTO(2) + EVT_END_IF + EVT_END_THREAD + EVT_WAIT(31) + EVT_RETURN + EVT_END +}; + +enum BadgeShopStates { + BADGE_SHOP_OPEN_READY = 0, + BADGE_SHOP_OPENING = 1, + BADGE_SHOP_OPEN = 2, + BADGE_SHOP_CLOSE_WAITING = 1, + BADGE_SHOP_CLOSING = 2, + BADGE_SHOP_CLOSE_READY = 0, +}; + +EvtScript N(EVS_EnterBadgeShop) = { + EVT_IF_GE(MV_BadgeShopOpenState, BADGE_SHOP_OPENING) + EVT_RETURN + EVT_END_IF + EVT_IF_GE(MV_BadgeShopCloseState, BADGE_SHOP_CLOSE_WAITING) + EVT_RETURN + EVT_END_IF + EVT_SET(MF_BadgeShopOpen, TRUE) + EVT_SET(MV_BadgeShopOpenState, BADGE_SHOP_OPENING) + EVT_EXEC_WAIT(N(EVS_Rhuff_RevealBadges)) + EVT_SET(MV_BadgeShopOpenState, BADGE_SHOP_OPEN) + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_ExitBadgeShop) = { + EVT_IF_EQ(MV_BadgeShopOpenState, BADGE_SHOP_OPEN_READY) + EVT_RETURN + EVT_END_IF + EVT_SET(MV_BadgeShopCloseState, BADGE_SHOP_CLOSE_WAITING) + EVT_SET(MF_BadgeShopOpen, FALSE) + EVT_LABEL(10) + EVT_IF_EQ(MV_BadgeShopOpenState, BADGE_SHOP_OPENING) + EVT_WAIT(1) + EVT_GOTO(10) + EVT_END_IF + EVT_SET(MV_BadgeShopCloseState, BADGE_SHOP_CLOSING) + EVT_EXEC_WAIT(N(EVS_Rhuff_HideBadges)) + EVT_SET(MV_BadgeShopOpenState, BADGE_SHOP_OPEN_READY) + EVT_SET(MV_BadgeShopCloseState, BADGE_SHOP_CLOSE_READY) + EVT_RETURN + EVT_END +}; + +API_CALLABLE(N(RowfShop_SetBadgePos)) { + Bytecode* args = script->ptrReadPos; + s32 idx = evt_get_variable(script, *args++); + + set_item_entity_position( + gGameStatusPtr->shopItemEntities[idx].index, + script->varTable[0], script->varTable[1], script->varTable[2] + 6 + ); + return ApiStatus_DONE2; +} + +EvtScript N(EVS_NpcInit_Rowf) = { + EVT_SET(MV_BadgeShopOpenState, 0) + EVT_SET(MV_BadgeShopCloseState, 0) + EVT_SET(AF_MAC_40, FALSE) + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH1_DEFEATED_JR_TROOPA) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Rowf_A))) + EVT_CALL(BindNpcIdle, NPC_SELF, EVT_PTR(N(EVS_NpcIdle_Rowf))) + EVT_CASE_LT(STORY_CH3_STAR_SPRIT_DEPARTED) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Rowf_B))) + EVT_SET(AF_MAC_40, TRUE) + EVT_CASE_DEFAULT + EVT_IF_EQ(GF_MAC01_CalculatorReturned, TRUE) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Rowf_B))) + EVT_SET(AF_MAC_40, TRUE) + EVT_ELSE + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Rowf_C))) + EVT_CALL(SetNpcPos, NPC_Rowf, -250, 0, 295) + EVT_END_IF + EVT_END_SWITCH + EVT_SET(AF_MAC_41, FALSE) + EVT_CALL(SetModelFlags, MODEL_ju_2, MODEL_FLAGS_FLAG_200, FALSE) + EVT_CALL(EnableGroup, MODEL_jutan1, FALSE) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_b1, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_b2, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_b3, COLLIDER_FLAGS_UPPER_MASK) + EVT_CALL(RotateGroup, MODEL_jutan1, 60, 0, 1, 0) + EVT_CALL(RotateGroup, MODEL_jutan2, 0, 0, 1, 0) + EVT_CALL(ScaleGroup, MODEL_jutan2, EVT_FLOAT(1.3), 1, EVT_FLOAT(1.3)) + EVT_SET(MV_RowfRugRotateAngle, 60) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_0, MODEL_ju_1, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_0, EVT_PTR(N(gfx_build_rowf_rug_with_ripples)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_ju_1, CUSTOM_GFX_0, -1) + EVT_IF_EQ(AF_MAC_40, TRUE) + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_EnterBadgeShop)), TRIGGER_FLOOR_TOUCH, COLLIDER_roten, 1, 0) + EVT_BIND_TRIGGER(EVT_PTR(N(EVS_ExitBadgeShop)), TRIGGER_FLOOR_TOUCH, COLLIDER_o444, 1, 0) + EVT_CALL(SetNpcJumpscale, NPC_Rowf, 1) + EVT_END_IF + EVT_THREAD + EVT_WAIT(5) + EVT_CALL(SetModelFlags, MODEL_b1, MODEL_FLAGS_FLAG_4, FALSE) + EVT_CALL(SetModelFlags, MODEL_b2, MODEL_FLAGS_FLAG_4, FALSE) + EVT_CALL(SetModelFlags, MODEL_b3, MODEL_FLAGS_FLAG_4, FALSE) + EVT_CALL(N(HideRowfBadges)) + EVT_LABEL(0) + EVT_IF_EQ(GF_MAC01_RowfBadgeAvailableA, FALSE) + EVT_CALL(GetModelCenter, MODEL_b3) + EVT_CALL(N(RowfShop_SetBadgePos), 0) + EVT_END_IF + EVT_IF_EQ(GF_MAC01_RowfBadgeAvailableB, FALSE) + EVT_CALL(GetModelCenter, MODEL_b2) + EVT_CALL(N(RowfShop_SetBadgePos), 1) + EVT_END_IF + EVT_IF_EQ(GF_MAC01_RowfBadgeAvailableC, FALSE) + EVT_CALL(GetModelCenter, MODEL_b1) + EVT_CALL(N(RowfShop_SetBadgePos), 2) + EVT_END_IF + EVT_WAIT(1) + EVT_GOTO(0) + EVT_END_THREAD + EVT_RETURN + EVT_END +}; + +EvtScript N(EVS_NpcInit_Rhuff) = { + EVT_CALL(SetNpcScale, NPC_Rhuff, EVT_FLOAT(0.75), EVT_FLOAT(0.75), EVT_FLOAT(0.75)) + EVT_CALL(SetNpcPos, NPC_Rhuff, -230, 0, 320) + EVT_CALL(InterpNpcYaw, NPC_Rhuff, -90, 0) + EVT_CALL(SetNpcAnimation, NPC_Rhuff, ANIM_Rowf_Idle) + EVT_SWITCH(GB_StoryProgress) + EVT_CASE_LT(STORY_CH1_DEFEATED_JR_TROOPA) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_RhuffChapter1))) + EVT_CASE_LT(STORY_CH2_BEGAN_PEACH_MISSION) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Rhuff_B))) + EVT_IF_EQ(GF_MAC01_Met_Rhuff, FALSE) + EVT_CALL(BindNpcIdle, NPC_SELF, EVT_PTR(N(EVS_NpcIdle_Rhuff_C))) + EVT_ELSE + EVT_CALL(SetNpcPos, NPC_SELF, -305, 0, 330) + EVT_CALL(SetNpcYaw, NPC_SELF, 90) + EVT_END_IF + EVT_CASE_LT(STORY_CH3_STAR_SPRIT_DEPARTED) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Rhuff_C))) + EVT_CALL(BindNpcIdle, NPC_SELF, EVT_PTR(N(EVS_UpdateRhuffAnims))) + EVT_CASE_DEFAULT + EVT_IF_EQ(GF_MAC01_CalculatorReturned, TRUE) + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Rhuff_C))) + EVT_CALL(BindNpcIdle, NPC_SELF, EVT_PTR(N(EVS_UpdateRhuffAnims))) + EVT_ELSE + EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_Rhuff_D))) + EVT_END_IF + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +s32 N(ExtraAnims_Rowf)[] = { + ANIM_Rowf_Still, + ANIM_Rowf_Idle, + ANIM_Rowf_Walk, + ANIM_Rowf_Talk, + ANIM_Rowf_Cheer, + ANIM_Rowf_Think, + ANIM_Rowf_WaveOff, + -1 +}; + +NpcSettings N(NpcSettings_Rowf) = { + .height = 36, + .radius = 24, + .flags = ENEMY_FLAGS_1, +}; + +NpcSettings N(NpcSettings_Rhuff) = { + .height = 27, + .radius = 18, + .flags = ENEMY_FLAGS_1, +}; + +StaticNpc N(NpcData_RowfAndRhuff)[] = { + { + .id = NPC_Rowf, + .settings = &N(NpcSettings_Rowf), + .pos = { -213.0f, -54.0f, 256.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Rowf), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_Rowf_Idle, + }, + .extraAnimations = N(ExtraAnims_Rowf), + .tattle = MSG_NpcTattle_Rowf, + }, + { + .id = NPC_Rhuff, + .settings = &N(NpcSettings_Rhuff), + .pos = { -250.0f, 0.0f, 263.0f }, + .yaw = 90, + .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, + .init = &N(EVS_NpcInit_Rhuff), + .drops = { + .dropFlags = NPC_DROP_FLAGS_80, + .heartDrops = NO_DROPS, + .flowerDrops = NO_DROPS, + }, + .animations = { + .idle = ANIM_Rowf_Idle, + }, + .extraAnimations = N(ExtraAnims_Rowf), + .tattle = MSG_NpcTattle_Rhuff, + }, +}; diff --git a/src/world/area_mac/mac_04/mac_04_5_shop.c b/src/world/area_mac/mac_04/mac_04_5_shop.c index 77ea3ff5b0..30896f7305 100644 --- a/src/world/area_mac/mac_04/mac_04_5_shop.c +++ b/src/world/area_mac/mac_04/mac_04_5_shop.c @@ -71,7 +71,7 @@ ShopOwner N(Owner) = { .idleAnim = ANIM_HarryT_Idle, .talkAnim = ANIM_HarryT_Talk, .onBuyEvt = &N(EVS_OnBuy), - .shopMsgIDs = N(ShopMessages) , + .shopMsgIDs = N(ShopMessages), }; EvtScript N(EVS_SetupShop) = { diff --git a/src/world/area_mac/mac_04/mac_04_6_npc.c b/src/world/area_mac/mac_04/mac_04_6_npc.c index 2e034683b9..3a52c9c73a 100644 --- a/src/world/area_mac/mac_04/mac_04_6_npc.c +++ b/src/world/area_mac/mac_04/mac_04_6_npc.c @@ -468,7 +468,7 @@ StaticNpc N(NpcData_PostChapter4)[] = { StaticNpc N(NpcData_GoombaFamily)[] = { { .id = NPC_Goomama, - .settings = &N(NpcSettings_Goomba_Family), + .settings = &N(NpcSettings_GoombaFamily), .pos = { -126.0f, 0.0f, 329.0f }, .yaw = 90, .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, @@ -479,7 +479,7 @@ StaticNpc N(NpcData_GoombaFamily)[] = { }, { .id = NPC_Goombaria, - .settings = &N(NpcSettings_Goomba_Family), + .settings = &N(NpcSettings_GoombaFamily), .pos = { -117.0f, 0.0f, 305.0f }, .yaw = 270, .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000, diff --git a/src/world/area_mac/mac_04/npc_twink.inc.c b/src/world/area_mac/mac_04/npc_twink.inc.c index a0d94b6e1c..7520768c38 100644 --- a/src/world/area_mac/mac_04/npc_twink.inc.c +++ b/src/world/area_mac/mac_04/npc_twink.inc.c @@ -22,7 +22,7 @@ Vec3f N(FlightPath_TwinkDepart)[] = { EvtScript N(EVS_NpcIdle_TwinkStartCh4) = { EVT_CALL(WaitForPlayerInputEnabled) EVT_CALL(DisablePlayerInput, TRUE) - EVT_CALL(PushSong, 112, 0) + EVT_CALL(PushSong, SONG_TWINK_THEME, 0) EVT_CALL(ShowMessageAtScreenPos, MSG_MAC_Bridge_008F, 160, 40) EVT_CALL(GetPlayerPos, LVar4, LVar5, LVar6) EVT_SUBF(LVar4, EVT_FLOAT(50.0)) diff --git a/src/world/area_mac/mac_05/mac_05_4_npc.c b/src/world/area_mac/mac_05/mac_05_4_npc.c index e6def94fc1..48ac95eaee 100644 --- a/src/world/area_mac/mac_05/mac_05_4_npc.c +++ b/src/world/area_mac/mac_05/mac_05_4_npc.c @@ -129,67 +129,58 @@ EvtScript N(EVS_Kolorado_TryArtifactTrade) = { EVT_END }; -// float stuff -#ifdef NON_MATCHING -API_CALLABLE(func_80242A90_854C00) { +API_CALLABLE(N(func_80242A90_854C00)) { Bytecode* args = script->ptrReadPos; - s32 temp_s1 = evt_get_variable(script, *args++); - s32 temp_s3 = *args++; - s32 temp_s4 = *args++; - s32 temp_s5 = *args++; - Npc* npc = get_npc_safe(0); - f32 temp_f20; - f32 var_f20; - f32 var_f22; - f32 var_f24; - f32 var_f26; + s32 mode = evt_get_variable(script, *args++); + s32 outVarX = *args++; + s32 outVarY = *args++; + s32 outVarZ = *args++; + Npc* npc = get_npc_safe(NPC_Whale); + f32 posX, posY, posZ; + f32 radius, angle; - switch (temp_s1) { + switch (mode) { case 0: - var_f26 = 55.0f; + radius = 55.0f; break; case 1: - var_f26 = 85.0f; + radius = 85.0f; break; case 2: - var_f26 = 25.0f; + radius = 25.0f; break; case 3: - var_f24 = -295.0f; - var_f22 = -10.0f; - var_f20 = 400.0f; + posX = -295.0f; + posY = -10.0f; + posZ = 400.0f; break; case 4: - var_f24 = -285.0f; - var_f22 = -10.0f; - var_f20 = 380.0f; + posX = -285.0f; + posY = -10.0f; + posZ = 380.0f; break; default: - var_f24 = -295.0f; - var_f22 = -10.0f; - var_f20 = 420.0f; + posX = -295.0f; + posY = -10.0f; + posZ = 420.0f; break; } - if (temp_s1 < 3) { - temp_f20 = -npc->yaw; - var_f24 = npc->pos.x + 30.0f + (sin_deg(temp_f20) * var_f26); - var_f22 = npc->pos.y + 50.0f; - var_f20 = npc->pos.z + (cos_deg(temp_f20) * var_f26); + if (mode < 3) { + angle = -npc->yaw; + posX = npc->pos.x + 30.0f + sin_deg(angle) * radius; + posZ = npc->pos.z + cos_deg(angle) * radius; + posY = npc->pos.y + 50.0f; } - evt_set_float_variable(script, temp_s3, var_f24); - evt_set_float_variable(script, temp_s4, var_f22); - evt_set_float_variable(script, temp_s5, var_f20); + evt_set_float_variable(script, outVarX, posX); + evt_set_float_variable(script, outVarY, posY); + evt_set_float_variable(script, outVarZ, posZ); return ApiStatus_DONE2; } -#else -API_CALLABLE(func_80242A90_854C00); -INCLUDE_ASM(s32, "world/area_mac/mac_05/852170", func_80242A90_854C00); -#endif // maybe a duplicate, not sure if the NPCs are the same API_CALLABLE(N(func_80242C78_854DE8)) { Bytecode* args = script->ptrReadPos; - Npc* npc0 = get_npc_safe(0); + Npc* npc0 = get_npc_safe(NPC_Whale); Npc* npc1; Npc* partner; f32 forward, radius; @@ -605,19 +596,19 @@ EvtScript N(EVS_802496FC) = { EVT_CALL(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_tt9, COLLIDER_FLAGS_UPPER_MASK) EVT_IF_EQ(GB_StoryProgress, STORY_CH5_TRADED_VASE_FOR_SEED) EVT_CALL(SetNpcAnimation, NPC_Kolorado, ANIM_Kolorado_Run) - EVT_CALL(func_80242A90_854C00, 5, LVar0, LVar1, LVar2) + EVT_CALL(N(func_80242A90_854C00), 5, LVar0, LVar1, LVar2) EVT_CALL(PlaySoundAtNpc, NPC_Kolorado, SOUND_32C, 0) EVT_CALL(SetNpcJumpscale, NPC_Kolorado, EVT_FLOAT(1.0)) EVT_CALL(NpcJump0, NPC_Kolorado, LVar0, LVar1, LVar2, 20) EVT_CALL(SetNpcAnimation, NPC_Kolorado, ANIM_Kolorado_Idle) EVT_END_IF - EVT_CALL(func_80242A90_854C00, 3, LVar0, LVar1, LVar2) + EVT_CALL(N(func_80242A90_854C00), 3, LVar0, LVar1, LVar2) EVT_EXEC(N(D_802496C0_85B830)) EVT_CALL(SetPlayerJumpscale, EVT_FLOAT(1.0)) EVT_CALL(PlayerJump, LVar0, LVar1, LVar2, 20) EVT_CALL(SetPlayerAnimation, ANIM_Mario_10002) EVT_CALL(SetNpcAnimation, NPC_PARTNER, PARTNER_ANIM_TALK) - EVT_CALL(func_80242A90_854C00, 4, LVar0, LVar1, LVar2) + EVT_CALL(N(func_80242A90_854C00), 4, LVar0, LVar1, LVar2) EVT_CALL(SetNpcJumpscale, NPC_PARTNER, EVT_FLOAT(1.0)) EVT_CALL(NpcJump0, NPC_PARTNER, LVar0, LVar1, LVar2, 20) EVT_CALL(SetNpcAnimation, NPC_PARTNER, PARTNER_ANIM_RUN) @@ -1002,7 +993,7 @@ EvtScript N(EVS_NpcInteract_Toad_01) = { EVT_CALL(SetNpcFlagBits, NPC_PARTNER, NPC_FLAG_GRAVITY, FALSE) EVT_CALL(SetNpcAnimation, NPC_PARTNER, PARTNER_ANIM_RUN) EVT_CALL(GetPlayerPos, LVar3, LVar4, LVar5) - EVT_CALL(func_80242A90_854C00, 0, LVar0, LVar1, LVar2) + EVT_CALL(N(func_80242A90_854C00), 0, LVar0, LVar1, LVar2) EVT_EXEC(N(D_802496C0_85B830)) EVT_CALL(SetPlayerJumpscale, EVT_FLOAT(1.0)) EVT_CALL(PlayerJump, LVar0, LVar1, LVar2, 20) @@ -1013,7 +1004,7 @@ EvtScript N(EVS_NpcInteract_Toad_01) = { EVT_END_THREAD EVT_CALL(SetNpcAnimation, NPC_PARTNER, PARTNER_ANIM_TALK) EVT_CALL(NpcMoveTo, NPC_PARTNER, LVar3, LVar5, 10) - EVT_CALL(func_80242A90_854C00, 1, LVar0, LVar1, LVar2) + EVT_CALL(N(func_80242A90_854C00), 1, LVar0, LVar1, LVar2) EVT_CALL(SetNpcJumpscale, NPC_PARTNER, EVT_FLOAT(1.0)) EVT_CALL(NpcJump0, NPC_PARTNER, LVar0, LVar1, LVar2, 20) EVT_CALL(SetNpcAnimation, NPC_PARTNER, PARTNER_ANIM_RUN) @@ -1025,7 +1016,7 @@ EvtScript N(EVS_NpcInteract_Toad_01) = { EVT_CALL(SpeakToPlayer, NPC_Kolorado, ANIM_Kolorado_Talk, ANIM_Kolorado_Talk, 0, MSG_MAC_Port_00AD) EVT_CALL(SetNpcAnimation, NPC_Kolorado, ANIM_Kolorado_Run) EVT_CALL(NpcMoveTo, NPC_Kolorado, LVar3, LVar5, 20) - EVT_CALL(func_80242A90_854C00, 2, LVar0, LVar1, LVar2) + EVT_CALL(N(func_80242A90_854C00), 2, LVar0, LVar1, LVar2) EVT_CALL(PlaySoundAtNpc, NPC_Kolorado, SOUND_32C, 0) EVT_CALL(SetNpcJumpscale, NPC_Kolorado, EVT_FLOAT(1.0)) EVT_CALL(NpcJump0, NPC_Kolorado, LVar0, LVar1, LVar2, 20) diff --git a/src/world/area_mac/mac_05/mac_05_5_whale.c b/src/world/area_mac/mac_05/mac_05_5_whale.c index 6e824c2c32..f5c1cf0031 100644 --- a/src/world/area_mac/mac_05/mac_05_5_whale.c +++ b/src/world/area_mac/mac_05/mac_05_5_whale.c @@ -228,12 +228,12 @@ EvtScript N(D_802516CC_86383C) = { EvtScript N(EVS_8025194C) = { EVT_SET_GROUP(EVT_GROUP_00) - EVT_CALL(MakeLocalVertexCopy, 1, MODEL_karada, TRUE) - EVT_CALL(SetCustomGfxBuilders, 1, EVT_PTR(N(unkAngleFunc002)), 0) - EVT_CALL(SetModelCustomGfx, MODEL_karada, 1, -1) - EVT_CALL(MakeLocalVertexCopy, 2, MODEL_onaka, TRUE) - EVT_CALL(SetCustomGfxBuilders, 2, EVT_PTR(N(unkAngleFunc003)), 0) - EVT_CALL(SetModelCustomGfx, MODEL_onaka, 2, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_1, MODEL_karada, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_1, EVT_PTR(N(unkAngleFunc002)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_karada, CUSTOM_GFX_1, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_2, MODEL_onaka, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_2, EVT_PTR(N(unkAngleFunc003)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_onaka, CUSTOM_GFX_2, -1) EVT_THREAD EVT_LABEL(0) EVT_CALL(N(UnkAngleFunc001), 0, LVar0, LVar1, LVar2) diff --git a/src/world/area_mac/mac_05/mac_05_7_club64_sign.c b/src/world/area_mac/mac_05/mac_05_7_club64_sign.c index 2cbefaf01c..8281e2c840 100644 --- a/src/world/area_mac/mac_05/mac_05_7_club64_sign.c +++ b/src/world/area_mac/mac_05/mac_05_7_club64_sign.c @@ -4,76 +4,64 @@ s32 N(UnusedInt) = 0; f32 N(Club64SignAlphaModulus) = 0.0f; -// ordering -#ifdef NON_MATCHING -void func_80243DB0_855F20(f32 arg0, f32 arg1, f32 arg2, f32* arg3, f32* arg4, f32* arg5) { - f32 temp_f0; - f32 temp_f0_2; - f32 temp_f12; - f32 temp_f2_2; - f32 temp_f4; - f32 temp_f8; - f32 var_f6; - s32 temp_f10; - f64 temp_f2; - - if (arg2 <= 0.5f) { - temp_f2 = (f64) arg2; - var_f6 = (arg1 * temp_f2) + temp_f2; +void N(hsl_to_rgb)(f32 hue, f32 saturation, f32 lightness, f32* outR, f32* outG, f32* outB) { + f32 hueSector; + f32 p, q, m; + f32 s, t; + + if (lightness <= 0.5f) { + q = lightness * (1.0 + saturation); } else { - var_f6 = (arg2 + arg1) - (arg2 * arg1); + q = (lightness + saturation) - (lightness * saturation); } - if (var_f6 == 0.0f) { - *arg5 = 0.0f; - *arg4 = 0.0f; - *arg3 = 0.0f; + if (q == 0.0f) { + *outB = 0.0f; + *outG = 0.0f; + *outR = 0.0f; return; } - temp_f12 = arg0 * 6.0f; - temp_f8 = (2.0f * arg2) - var_f6; - temp_f4 = (s32) temp_f12; - temp_f0 = var_f6 * ((var_f6 - temp_f8) / var_f6) * (temp_f12 - temp_f4); - temp_f2_2 = temp_f8 + temp_f0; - temp_f0_2 = var_f6 - temp_f0; - temp_f10 = (s32) temp_f4; - switch (temp_f10) { + + hue *= 6.0f; + hueSector = (s32) hue; + p = (2 * lightness) - q; + m = q * ((q - p) / q) * (hue - hueSector); + s = p + m; + t = q - m; + + switch ((s32) hueSector) { case 0: - *arg3 = var_f6; - *arg4 = temp_f2_2; - *arg5 = temp_f8; + *outR = q; + *outG = s; + *outB = p; break; case 1: - *arg3 = temp_f0_2; - *arg4 = var_f6; - *arg5 = temp_f8; + *outR = t; + *outG = q; + *outB = p; break; case 2: - *arg3 = temp_f8; - *arg4 = var_f6; - *arg5 = temp_f2_2; + *outR = p; + *outG = q; + *outB = s; break; case 3: - *arg3 = temp_f8; - *arg4 = temp_f0_2; - *arg5 = var_f6; + *outR = p; + *outG = t; + *outB = q; break; case 4: - *arg3 = temp_f2_2; - *arg4 = temp_f8; - *arg5 = var_f6; + *outR = s; + *outG = p; + *outB = q; break; case 5: - *arg3 = var_f6; - *arg4 = temp_f8; - *arg5 = temp_f0_2; + *outR = q; + *outG = p; + *outB = t; break; } } -#else -void func_80243DB0_855F20(f32 arg0, f32 arg1, f32 arg2, f32* arg3, f32* arg4, f32* arg5); -INCLUDE_ASM(s32, "world/area_mac/mac_05/855F20", func_80243DB0_855F20); -#endif void N(gfx_build_club_64)(s32 index) { Vtx* first; @@ -82,22 +70,22 @@ void N(gfx_build_club_64)(s32 index) { s32 i; f32 colR, colG, colB; - mdl_get_copied_vertices(3, &first, &copied, &numCopied); + mdl_get_copied_vertices(VTX_COPY_3, &first, &copied, &numCopied); for (i = 0; i < numCopied; i++) { u8* colors = copied[i].v.cn; - f32 alpha = N(Club64SignAlphaModulus) + (f32)i / (f32)numCopied; - if (alpha > 1.0) { - alpha -= 1.0; + f32 hue = N(Club64SignAlphaModulus) + (f32)i / (f32)numCopied; + if (hue > 1.0) { + hue -= 1.0; } - func_80243DB0_855F20(alpha, 1.0f, 0.5f, &colR, &colG, &colB); + N(hsl_to_rgb)(hue, 1.0f, 0.5f, &colR, &colG, &colB); colors[0] = colR * 255.0f; colors[1] = colG * 255.0f; colors[2] = colB * 255.0f; } - gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(3)); + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(VTX_COPY_3)); N(Club64SignAlphaModulus) += 0.01; if (N(Club64SignAlphaModulus) > 1.0) { N(Club64SignAlphaModulus) -= 1.0f; @@ -105,9 +93,9 @@ void N(gfx_build_club_64)(s32 index) { } EvtScript N(EVS_AnimateClub64Sign) = { - EVT_CALL(MakeLocalVertexCopy, 3, MODEL_o187, TRUE) - EVT_CALL(SetCustomGfxBuilders, 3, EVT_PTR(N(gfx_build_club_64)), 0) - EVT_CALL(SetModelCustomGfx, MODEL_o187, 3, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_3, MODEL_o187, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_3, EVT_PTR(N(gfx_build_club_64)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_o187, CUSTOM_GFX_3, -1) EVT_RETURN EVT_END }; diff --git a/src/world/area_mac/mac_06/mac_06_2_whale.c b/src/world/area_mac/mac_06/mac_06_2_whale.c index 728ebedaf6..cb207eef23 100644 --- a/src/world/area_mac/mac_06/mac_06_2_whale.c +++ b/src/world/area_mac/mac_06/mac_06_2_whale.c @@ -224,12 +224,12 @@ EvtScript N(EVS_WhaleState_Walk) = { EvtScript N(EVS_WhaleMain) = { EVT_SET_GROUP(EVT_GROUP_00) - EVT_CALL(MakeLocalVertexCopy, 1, MODEL_karada, TRUE) - EVT_CALL(SetCustomGfxBuilders, 1, EVT_PTR(N(unkAngleFunc002)), 0) - EVT_CALL(SetModelCustomGfx, MODEL_karada, 1, -1) - EVT_CALL(MakeLocalVertexCopy, 2, MODEL_onaka, TRUE) - EVT_CALL(SetCustomGfxBuilders, 2, EVT_PTR(N(unkAngleFunc003)), 0) - EVT_CALL(SetModelCustomGfx, MODEL_onaka, 2, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_1, MODEL_karada, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_1, EVT_PTR(N(unkAngleFunc002)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_karada, CUSTOM_GFX_1, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_2, MODEL_onaka, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_2, EVT_PTR(N(unkAngleFunc003)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_onaka, CUSTOM_GFX_2, -1) EVT_CALL(SetNpcVar, NPC_Whale, 0, 0) EVT_THREAD EVT_LABEL(0) diff --git a/src/world/area_mim/mim_04/mim_04_4_hint.c b/src/world/area_mim/mim_04/mim_04_4_hint.c index 20ec7dad7c..80e8889862 100644 --- a/src/world/area_mim/mim_04/mim_04_4_hint.c +++ b/src/world/area_mim/mim_04/mim_04_4_hint.c @@ -67,8 +67,8 @@ EvtScript N(EVS_ManageEvilTree) = { }; EvtScript N(EVS_SetupExitHint) = { - EVT_CALL(SetCustomGfxBuilders, 1, EVT_PTR(N(gfx_build_evil_tree_face)), 0) - EVT_CALL(SetModelCustomGfx, MODEL_kao, 1, -1) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_1, EVT_PTR(N(gfx_build_evil_tree_face)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_kao, CUSTOM_GFX_1, -1) EVT_CALL(SetModelFlags, MODEL_kao, 16, TRUE) EVT_WAIT(20) EVT_EXEC(N(EVS_ManageEvilTree)) diff --git a/src/world/area_mim/mim_07/mim_07_4_hint.c b/src/world/area_mim/mim_07/mim_07_4_hint.c index c1a088c2f2..a92d2c0d79 100644 --- a/src/world/area_mim/mim_07/mim_07_4_hint.c +++ b/src/world/area_mim/mim_07/mim_07_4_hint.c @@ -111,8 +111,8 @@ EvtScript N(EVS_OnInspectEvilRock) = { }; EvtScript N(EVS_SetupExitHint) = { - EVT_CALL(SetCustomGfxBuilders, 1, EVT_PTR(N(gfx_build_evil_rock_face)), 0) - EVT_CALL(SetModelCustomGfx, MODEL_o440, 1, -1) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_1, EVT_PTR(N(gfx_build_evil_rock_face)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_o440, CUSTOM_GFX_1, -1) EVT_CALL(SetModelFlags, MODEL_o440, 16, TRUE) EVT_BIND_TRIGGER(EVT_PTR(N(EVS_OnInspectEvilRock)), TRIGGER_WALL_PRESS_A, COLLIDER_o491, 1, 0) EVT_CALL(SetTexPanner, MODEL_o440, TEX_PANNER_0) diff --git a/src/world/area_obk/obk_08/BD3870.c b/src/world/area_obk/obk_08/BD3870.c index da490d3ca6..6207021485 100644 --- a/src/world/area_obk/obk_08/BD3870.c +++ b/src/world/area_obk/obk_08/BD3870.c @@ -1,94 +1,10 @@ #include "obk_08.h" -#include "world/common/todo/UnkFoldFunc.inc.c" +#define KNOCK_DOWN_MAP_VAR MapVar(10) +#include "world/common/complete/KnockDownPlayer.inc.c" -ApiStatus func_802403DC_BD3C4C(Evt* script) { - Bytecode* args = script->ptrReadPos; - s32 spriteIndex = evt_get_variable(script, *args++); - s32 rasterIndex = evt_get_variable(script, *args++); - UnkEntityStruct* temp_v0 = heap_malloc(sizeof(*temp_v0)); - - temp_v0->spriteIndex = spriteIndex; - temp_v0->rasterIndex = rasterIndex; - temp_v0->unk_34 = gPlayerStatus.colliderHeight; - temp_v0->unk_38 = gPlayerStatus.colliderDiameter; - temp_v0->pos.x = gPlayerStatus.position.x; - temp_v0->pos.y = gPlayerStatus.position.y; - temp_v0->pos.z = gPlayerStatus.position.z; - temp_v0->rot.x = 0.0f; - temp_v0->rot.y = 0.0f; - temp_v0->rot.z = 0.0f; - temp_v0->scale.x = SPRITE_WORLD_SCALE_F; - temp_v0->scale.y = SPRITE_WORLD_SCALE_F; - temp_v0->scale.z = SPRITE_WORLD_SCALE_F; - temp_v0->foldID = func_8013A704(1); - temp_v0->entityID = create_worker_world(0, obk_08_UnkFoldFunc); - evt_set_variable(script, MapVar(10), (s32) temp_v0); - return ApiStatus_DONE2; -} - -ApiStatus func_802404F0_BD3D60(Evt* script, s32 isInitialCall) { - UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL, MapVar(10)); - - func_8013A854(temp_v0->foldID); - free_worker(temp_v0->entityID); - heap_free(temp_v0); - evt_set_variable(script, MapVar(10), NULL); - return ApiStatus_DONE2; -} - -ApiStatus func_8024055C_BD3DCC(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 x = evt_get_float_variable(script, *args++); - s32 y = evt_get_float_variable(script, *args++); - s32 z = evt_get_float_variable(script, *args++); - UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL, MapVar(10)); - - temp_v0->pos.x = x; - temp_v0->pos.y = y; - temp_v0->pos.z = z; - return ApiStatus_DONE2; -} - -ApiStatus func_8024061C_BD3E8C(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 x = evt_get_float_variable(script, *args++); - s32 y = evt_get_float_variable(script, *args++); - s32 z = evt_get_float_variable(script, *args++); - UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL, MapVar(10)); - - temp_v0->rot.x = x; - temp_v0->rot.y = y; - temp_v0->rot.z = z; - return ApiStatus_DONE2; -} - -ApiStatus func_802406DC_BD3F4C(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 x = evt_get_float_variable(script, *args++); - s32 y = evt_get_float_variable(script, *args++); - s32 z = evt_get_float_variable(script, *args++); - UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL, MapVar(10)); - - temp_v0->scale.x = x; - temp_v0->scale.y = y; - temp_v0->scale.z = z; - return ApiStatus_DONE2; -} - -ApiStatus func_8024079C_BD400C(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 spriteIndex = evt_get_variable(script, *args++); - s32 rasterIndex = evt_get_variable(script, *args++); - UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL, MapVar(10)); - - temp_v0->spriteIndex = spriteIndex; - temp_v0->rasterIndex = rasterIndex; - return ApiStatus_DONE2; -} - -ApiStatus func_80240808_BD4078(Evt* script, s32 isInitialCall) { - if (gPlayerData.curHP < 2) { +API_CALLABLE(N(func_80240808_BD4078)) { + if (gPlayerData.curHP <= 1) { return ApiStatus_DONE2; } gPlayerData.curHP--; diff --git a/src/world/area_sbk/sbk_02/sbk_02_4_npc.c b/src/world/area_sbk/sbk_02/sbk_02_4_npc.c index cd3a12e8c0..4a295f9f92 100644 --- a/src/world/area_sbk/sbk_02/sbk_02_4_npc.c +++ b/src/world/area_sbk/sbk_02/sbk_02_4_npc.c @@ -217,7 +217,7 @@ EvtScript N(EVS_NpcInteract_TradingToad) = { EVT_RETURN EVT_END_IF EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Pink_Talk, ANIM_Toad_Pink_Idle, 0, MSG_CH2_00F0) - EVT_CHOOSE_ANY_CONSUMABLE() + EVT_CHOOSE_ANY_CONSUMABLE(2) EVT_SWITCH(LVar0) EVT_CASE_EQ(-1) EVT_CALL(SpeakToPlayer, NPC_SELF, ANIM_Toad_Pink_Talk, ANIM_Toad_Pink_Idle, 0, MSG_CH2_00F4) @@ -241,7 +241,7 @@ EvtScript N(EVS_NpcInteract_TradingToad) = { EVT_END }; -EvtScript N(EVS_NpcInit_Toad) = { +EvtScript N(EVS_NpcInit_TradingToad) = { EVT_IF_NE(GF_TradingEvent2_Active, FALSE) EVT_CALL(BindNpcInteract, NPC_SELF, EVT_PTR(N(EVS_NpcInteract_TradingToad))) EVT_ELSE @@ -268,7 +268,7 @@ StaticNpc N(NpcData_TradingToad) = { .pos = { 0.0f, 2.0f, 150.0f }, .yaw = 90, .flags = ENEMY_FLAGS_1 | ENEMY_FLAGS_8 | ENEMY_FLAGS_100 | ENEMY_FLAGS_400 | ENEMY_FLAGS_800 | ENEMY_FLAGS_2000 | ENEMY_FLAGS_10000 | ENEMY_FLAGS_100000, - .init = &N(EVS_NpcInit_Toad), + .init = &N(EVS_NpcInit_TradingToad), .drops = { .dropFlags = NPC_DROP_FLAGS_80, .heartDrops = NO_DROPS, diff --git a/src/world/area_sbk/sbk_30/sbk_30_2_main.c b/src/world/area_sbk/sbk_30/sbk_30_2_main.c index 1b85a86bd9..7b8547a06c 100644 --- a/src/world/area_sbk/sbk_30/sbk_30_2_main.c +++ b/src/world/area_sbk/sbk_30/sbk_30_2_main.c @@ -65,6 +65,8 @@ EvtScript N(EVS_Scene_RuinsRising) = { EVT_END }; +MAP_RODATA_PAD(1, unk) // can be fixed with subalign 16 for this map + EvtScript N(EVS_Main) = { EVT_SET(GB_WorldLocation, LOCATION_DRY_DRY_DESERT) EVT_CALL(SetSpriteShading, SHADING_NONE) diff --git a/src/world/area_sbk/sbk_30/sbk_30_3_npc.c b/src/world/area_sbk/sbk_30/sbk_30_3_npc.c index 06488c2757..8580468926 100644 --- a/src/world/area_sbk/sbk_30/sbk_30_3_npc.c +++ b/src/world/area_sbk/sbk_30/sbk_30_3_npc.c @@ -23,7 +23,7 @@ NpcSettings N(NpcSettings_Archeologist_01) = { #include "world/common/complete/GiveReward.inc.c" #include "world/common/complete/KeyItemChoice.inc.c" -MAP_STATIC_PAD(1,key_item); +MAP_STATIC_PAD(1,normal_item); #include "world/common/complete/NormalItemChoice.inc.c" #include "world/common/atomic/LetterChoice.inc.c" diff --git a/src/world/area_trd/trd_06/trd_06_1_main.c b/src/world/area_trd/trd_06/trd_06_1_main.c index 7ad5a5f4e8..a80c6c216d 100644 --- a/src/world/area_trd/trd_06/trd_06_1_main.c +++ b/src/world/area_trd/trd_06/trd_06_1_main.c @@ -15,6 +15,8 @@ extern EvtScript N(EVS_Scene_ImprisonedKoopaBros); EvtScript N(EVS_ExitDoors_trd_04_5) = EVT_EXIT_DOUBLE_DOOR(trd_06_ENTRY_1, "trd_04", trd_04_ENTRY_5, COLLIDER_ttw, MODEL_o93, MODEL_o94); +MAP_RODATA_PAD(1,unk) // fixed if map uses subalign 16 + EvtScript N(EVS_EnterMap) = { EVT_CALL(GetEntryID, LVar0) EVT_SWITCH(LVar0) diff --git a/src/world/area_tst/tst_13/tst_13_1_main.c b/src/world/area_tst/tst_13/tst_13_1_main.c index 81214e3b81..ad5608a21d 100644 --- a/src/world/area_tst/tst_13/tst_13_1_main.c +++ b/src/world/area_tst/tst_13/tst_13_1_main.c @@ -495,8 +495,8 @@ EvtScript N(EVS_Main) = { EVT_CALL(MakeNpcs, FALSE, EVT_PTR(N(DefaultNPCs))) EVT_SET(LVar0, EVT_PTR(N(D_80242BFC_B2035C))) EVT_EXEC(N(D_80240600_B1DD60)) - EVT_CALL(SetModelCustomGfx, MODEL_o152, 0, -1) - EVT_CALL(SetCustomGfxBuilders, 0, 0, EVT_PTR(N(func_8024013C_B1D89C))) + EVT_CALL(SetModelCustomGfx, MODEL_o152, CUSTOM_GFX_0, -1) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_0, 0, EVT_PTR(N(func_8024013C_B1D89C))) EVT_RETURN EVT_END }; diff --git a/src/world/common/atomic/ToadHouse.data.inc.c b/src/world/common/atomic/ToadHouse.data.inc.c index 2d111569ef..94503f179c 100644 --- a/src/world/common/atomic/ToadHouse.data.inc.c +++ b/src/world/common/atomic/ToadHouse.data.inc.c @@ -36,7 +36,7 @@ EvtScript N(8024AC8C) = { EvtScript N(EVS_NpcInteract_ToadHouseKeeper) = { EVT_CALL(N(ToadHouse_InitScreenOverlay), 0, 0, 0) - EVT_EXEC_WAIT(N(EVS_SetToadHouseDialogue)) + EVT_EXEC_WAIT(N(EVS_ToadHouse_SetDialogue)) EVT_IF_EQ(LVar0, 0) EVT_RETURN EVT_END_IF diff --git a/src/world/common/atomic/WhaleAnim.inc.c b/src/world/common/atomic/WhaleAnim.inc.c index 8e6e3d19a2..0f6c552a01 100644 --- a/src/world/common/atomic/WhaleAnim.inc.c +++ b/src/world/common/atomic/WhaleAnim.inc.c @@ -108,10 +108,10 @@ void N(unkAngleFunc002)(void) { Vtx* copiedVertices; s32 numVertices; - mdl_get_copied_vertices(1, &firstVertex, &copiedVertices, &numVertices); + mdl_get_copied_vertices(VTX_COPY_1, &firstVertex, &copiedVertices, &numVertices); N(unkVtxFunc001)(firstVertex, copiedVertices, numVertices, &N(unkAngle2)); - gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(1)); + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(VTX_COPY_1)); if (N(unkAngle2) >= 0) { N(unkAngle2) += 4; } @@ -125,10 +125,10 @@ void N(unkAngleFunc003)(void) { Vtx* copiedVertices; s32 numVertices; - mdl_get_copied_vertices(2, &firstVertex, &copiedVertices, &numVertices); + mdl_get_copied_vertices(VTX_COPY_2, &firstVertex, &copiedVertices, &numVertices); N(unkVtxFunc001)(firstVertex, copiedVertices, numVertices, &N(unkAngle3)); - gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(2)); + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(VTX_COPY_2)); if (N(unkAngle3) >= 0) { N(unkAngle3) += 4; } diff --git a/src/world/common/complete/KnockDownPlayer.inc.c b/src/world/common/complete/KnockDownPlayer.inc.c new file mode 100644 index 0000000000..5f2ced7573 --- /dev/null +++ b/src/world/common/complete/KnockDownPlayer.inc.c @@ -0,0 +1,140 @@ +#include "common.h" +#include "sprite.h" + +#ifndef KNOCK_DOWN_MAP_VAR +#warning KNOCK_DOWN_MAP_VAR must be defined! +#endif + +void N(gfx_build_knocked_down_player)(void) { + UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL, KNOCK_DOWN_MAP_VAR); + FoldImageRecPart part; + SpriteRasterInfo rasterInfo; + Matrix4f sp40, sp80; + + gDPPipeSync(gMasterGfxPos++); + gDPSetCycleType(gMasterGfxPos++, G_CYC_1CYCLE); + gSPClearGeometryMode(gMasterGfxPos++, + G_SHADE | G_CULL_BOTH | G_FOG | G_LIGHTING | G_TEXTURE_GEN | G_TEXTURE_GEN_LINEAR | G_LOD | + G_SHADING_SMOOTH); + gSPSetGeometryMode(gMasterGfxPos++, G_ZBUFFER | G_SHADE | G_SHADING_SMOOTH); + gSPTexture(gMasterGfxPos++, 0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON); + gDPSetTextureLOD(gMasterGfxPos++, G_TL_TILE); + gDPSetTexturePersp(gMasterGfxPos++, G_TP_PERSP); + gDPSetTextureFilter(gMasterGfxPos++, G_TF_BILERP); + gDPSetColorDither(gMasterGfxPos++, G_CD_DISABLE); + gDPSetTextureDetail(gMasterGfxPos++, G_TD_CLAMP); + gDPSetTextureConvert(gMasterGfxPos++, G_TC_FILT); + gDPSetCombineKey(gMasterGfxPos++, G_CK_NONE); + gDPSetAlphaCompare(gMasterGfxPos++, G_AC_NONE); + + guTranslateF(sp40, temp_v0->pos.x, temp_v0->pos.y, temp_v0->pos.z); + guRotateF(sp80, temp_v0->rot.y, 0.0f, 1.0f, 0.0f); + guMtxCatF(sp80, sp40, sp40); + guRotateF(sp80, temp_v0->rot.z, 0.0f, 0.0f, 1.0f); + guMtxCatF(sp80, sp40, sp40); + guRotateF(sp80, temp_v0->rot.x, 1.0f, 0.0f, 0.0f); + guMtxCatF(sp80, sp40, sp40); + guScaleF(sp80, temp_v0->scale.x, temp_v0->scale.y, temp_v0->scale.z); + guMtxCatF(sp80, sp40, sp40); + guMtxF2L(sp40, &gDisplayContext->matrixStack[gMatrixListPos]); + gSPMatrix(gMasterGfxPos++, + OS_K0_TO_PHYSICAL(&gDisplayContext->matrixStack[gMatrixListPos++]), + G_MTX_PUSH | G_MTX_LOAD | G_MTX_MODELVIEW); + + spr_get_player_raster_info(&rasterInfo, temp_v0->spriteIndex, temp_v0->rasterIndex); + part.raster = rasterInfo.raster; + part.palette = rasterInfo.defaultPal; + temp_v0->unk_34 = part.width = rasterInfo.width; + temp_v0->unk_38 = part.height = rasterInfo.height; + part.xOffset = -(s32) (rasterInfo.width * 0.5f); + part.yOffset = rasterInfo.height; + part.opacity = 255; + + fold_appendGfx_component(temp_v0->foldID, &part, 0.0f, sp40); + gSPPopMatrix(gMasterGfxPos++, G_MTX_MODELVIEW); +} + +ApiStatus N(KnockDownPlayerB)(Evt* script) { + Bytecode* args = script->ptrReadPos; + s32 spriteIndex = evt_get_variable(script, *args++); + s32 rasterIndex = evt_get_variable(script, *args++); + UnkEntityStruct* temp_v0 = heap_malloc(sizeof(*temp_v0)); + + temp_v0->spriteIndex = spriteIndex; + temp_v0->rasterIndex = rasterIndex; + temp_v0->unk_34 = gPlayerStatus.colliderHeight; + temp_v0->unk_38 = gPlayerStatus.colliderDiameter; + temp_v0->pos.x = gPlayerStatus.position.x; + temp_v0->pos.y = gPlayerStatus.position.y; + temp_v0->pos.z = gPlayerStatus.position.z; + temp_v0->rot.x = 0.0f; + temp_v0->rot.y = 0.0f; + temp_v0->rot.z = 0.0f; + temp_v0->scale.x = SPRITE_WORLD_SCALE_F; + temp_v0->scale.y = SPRITE_WORLD_SCALE_F; + temp_v0->scale.z = SPRITE_WORLD_SCALE_F; + temp_v0->foldID = func_8013A704(1); + temp_v0->entityID = create_worker_world(0, N(gfx_build_knocked_down_player)); + evt_set_variable(script, KNOCK_DOWN_MAP_VAR, (s32) temp_v0); + return ApiStatus_DONE2; +} + +API_CALLABLE(N(KnockDownPlayerC)) { + UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL,KNOCK_DOWN_MAP_VAR); + + func_8013A854(temp_v0->foldID); + free_worker(temp_v0->entityID); + heap_free(temp_v0); + evt_set_variable(script, KNOCK_DOWN_MAP_VAR, NULL); + return ApiStatus_DONE2; +} + +API_CALLABLE(N(KnockDownPlayerD)) { + Bytecode* args = script->ptrReadPos; + s32 x = evt_get_float_variable(script, *args++); + s32 y = evt_get_float_variable(script, *args++); + s32 z = evt_get_float_variable(script, *args++); + UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL, KNOCK_DOWN_MAP_VAR); + + temp_v0->pos.x = x; + temp_v0->pos.y = y; + temp_v0->pos.z = z; + return ApiStatus_DONE2; +} + +API_CALLABLE(N(KnockDownPlayerE)) { + Bytecode* args = script->ptrReadPos; + s32 x = evt_get_float_variable(script, *args++); + s32 y = evt_get_float_variable(script, *args++); + s32 z = evt_get_float_variable(script, *args++); + UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL, KNOCK_DOWN_MAP_VAR); + + temp_v0->rot.x = x; + temp_v0->rot.y = y; + temp_v0->rot.z = z; + return ApiStatus_DONE2; +} + +API_CALLABLE(N(KnockDownPlayerF)) { + Bytecode* args = script->ptrReadPos; + s32 x = evt_get_float_variable(script, *args++); + s32 y = evt_get_float_variable(script, *args++); + s32 z = evt_get_float_variable(script, *args++); + UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL, KNOCK_DOWN_MAP_VAR); + + temp_v0->scale.x = x; + temp_v0->scale.y = y; + temp_v0->scale.z = z; + return ApiStatus_DONE2; +} + +API_CALLABLE(N(KnockDownPlayerG)) { + Bytecode* args = script->ptrReadPos; + s32 spriteIndex = evt_get_variable(script, *args++); + s32 rasterIndex = evt_get_variable(script, *args++); + UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL, KNOCK_DOWN_MAP_VAR); + + temp_v0->spriteIndex = spriteIndex; + temp_v0->rasterIndex = rasterIndex; + return ApiStatus_DONE2; +} diff --git a/src/world/common/complete/LetterDelivery.inc.c b/src/world/common/complete/LetterDelivery.inc.c index 4451894a26..35016960c2 100644 --- a/src/world/common/complete/LetterDelivery.inc.c +++ b/src/world/common/complete/LetterDelivery.inc.c @@ -197,7 +197,7 @@ EvtScript N(EVS_DoLetterDelivery) = { EvtScript N(EVS_##npcName##_LetterReward) = { \ EVT_IF_EQ(LVarC, 2) \ EVT_SET(LVar0, ITEM_STAR_PIECE) \ - EVT_SET(LVar1, 3) \ + EVT_SET(LVar1, ITEM_TYPE_STAR_PIECE) \ EVT_EXEC_WAIT(N(GiveKeyReward)) \ EVT_CALL(AddStarPieces, 1) \ EVT_END_IF \ diff --git a/src/world/common/complete/NormalItemChoice.inc.c b/src/world/common/complete/NormalItemChoice.inc.c index a16a9a9671..d5186fbc72 100644 --- a/src/world/common/complete/NormalItemChoice.inc.c +++ b/src/world/common/complete/NormalItemChoice.inc.c @@ -91,9 +91,9 @@ EvtScript N(EVS_ChooseItem) = { EVT_END }; -#define EVT_CHOOSE_ANY_CONSUMABLE() \ +#define EVT_CHOOSE_ANY_CONSUMABLE(unkMode) \ EVT_SET(LVar0, 0) \ - EVT_SET(LVar1, 2) \ + EVT_SET(LVar1, unkMode) \ EVT_EXEC_WAIT(N(EVS_ChooseItem)) #define EVT_CHOOSE_CONSUMABLE_FROM(itemList, unkMode) \ diff --git a/src/world/common/complete/Quizmo.inc.c b/src/world/common/complete/Quizmo.inc.c index 9533d9562e..b8fbca20c1 100644 --- a/src/world/common/complete/Quizmo.inc.c +++ b/src/world/common/complete/Quizmo.inc.c @@ -62,6 +62,8 @@ enum { enum { // area_mac + QUIZ_MAP_MAC_00 = 0, + QUIZ_MAP_MAC_01 = 1, QUIZ_MAP_MAC_04 = 4, QUIZ_MAP_MAC_05 = 5, QUIZ_COUNT_MAC = 6, diff --git a/src/world/common/complete/ToadHouseBlanketAnim.inc.c b/src/world/common/complete/ToadHouseBlanketAnim.inc.c new file mode 100644 index 0000000000..6bcf179fb7 --- /dev/null +++ b/src/world/common/complete/ToadHouseBlanketAnim.inc.c @@ -0,0 +1,250 @@ +#include "animation_script.h" + +extern Gfx N(toad_house_blanket_gfx)[]; +extern Vtx N(toad_house_blanket_vtx)[]; +extern IMG_BIN N(toad_house_blanket_img)[]; + +StaticAnimatorNode N(D_80248AA0_971C60) = { + .displayList = N(toad_house_blanket_gfx), + .vertexStartOffset = 0x02EE, + .vtxList = N(toad_house_blanket_vtx), +}; + +StaticAnimatorNode N(D_80248ACC_971C8C) = { + .displayList = N(toad_house_blanket_gfx), + .sibling = &N(D_80248AA0_971C60), + .vertexStartOffset = 0x02BC, + .vtxList = N(toad_house_blanket_vtx), +}; + +StaticAnimatorNode N(D_80248AF8_971CB8) = { + .displayList = N(toad_house_blanket_gfx), + .sibling = &N(D_80248ACC_971C8C), + .vertexStartOffset = 0x028A, + .vtxList = N(toad_house_blanket_vtx), +}; + +StaticAnimatorNode N(D_80248B24_971CE4) = { + .displayList = N(toad_house_blanket_gfx), + .sibling = &N(D_80248AF8_971CB8), + .vertexStartOffset = 0x0258, + .vtxList = N(toad_house_blanket_vtx), +}; + +StaticAnimatorNode N(D_80248B50_971D10) = { + .displayList = N(toad_house_blanket_gfx), + .sibling = &N(D_80248B24_971CE4), + .vertexStartOffset = 0x0226, + .vtxList = N(toad_house_blanket_vtx), +}; + +StaticAnimatorNode N(D_80248B7C_971D3C) = { + .displayList = N(toad_house_blanket_gfx), + .sibling = &N(D_80248B50_971D10), + .vertexStartOffset = 0x01F4, + .vtxList = N(toad_house_blanket_vtx), +}; + +StaticAnimatorNode N(D_80248BA8_971D68) = { + .displayList = N(toad_house_blanket_gfx), + .sibling = &N(D_80248B7C_971D3C), + .vertexStartOffset = 0x01C2, + .vtxList = N(toad_house_blanket_vtx), +}; + +StaticAnimatorNode N(D_80248BD4_971D94) = { + .displayList = N(toad_house_blanket_gfx), + .sibling = &N(D_80248BA8_971D68), + .vertexStartOffset = 0x0190, + .vtxList = N(toad_house_blanket_vtx), +}; + +StaticAnimatorNode N(D_80248C00_971DC0) = { + .displayList = N(toad_house_blanket_gfx), + .sibling = &N(D_80248BD4_971D94), + .vertexStartOffset = 0x015E, + .vtxList = N(toad_house_blanket_vtx), +}; + +StaticAnimatorNode N(D_80248C2C_971DEC) = { + .displayList = N(toad_house_blanket_gfx), + .sibling = &N(D_80248C00_971DC0), + .vertexStartOffset = 0x012C, + .vtxList = N(toad_house_blanket_vtx), +}; + +StaticAnimatorNode N(D_80248C58_971E18) = { + .displayList = N(toad_house_blanket_gfx), + .sibling = &N(D_80248C2C_971DEC), + .vertexStartOffset = 0x00FA, + .vtxList = N(toad_house_blanket_vtx), +}; + +StaticAnimatorNode N(D_80248C84_971E44) = { + .displayList = N(toad_house_blanket_gfx), + .sibling = &N(D_80248C58_971E18), + .vertexStartOffset = 0x00C8, + .vtxList = N(toad_house_blanket_vtx), +}; + +StaticAnimatorNode N(D_80248CB0_971E70) = { + .displayList = N(toad_house_blanket_gfx), + .sibling = &N(D_80248C84_971E44), + .vertexStartOffset = 0x0096, + .vtxList = N(toad_house_blanket_vtx), +}; + +StaticAnimatorNode N(D_80248CDC_971E9C) = { + .displayList = N(toad_house_blanket_gfx), + .sibling = &N(D_80248CB0_971E70), + .vertexStartOffset = 0x0064, + .vtxList = N(toad_house_blanket_vtx), +}; + +StaticAnimatorNode N(D_80248D08_971EC8) = { + .displayList = N(toad_house_blanket_gfx), + .sibling = &N(D_80248CDC_971E9C), + .vertexStartOffset = 0x0032, + .vtxList = N(toad_house_blanket_vtx), +}; + +StaticAnimatorNode N(D_80248D34_971EF4) = { + .displayList = N(toad_house_blanket_gfx), + .sibling = &N(D_80248D08_971EC8), + .vertexStartOffset = 0, + .vtxList = N(toad_house_blanket_vtx), +}; + +StaticAnimatorNode N(D_80248D60_971F20) = { + .child = &N(D_80248D34_971EF4), + .vertexStartOffset = -1, +}; + +StaticAnimatorNode* N(D_80248D8C_971F4C)[] = { + &N(D_80248D60_971F20), &N(D_80248D34_971EF4), &N(D_80248D08_971EC8), &N(D_80248CDC_971E9C), + &N(D_80248CB0_971E70), &N(D_80248C84_971E44), &N(D_80248C58_971E18), &N(D_80248C2C_971DEC), + &N(D_80248C00_971DC0), &N(D_80248BD4_971D94), &N(D_80248BA8_971D68), &N(D_80248B7C_971D3C), + &N(D_80248B50_971D10), &N(D_80248B24_971CE4), &N(D_80248AF8_971CB8), &N(D_80248ACC_971C8C), + &N(D_80248AA0_971C60), 0x00000000, 0x00000000, +}; + +#include "world/toad_house/blanket.vtx.inc.c" +#include "world/toad_house/blanket.gfx.inc.c" +#include "world/toad_house/blanket.png.inc.c" + +AnimScript N(ANS_ToadHouseBlanket) = { + AS_OP_19, + AS_SET_ROTATION, 1, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 1, 0, 0, 0, + AS_SET_SCALE, 1, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_SET_ROTATION, 2, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 2, 0, 0, 0, + AS_SET_SCALE, 2, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_SET_ROTATION, 3, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 3, 0, 0, 0, + AS_SET_SCALE, 3, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_SET_ROTATION, 4, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 4, 0, 0, 0, + AS_SET_SCALE, 4, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_SET_ROTATION, 5, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 5, 0, 0, 0, + AS_SET_SCALE, 5, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_SET_ROTATION, 6, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 6, 0, 0, 0, + AS_SET_SCALE, 6, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_SET_ROTATION, 7, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 7, 0, 0, 0, + AS_SET_SCALE, 7, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_SET_ROTATION, 8, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 8, 0, 0, 0, + AS_SET_SCALE, 8, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_SET_ROTATION, 9, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 9, 0, 0, 0, + AS_SET_SCALE, 9, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_SET_ROTATION, 10, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 10, 0, 0, 0, + AS_SET_SCALE, 10, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_SET_ROTATION, 11, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 11, 0, 0, 0, + AS_SET_SCALE, 11, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_SET_ROTATION, 12, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 12, 0, 0, 0, + AS_SET_SCALE, 12, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_SET_ROTATION, 13, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 13, 0, 0, 0, + AS_SET_SCALE, 13, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_SET_ROTATION, 14, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 14, 0, 0, 0, + AS_SET_SCALE, 14, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_SET_ROTATION, 15, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 15, 0, 0, 0, + AS_SET_SCALE, 15, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_SET_ROTATION, 16, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 16, 0, 0, 0, + AS_SET_SCALE, 16, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_SET_ROTATION, 17, AS_F(0.0), AS_F(0.0), AS_F(0.0), + AS_SET_POS, 17, 0, 0, 0, + AS_SET_SCALE, 17, AS_F(1.0), AS_F(1.0), AS_F(1.0), + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_WAIT, 1, + AS_END_LOOP, + AS_END, +}; diff --git a/src/world/common/enemy/complete/ShyGuy.h b/src/world/common/enemy/complete/ShyGuy.h new file mode 100644 index 0000000000..1a14320574 --- /dev/null +++ b/src/world/common/enemy/complete/ShyGuy.h @@ -0,0 +1,29 @@ +#include "common.h" +#include "sprite/npc/ShyGuy.h" + +#define SHY_GUY_NO_DROPS \ +{ \ + .dropFlags = NPC_DROP_FLAGS_80, \ + .heartDrops = NO_DROPS, \ + .flowerDrops = NO_DROPS, \ +} + +#define SHY_GUY_ANIMS \ +{ \ + .idle = ANIM_ShyGuy_Red_Anim01, \ + .walk = ANIM_ShyGuy_Red_Anim02, \ + .run = ANIM_ShyGuy_Red_Anim03, \ + .chase = ANIM_ShyGuy_Red_Anim03, \ + .anim_4 = ANIM_ShyGuy_Red_Anim01, \ + .anim_5 = ANIM_ShyGuy_Red_Anim01, \ + .death = ANIM_ShyGuy_Red_Anim0C, \ + .hit = ANIM_ShyGuy_Red_Anim0C, \ + .anim_8 = ANIM_ShyGuy_Red_Anim15, \ + .anim_9 = ANIM_ShyGuy_Red_Anim12, \ + .anim_A = ANIM_ShyGuy_Red_Anim11, \ + .anim_B = ANIM_ShyGuy_Red_Anim10, \ + .anim_C = ANIM_ShyGuy_Red_Anim05, \ + .anim_D = ANIM_ShyGuy_Red_Anim01, \ + .anim_E = ANIM_ShyGuy_Red_Anim01, \ + .anim_F = ANIM_ShyGuy_Red_Anim01, \ +} diff --git a/src/world/common/enemy/complete/ShyGuy_NoAI.inc.c b/src/world/common/enemy/complete/ShyGuy_NoAI.inc.c new file mode 100644 index 0000000000..7b1ce0692d --- /dev/null +++ b/src/world/common/enemy/complete/ShyGuy_NoAI.inc.c @@ -0,0 +1,10 @@ +#include "ShyGuy.h" + +NpcSettings N(NpcSettings_ShyGuy_NoAI) = { + .height = 23, + .radius = 22, + .level = 14, + .onHit = &EnemyNpcHit, + .onDefeat = &EnemyNpcDefeat, + .actionFlags = AI_ACTION_JUMP_WHEN_SEE_PLAYER, +}; diff --git a/src/world/common/npc/Bobomb.h b/src/world/common/npc/Bobomb.h new file mode 100644 index 0000000000..5e7874d76f --- /dev/null +++ b/src/world/common/npc/Bobomb.h @@ -0,0 +1,29 @@ +#include "common.h" +#include "sprite/npc/WorldBobomb.h" + +#define BOBOMB_DROPS \ +{ \ + .dropFlags = NPC_DROP_FLAGS_80, \ + .heartDrops = NO_DROPS, \ + .flowerDrops = NO_DROPS, \ +} + +#define BOBOMB_ANIMS \ +{ \ + .idle = ANIM_WorldBobomb_Blue_Idle, \ + .walk = ANIM_WorldBobomb_Blue_Walk, \ + .run = ANIM_WorldBobomb_Blue_Run, \ + .chase = ANIM_WorldBobomb_Blue_Run, \ + .anim_4 = ANIM_WorldBobomb_Blue_Idle, \ + .anim_5 = ANIM_WorldBobomb_Blue_Idle, \ + .death = ANIM_WorldBobomb_Blue_Still, \ + .hit = ANIM_WorldBobomb_Blue_Still, \ + .anim_8 = ANIM_WorldBobomb_Blue_Still, \ + .anim_9 = ANIM_WorldBobomb_Blue_Still, \ + .anim_A = ANIM_WorldBobomb_Blue_Still, \ + .anim_B = ANIM_WorldBobomb_Blue_Still, \ + .anim_C = ANIM_WorldBobomb_Blue_Still, \ + .anim_D = ANIM_WorldBobomb_Blue_Still, \ + .anim_E = ANIM_WorldBobomb_Blue_Still, \ + .anim_F = ANIM_WorldBobomb_Blue_Still, \ +} diff --git a/src/world/common/npc/Bobomb.inc.c b/src/world/common/npc/Bobomb.inc.c new file mode 100644 index 0000000000..0a36c509b8 --- /dev/null +++ b/src/world/common/npc/Bobomb.inc.c @@ -0,0 +1,10 @@ +#include "common.h" +#include "Bobomb.h" + +NpcSettings N(NpcSettings_Bobomb) = { + .height = 23, + .radius = 20, + .level = 6, + .onHit = &EnemyNpcHit, + .onDefeat = &EnemyNpcDefeat, +}; diff --git a/src/world/common/npc/GoombaFamily.h b/src/world/common/npc/GoombaFamily.h index 6f941a82e8..1a3c236b99 100644 --- a/src/world/common/npc/GoombaFamily.h +++ b/src/world/common/npc/GoombaFamily.h @@ -32,6 +32,60 @@ ANIM_Dryite_Green_Idle, \ } +#define GOOMA_DROPS \ +{ \ + .dropFlags = NPC_DROP_FLAGS_80, \ + .heartDrops = NO_DROPS, \ + .flowerDrops = NO_DROPS, \ +} + +#define GOOMA_ANIMS \ +{ \ + .idle = ANIM_Gooma_Idle, \ + .walk = ANIM_Gooma_Walk, \ + .run = ANIM_Gooma_Run, \ + .chase = ANIM_Gooma_Run, \ + .anim_4 = ANIM_Gooma_Idle, \ + .anim_5 = ANIM_Gooma_Idle, \ + .death = ANIM_Gooma_Still, \ + .hit = ANIM_Gooma_Still, \ + .anim_8 = ANIM_Gooma_Run, \ + .anim_9 = ANIM_Gooma_Run, \ + .anim_A = ANIM_Gooma_Run, \ + .anim_B = ANIM_Gooma_Run, \ + .anim_C = ANIM_Gooma_Run, \ + .anim_D = ANIM_Gooma_Run, \ + .anim_E = ANIM_Gooma_Run, \ + .anim_F = ANIM_Gooma_Run, \ +} + +#define GOOMPAPA_DROPS \ +{ \ + .dropFlags = NPC_DROP_FLAGS_80, \ + .heartDrops = NO_DROPS, \ + .flowerDrops = NO_DROPS, \ +} + +#define GOOMPAPA_ANIMS \ +{ \ + .idle = ANIM_Goompapa_Idle, \ + .walk = ANIM_Goompapa_Walk, \ + .run = ANIM_Goompapa_Run, \ + .chase = ANIM_Goompapa_Run, \ + .anim_4 = ANIM_Goompapa_Idle, \ + .anim_5 = ANIM_Goompapa_Idle, \ + .death = ANIM_Goompapa_Still, \ + .hit = ANIM_Goompapa_Still, \ + .anim_8 = ANIM_Goompapa_Run, \ + .anim_9 = ANIM_Goompapa_Run, \ + .anim_A = ANIM_Goompapa_Run, \ + .anim_B = ANIM_Goompapa_Run, \ + .anim_C = ANIM_Goompapa_Run, \ + .anim_D = ANIM_Goompapa_Run, \ + .anim_E = ANIM_Goompapa_Run, \ + .anim_F = ANIM_Goompapa_Run, \ +} + #define GOOMAMA_DROPS \ { \ .dropFlags = NPC_DROP_FLAGS_80, \ diff --git a/src/world/common/npc/GoombaFamily.inc.c b/src/world/common/npc/GoombaFamily.inc.c index 65951d516b..1a64334370 100644 --- a/src/world/common/npc/GoombaFamily.inc.c +++ b/src/world/common/npc/GoombaFamily.inc.c @@ -1,6 +1,6 @@ #include "GoombaFamily.h" -NpcSettings N(NpcSettings_Goomba_Family) = { +NpcSettings N(NpcSettings_GoombaFamily) = { .height = 22, .radius = 24, .level = 99, diff --git a/src/world/common/npc/KoloradoWife.h b/src/world/common/npc/KoloradoWife.h new file mode 100644 index 0000000000..2999f9b44f --- /dev/null +++ b/src/world/common/npc/KoloradoWife.h @@ -0,0 +1,29 @@ +#include "common.h" +#include "sprite/npc/KoloradoWife.h" + +#define KOLORADO_WIFE_DROPS \ +{ \ + .dropFlags = NPC_DROP_FLAGS_80, \ + .heartDrops = NO_DROPS, \ + .flowerDrops = NO_DROPS, \ +} + +#define KOLORADO_WIFE_ANIMS \ +{ \ + .idle = ANIM_KoloradoWife_Idle, \ + .walk = ANIM_KoloradoWife_Walk, \ + .run = ANIM_KoloradoWife_Run, \ + .chase = ANIM_KoloradoWife_Run, \ + .anim_4 = ANIM_KoloradoWife_Idle, \ + .anim_5 = ANIM_KoloradoWife_Idle, \ + .death = ANIM_KoloradoWife_Idle, \ + .hit = ANIM_KoloradoWife_Idle, \ + .anim_8 = ANIM_KoloradoWife_Idle, \ + .anim_9 = ANIM_KoloradoWife_Idle, \ + .anim_A = ANIM_KoloradoWife_Idle, \ + .anim_B = ANIM_KoloradoWife_Idle, \ + .anim_C = ANIM_KoloradoWife_Idle, \ + .anim_D = ANIM_KoloradoWife_Idle, \ + .anim_E = ANIM_KoloradoWife_Idle, \ + .anim_F = ANIM_KoloradoWife_Idle, \ +} diff --git a/src/world/common/npc/KoloradoWife.inc.c b/src/world/common/npc/KoloradoWife.inc.c new file mode 100644 index 0000000000..a097d32c89 --- /dev/null +++ b/src/world/common/npc/KoloradoWife.inc.c @@ -0,0 +1,8 @@ +#include "common.h" +#include "KoloradoWife.h" + +NpcSettings N(NpcSettings_KoloradoWife) = { + .height = 38, + .radius = 24, + .level = 99, +}; diff --git a/src/world/common/npc/Koopa.h b/src/world/common/npc/Koopa.h new file mode 100644 index 0000000000..7359ff4cfd --- /dev/null +++ b/src/world/common/npc/Koopa.h @@ -0,0 +1,29 @@ +#include "common.h" +#include "sprite/npc/Koopa.h" + +#define KOOPA_DROPS \ +{ \ + .dropFlags = NPC_DROP_FLAGS_80, \ + .heartDrops = NO_DROPS, \ + .flowerDrops = NO_DROPS, \ +} + +#define KOOPA_ANIMS \ +{ \ + .idle = ANIM_Koopa_Idle, \ + .walk = ANIM_Koopa_Walk, \ + .run = ANIM_Koopa_Run, \ + .chase = ANIM_Koopa_Run, \ + .anim_4 = ANIM_Koopa_Idle, \ + .anim_5 = ANIM_Koopa_Idle, \ + .death = ANIM_Koopa_Still, \ + .hit = ANIM_Koopa_Still, \ + .anim_8 = ANIM_Koopa_Still, \ + .anim_9 = ANIM_Koopa_Still, \ + .anim_A = ANIM_Koopa_Still, \ + .anim_B = ANIM_Koopa_Still, \ + .anim_C = ANIM_Koopa_Still, \ + .anim_D = ANIM_Koopa_Still, \ + .anim_E = ANIM_Koopa_Still, \ + .anim_F = ANIM_Koopa_Still, \ +} diff --git a/src/world/common/npc/Koopa.inc.c b/src/world/common/npc/Koopa.inc.c new file mode 100644 index 0000000000..63194b0927 --- /dev/null +++ b/src/world/common/npc/Koopa.inc.c @@ -0,0 +1,9 @@ +#include "common.h" +#include "Koopa.h" + +NpcSettings N(NpcSettings_Koopa) = { + .height = 35, + .radius = 24, + .level = 99, + .actionFlags = AI_ACTION_LOOK_AROUND_DURING_LOITER, +}; diff --git a/src/world/common/npc/KoopaKoot.h b/src/world/common/npc/KoopaKoot.h new file mode 100644 index 0000000000..f23fd94dd2 --- /dev/null +++ b/src/world/common/npc/KoopaKoot.h @@ -0,0 +1,29 @@ +#include "common.h" +#include "sprite/npc/KoopaKoot.h" + +#define KOOPA_KOOT_DROPS \ +{ \ + .dropFlags = NPC_DROP_FLAGS_80, \ + .heartDrops = NO_DROPS, \ + .flowerDrops = NO_DROPS, \ +} + +#define KOOPA_KOOT_ANIMS \ +{ \ + .idle = ANIM_KoopaKoot_Idle, \ + .walk = ANIM_KoopaKoot_Idle, \ + .run = ANIM_KoopaKoot_Idle, \ + .chase = ANIM_KoopaKoot_Idle, \ + .anim_4 = ANIM_KoopaKoot_Idle, \ + .anim_5 = ANIM_KoopaKoot_Idle, \ + .death = ANIM_KoopaKoot_Idle, \ + .hit = ANIM_KoopaKoot_Idle, \ + .anim_8 = ANIM_KoopaKoot_Idle, \ + .anim_9 = ANIM_KoopaKoot_Idle, \ + .anim_A = ANIM_KoopaKoot_Idle, \ + .anim_B = ANIM_KoopaKoot_Idle, \ + .anim_C = ANIM_KoopaKoot_Idle, \ + .anim_D = ANIM_KoopaKoot_Idle, \ + .anim_E = ANIM_KoopaKoot_Idle, \ + .anim_F = ANIM_KoopaKoot_Idle, \ +} diff --git a/src/world/common/npc/KoopaKoot.inc.c b/src/world/common/npc/KoopaKoot.inc.c new file mode 100644 index 0000000000..4fe27afbff --- /dev/null +++ b/src/world/common/npc/KoopaKoot.inc.c @@ -0,0 +1,8 @@ +#include "common.h" +#include "KoopaKoot.h" + +NpcSettings N(NpcSettings_KoopaKoot) = { + .height = 32, + .radius = 24, + .level = 99, +}; diff --git a/src/world/common/npc/Luigi.h b/src/world/common/npc/Luigi.h new file mode 100644 index 0000000000..408469b290 --- /dev/null +++ b/src/world/common/npc/Luigi.h @@ -0,0 +1,29 @@ +#include "common.h" +#include "sprite/npc/Luigi.h" + +#define LUIGI_DROPS \ +{ \ + .dropFlags = NPC_DROP_FLAGS_80, \ + .heartDrops = NO_DROPS, \ + .flowerDrops = NO_DROPS, \ +} + +#define LUIGI_ANIMS \ +{ \ + .idle = ANIM_Luigi_Still, \ + .walk = ANIM_Luigi_Still, \ + .run = ANIM_Luigi_Still, \ + .chase = ANIM_Luigi_Still, \ + .anim_4 = ANIM_Luigi_Still, \ + .anim_5 = ANIM_Luigi_Still, \ + .death = ANIM_Luigi_Still, \ + .hit = ANIM_Luigi_Still, \ + .anim_8 = ANIM_Luigi_Still, \ + .anim_9 = ANIM_Luigi_Still, \ + .anim_A = ANIM_Luigi_Still, \ + .anim_B = ANIM_Luigi_Still, \ + .anim_C = ANIM_Luigi_Still, \ + .anim_D = ANIM_Luigi_Still, \ + .anim_E = ANIM_Luigi_Still, \ + .anim_F = ANIM_Luigi_Still, \ +} diff --git a/src/world/common/npc/Luigi.inc.c b/src/world/common/npc/Luigi.inc.c new file mode 100644 index 0000000000..64fda2ba44 --- /dev/null +++ b/src/world/common/npc/Luigi.inc.c @@ -0,0 +1,7 @@ +#include "Luigi.h" + +NpcSettings N(NpcSettings_Luigi) = { + .height = 24, + .radius = 24, + .level = 99, +}; diff --git a/src/world/common/todo/UnkFoldFunc.inc.c b/src/world/common/todo/UnkFoldFunc.inc.c deleted file mode 100644 index e032162f9f..0000000000 --- a/src/world/common/todo/UnkFoldFunc.inc.c +++ /dev/null @@ -1,51 +0,0 @@ -#include "common.h" -#include "sprite.h" - -void N(UnkFoldFunc)(void) { - UnkEntityStruct* temp_v0 = (UnkEntityStruct*) evt_get_variable(NULL, MapVar(10)); - FoldImageRecPart part; - SpriteRasterInfo rasterInfo; - Matrix4f sp40, sp80; - - gDPPipeSync(gMasterGfxPos++); - gDPSetCycleType(gMasterGfxPos++, G_CYC_1CYCLE); - gSPClearGeometryMode(gMasterGfxPos++, - G_SHADE | G_CULL_BOTH | G_FOG | G_LIGHTING | G_TEXTURE_GEN | G_TEXTURE_GEN_LINEAR | G_LOD | - G_SHADING_SMOOTH); - gSPSetGeometryMode(gMasterGfxPos++, G_ZBUFFER | G_SHADE | G_SHADING_SMOOTH); - gSPTexture(gMasterGfxPos++, 0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON); - gDPSetTextureLOD(gMasterGfxPos++, G_TL_TILE); - gDPSetTexturePersp(gMasterGfxPos++, G_TP_PERSP); - gDPSetTextureFilter(gMasterGfxPos++, G_TF_BILERP); - gDPSetColorDither(gMasterGfxPos++, G_CD_DISABLE); - gDPSetTextureDetail(gMasterGfxPos++, G_TD_CLAMP); - gDPSetTextureConvert(gMasterGfxPos++, G_TC_FILT); - gDPSetCombineKey(gMasterGfxPos++, G_CK_NONE); - gDPSetAlphaCompare(gMasterGfxPos++, G_AC_NONE); - - guTranslateF(sp40, temp_v0->pos.x, temp_v0->pos.y, temp_v0->pos.z); - guRotateF(sp80, temp_v0->rot.y, 0.0f, 1.0f, 0.0f); - guMtxCatF(sp80, sp40, sp40); - guRotateF(sp80, temp_v0->rot.z, 0.0f, 0.0f, 1.0f); - guMtxCatF(sp80, sp40, sp40); - guRotateF(sp80, temp_v0->rot.x, 1.0f, 0.0f, 0.0f); - guMtxCatF(sp80, sp40, sp40); - guScaleF(sp80, temp_v0->scale.x, temp_v0->scale.y, temp_v0->scale.z); - guMtxCatF(sp80, sp40, sp40); - guMtxF2L(sp40, &gDisplayContext->matrixStack[gMatrixListPos]); - gSPMatrix(gMasterGfxPos++, - OS_K0_TO_PHYSICAL(&gDisplayContext->matrixStack[gMatrixListPos++]), - G_MTX_PUSH | G_MTX_LOAD | G_MTX_MODELVIEW); - - spr_get_player_raster_info(&rasterInfo, temp_v0->spriteIndex, temp_v0->rasterIndex); - part.raster = rasterInfo.raster; - part.palette = rasterInfo.defaultPal; - temp_v0->unk_34 = part.width = rasterInfo.width; - temp_v0->unk_38 = part.height = rasterInfo.height; - part.xOffset = -(s32) (rasterInfo.width * 0.5f); - part.yOffset = rasterInfo.height; - part.opacity = 255; - - fold_appendGfx_component(temp_v0->foldID, &part, 0.0f, sp40); - gSPPopMatrix(gMasterGfxPos++, G_MTX_MODELVIEW); -} diff --git a/src/world/common/todo/UnkMachiFunc.inc.c b/src/world/common/todo/UnkMachiFunc.inc.c deleted file mode 100644 index 3def6fd690..0000000000 --- a/src/world/common/todo/UnkMachiFunc.inc.c +++ /dev/null @@ -1,15 +0,0 @@ -#include "common.h" -#include "evt.h" - -ApiStatus N(UnkMachiFunc)(Evt* script, s32 isInitialCall) { - if (evt_get_variable(NULL, GF_MAC01_RowfBadgeAvailableA) == 0) { - set_item_entity_flags(gGameStatusPtr->shopItemEntities[0].index, ITEM_ENTITY_FLAGS_40); - } - if (evt_get_variable(NULL, GF_MAC01_RowfBadgeAvailableB) == 0) { - set_item_entity_flags(gGameStatusPtr->shopItemEntities[1].index, ITEM_ENTITY_FLAGS_40); - } - if (evt_get_variable(NULL, GF_MAC01_RowfBadgeAvailableC) == 0) { - set_item_entity_flags(gGameStatusPtr->shopItemEntities[2].index, ITEM_ENTITY_FLAGS_40); - } - return ApiStatus_DONE2; -} diff --git a/src/world/common/todo/UnkPositionFunc.inc.c b/src/world/common/todo/UnkPositionFunc.inc.c deleted file mode 100644 index 779cc4f805..0000000000 --- a/src/world/common/todo/UnkPositionFunc.inc.c +++ /dev/null @@ -1,22 +0,0 @@ -#include "common.h" -#include "npc.h" - -ApiStatus N(UnkPositionFunc)(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - PlayerStatus* playerStatus = &gPlayerStatus; - f32 var0 = evt_get_variable(script, *args++); - f32 var1 = evt_get_variable(script, *args++); - f32 var2 = evt_get_variable(script, *args++); - f32 var3 = evt_get_variable(script, *args++); - f32 temp; - - temp = (var3 - var1) / (var2 - var0); - - if (playerStatus->position.z < ((temp * playerStatus->position.x) + (var1 - (temp * var0)))) { - script->varTable[0] = 0; - } else { - script->varTable[0] = 1; - } - - return ApiStatus_DONE2; -} diff --git a/src/world/common/util/CheckPositionRelativeToPlane.inc.c b/src/world/common/util/CheckPositionRelativeToPlane.inc.c new file mode 100644 index 0000000000..6f7d7fcbdf --- /dev/null +++ b/src/world/common/util/CheckPositionRelativeToPlane.inc.c @@ -0,0 +1,57 @@ +#include "common.h" +#include "npc.h" + +// checks whether the player has crossed the plane defined by points A = (Ax, Az) and B = (Bx, Bz) +// this plane divides space into two halves: a "positive" region and "negative" region, with the positive +// region on the right side of the line going from A to B. +/* + ex: the region depicted goes from x = [0,100] and z = [0,100] with A = (10,10) and B = (60,80) +(z) +100 ---------------++++++ + ---------------++++++ + --------------+++++++ + -------------++++++++ + ------------B++++++++ + ------------+++++++++ + -----------++++++++++ + ----------+++++++++++ + ----------+++++++++++ + ---------++++++++++++ + --------+++++++++++++ + --------+++++++++++++ + -------++++++++++++++ + ------+++++++++++++++ + -----++++++++++++++++ + -----++++++++++++++++ + ----+++++++++++++++++ + ---++++++++++++++++++ + --A++++++++++++++++++ + --+++++++++++++++++++ + 0 -++++++++++++++++++++ + 0 100 (x) +*/ + +// returns (on LVar0) the side of the plane the player is on +#define PLANE_SIDE_NEGATIVE 0 +#define PLANE_SIDE_POSITIVE 1 + +ApiStatus N(CheckPositionRelativeToPlane)(Evt* script, s32 isInitialCall) { + Bytecode* args = script->ptrReadPos; + PlayerStatus* playerStatus = &gPlayerStatus; + f32 Ax = evt_get_variable(script, *args++); + f32 Az = evt_get_variable(script, *args++); + f32 Bx = evt_get_variable(script, *args++); + f32 Bz = evt_get_variable(script, *args++); + f32 dzdx; + + dzdx = (Bz - Az) / (Bx - Ax); + + // this is equivalent to testing the determinant: ((Bx - Ax)*(Pz - Az) - (Bz - Az)*(Px - Ax)) < 0 + if (playerStatus->position.z < ((dzdx * playerStatus->position.x) + (Az - (dzdx * Ax)))) { + script->varTable[0] = PLANE_SIDE_NEGATIVE; + } else { + script->varTable[0] = PLANE_SIDE_POSITIVE; + } + + return ApiStatus_DONE2; +} diff --git a/src/world/dead/area_flo/flo_14/flo_14_3_bubbles.c b/src/world/dead/area_flo/flo_14/flo_14_3_bubbles.c index 0ec44a22cd..8d0a9b4833 100644 --- a/src/world/dead/area_flo/flo_14/flo_14_3_bubbles.c +++ b/src/world/dead/area_flo/flo_14/flo_14_3_bubbles.c @@ -225,14 +225,14 @@ void N(gfx_build_big_bubble)(void) { matrix[2][1] = (cos_rad(N(BubblePhase) / 17.0f) * 0.04); guMtxF2L(matrix, &gDisplayContext->matrixStack[gMatrixListPos]); - mdl_get_copied_vertices(0, &src, &dest, ©Count); + mdl_get_copied_vertices(VTX_COPY_0, &src, &dest, ©Count); new_var = 0; while (new_var); // TODO required to match gSPMatrix(gMasterGfxPos++, &gDisplayContext->matrixStack[gMatrixListPos++], G_MTX_NOPUSH | G_MTX_MUL | G_MTX_MODELVIEW); - gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(0)); + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(VTX_COPY_0)); N(BubblePhase) += 1.0f; } @@ -247,7 +247,7 @@ void N(gfx_build_bubble_flower)(void) { f32 openedScale; // controls how open the flower is f32 lengthScale; // controls longitudinal pulsing - mdl_get_copied_vertices(1, &verts, &copied, &numCopied); + mdl_get_copied_vertices(VTX_COPY_1, &verts, &copied, &numCopied); for (i = 0; i < numCopied; i++) { Vtx* src = &verts[i]; @@ -262,7 +262,7 @@ void N(gfx_build_bubble_flower)(void) { } } - gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(1)); + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(VTX_COPY_1)); if (evt_get_variable(NULL, AF_FLO_BlowingBigBubble)) { if (N(FlowerPhase) > 90) { @@ -386,17 +386,17 @@ EvtScript N(EVS_SetupBubbles) = { EVT_EXEC(N(EVS_ManageBlownBubble)) EVT_SET(LVar0, CLONED_MODEL(5)) EVT_EXEC(N(EVS_ManageBlownBubble)) - EVT_CALL(MakeLocalVertexCopy, 0, MODEL_o167, TRUE) - EVT_CALL(SetCustomGfxBuilders, 1, EVT_PTR(N(gfx_build_big_bubble)), 0) - EVT_CALL(SetModelCustomGfx, MODEL_o167, 1, -1) - EVT_CALL(SetModelCustomGfx, CLONED_MODEL(1), 1, -1) - EVT_CALL(SetModelCustomGfx, CLONED_MODEL(2), 1, -1) - EVT_CALL(SetModelCustomGfx, CLONED_MODEL(3), 1, -1) - EVT_CALL(SetModelCustomGfx, CLONED_MODEL(4), 1, -1) - EVT_CALL(SetModelCustomGfx, CLONED_MODEL(5), 1, -1) - EVT_CALL(MakeLocalVertexCopy, 1, MODEL_o57, TRUE) - EVT_CALL(SetCustomGfxBuilders, 2, EVT_PTR(N(gfx_build_bubble_flower)), 0) - EVT_CALL(SetModelCustomGfx, MODEL_o57, 2, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_0, MODEL_o167, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_1, EVT_PTR(N(gfx_build_big_bubble)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_o167, CUSTOM_GFX_1, -1) + EVT_CALL(SetModelCustomGfx, CLONED_MODEL(1), CUSTOM_GFX_1, -1) + EVT_CALL(SetModelCustomGfx, CLONED_MODEL(2), CUSTOM_GFX_1, -1) + EVT_CALL(SetModelCustomGfx, CLONED_MODEL(3), CUSTOM_GFX_1, -1) + EVT_CALL(SetModelCustomGfx, CLONED_MODEL(4), CUSTOM_GFX_1, -1) + EVT_CALL(SetModelCustomGfx, CLONED_MODEL(5), CUSTOM_GFX_1, -1) + EVT_CALL(MakeLocalVertexCopy, VTX_COPY_1, MODEL_o57, TRUE) + EVT_CALL(SetCustomGfxBuilders, CUSTOM_GFX_2, EVT_PTR(N(gfx_build_bubble_flower)), 0) + EVT_CALL(SetModelCustomGfx, MODEL_o57, CUSTOM_GFX_2, -1) EVT_RETURN EVT_END }; diff --git a/src/world/dead/area_flo/flo_17/flo_17_5_entity.c b/src/world/dead/area_flo/flo_17/flo_17_5_entity.c index 822b7268cc..5b309cd337 100644 --- a/src/world/dead/area_flo/flo_17/flo_17_5_entity.c +++ b/src/world/dead/area_flo/flo_17/flo_17_5_entity.c @@ -4,7 +4,7 @@ EvtScript N(EVS_MakeEntities) = { EVT_CALL(MakeEntity, EVT_PTR(Entity_HiddenYellowBlock), 660, 60, -115, 0, ITEM_THUNDER_RAGE, MAKE_ENTITY_END) EVT_CALL(AssignBlockFlag, GF_FLO17_HiddenItem_ThunderRage) - EVT_CALL(MakeItemEntity, ITEM_LETTER09, -245, 0, 105, ITEM_SPAWN_MODE_FIXED_NEVER_VANISH, GF_FLO17_Item_Letter09) + EVT_CALL(MakeItemEntity, ITEM_LETTER_TO_MINHT, -245, 0, 105, ITEM_SPAWN_MODE_FIXED_NEVER_VANISH, GF_FLO17_Item_Letter09) EVT_RETURN EVT_END }; diff --git a/src/world/partners.c b/src/world/partners.c index 0a9aeb7063..2ab2de045b 100644 --- a/src/world/partners.c +++ b/src/world/partners.c @@ -2412,7 +2412,7 @@ void partner_set_tether_distance(f32 dist) { wPartnerTetherDistance = dist; } -void repartner_set_tether_distance(void) { +void partner_reset_tether_distance(void) { wPartnerTetherDistance = 40.0f; } diff --git a/src/world/script_api/7E0E80.c b/src/world/script_api/7E0E80.c index 1cf820c96f..60333d2ade 100644 --- a/src/world/script_api/7E0E80.c +++ b/src/world/script_api/7E0E80.c @@ -827,7 +827,7 @@ void draw_shop_items(void) { xOffset = 0; } - if (!(get_item_entity(shopItemEntities->index)->flags & ITEM_ENTITY_FLAGS_40)) { + if (!(get_item_entity(shopItemEntities->index)->flags & ITEM_ENTITY_FLAGS_HIDDEN)) { draw_number(itemData->price, xTemp + xOffset, yTemp, DRAW_NUMBER_CHARSET_THIN, MSG_PAL_WHITE, 255, 0); } diff --git a/src/world/script_api/7E2AA0.c b/src/world/script_api/7E2AA0.c index a8716e604d..9dc3f1b391 100644 --- a/src/world/script_api/7E2AA0.c +++ b/src/world/script_api/7E2AA0.c @@ -47,7 +47,7 @@ ApiStatus func_80281C20(Evt* script, s32 isInitialCall) { ApiStatus func_80281C84(Evt* script, s32 isInitialCall) { func_800EF3E4(); - repartner_set_tether_distance(); + partner_reset_tether_distance(); return ApiStatus_DONE2; } diff --git a/src/world/script_api/7E4690.c b/src/world/script_api/7E4690.c index 03f13882f3..31c8ab0e79 100644 --- a/src/world/script_api/7E4690.c +++ b/src/world/script_api/7E4690.c @@ -99,7 +99,7 @@ ApiStatus ShortenPartnerTetherDistance(Evt* script, s32 isInitialCall) { } ApiStatus ResetPartnerTetherDistance(Evt* script, s32 isInitialCall) { - repartner_set_tether_distance(); + partner_reset_tether_distance(); return ApiStatus_DONE2; } diff --git a/src/world/world.c b/src/world/world.c index 4ec59b430c..9a0275f1b8 100644 --- a/src/world/world.c +++ b/src/world/world.c @@ -271,7 +271,6 @@ s32 get_asset_offset(char* assetName, s32* compressedSize) { .dmaEnd = map##_ROM_END, \ .dmaDest = map##_VRAM \ - // these, along with all the *_maps, almost certainly belong in the next file s16 gEntityColliderFaces[] = { 4, 6, 5, 4, 7, 6, 0, 3, 4, 3, 7, 4, 3, 2, 7, 2, 6, 7, 2, 1, 6, 1, 5, 6, 1, 0, 5, 0, 4, 5, 0, 1, 2, 0, 2, 3}; @@ -284,8 +283,8 @@ f32 gEntityColliderNormals[] = { 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, #include "area_mac/mac.h" MapConfig mac_maps[] = { { MAP(machi), .bgName = "nok_bg" }, - { MAP_UNSPLIT(mac_00, 0x80243BE0), .bgName = "nok_bg" }, - { MAP_UNSPLIT(mac_01, 0x80246730), .bgName = "nok_bg" }, + { MAP(mac_00), .bgName = "nok_bg" }, + { MAP(mac_01), .bgName = "nok_bg" }, { MAP(mac_02), .bgName = "nok_bg" }, { MAP(mac_03), .bgName = "nok_bg" }, { MAP_WITH_INIT(mac_04), .bgName = "nok_bg" }, diff --git a/tools/build/configure.py b/tools/build/configure.py index 0b028bc32a..cf9ccc1b34 100755 --- a/tools/build/configure.py +++ b/tools/build/configure.py @@ -141,17 +141,17 @@ def write_ninja_rules(ninja: ninja_syntax.Writer, cpp: str, cppflags: str, extra ninja.rule("img_header", description="img_header $in", - command=f"$python {BUILD_TOOLS}/img/header.py $in $out $c_name", + command=f"$python {BUILD_TOOLS}/img/header.py $in $out \"$c_name\"", ) ninja.rule("bin_inc_c", description="bin_inc_c $out", - command=f"$python {BUILD_TOOLS}/bin_inc_c.py $in $out $c_name", + command=f"$python {BUILD_TOOLS}/bin_inc_c.py $in $out \"$c_name\"", ) ninja.rule("pal_inc_c", description="pal_inc_c $out", - command=f"$python {BUILD_TOOLS}/pal_inc_c.py $in $out $c_name", + command=f"$python {BUILD_TOOLS}/pal_inc_c.py $in $out \"$c_name\"", ) ninja.rule("yay0", @@ -240,8 +240,9 @@ class Configure: modes = ["ld"] if assets: - modes.extend(["bin", "yay0", "img", "vtx", "gfx", "pm_map_data", "pm_msg", "pm_npc_sprites", "pm_charset", - "pm_charset_palettes", "pm_effect_loads", "pm_effect_shims", "pm_sprite_shading_profiles"]) + modes.extend(["bin", "yay0", "img", "vtx", "vtx_common", "gfx", "gfx_common", "pm_map_data", "pm_msg", + "pm_npc_sprites", "pm_charset","pm_charset_palettes", "pm_effect_loads", "pm_effect_shims", + "pm_sprite_shading_profiles"]) if code: modes.extend(["code", "c", "data", "rodata"]) @@ -434,7 +435,10 @@ class Configure: c_sym = seg.create_symbol( addr=seg.vram_start, in_segment=True, type="data", define=True ) - vars = {"c_name": c_sym.name} + name = c_sym.name + if "namespaced" in seg.args: + name = f"N({name[7:]})" + vars = {"c_name": name} build(inc_dir / (seg.name + ".png.h"), src_paths, "img_header", vars) build(inc_dir / (seg.name + ".png.inc.c"), [bin_path], "bin_inc_c", vars) elif isinstance(seg, segtypes.n64.palette.N64SegPalette): diff --git a/tools/splat/.gitrepo b/tools/splat/.gitrepo index affa3526cf..630f9a3425 100644 --- a/tools/splat/.gitrepo +++ b/tools/splat/.gitrepo @@ -6,7 +6,7 @@ [subrepo] remote = https://github.com/ethteck/splat.git branch = master - commit = 715ee0ad551da41cffdf01430c3a0f817638e70a - parent = 05e1ef8cb3c53d63683e33059c7f522619e6a69e + commit = 0f66e7552ac9a7d6a48917cfd8799568838bf63d + parent = cf83d8c6cc8225b59e4f4ed8b42aed017eac9415 method = merge cmdver = 0.4.5 diff --git a/tools/splat/CHANGELOG.md b/tools/splat/CHANGELOG.md index ffecd666d7..cf2c81102a 100644 --- a/tools/splat/CHANGELOG.md +++ b/tools/splat/CHANGELOG.md @@ -1,5 +1,12 @@ # splat Release Notes +### 0.12.9 +* Added `format_sym_name()` to the vtx segment so it, too, can be extended + +### 0.12.8 +* The gfx and vtx segments now have a `data_only` option, which, if enabled, will emit only the plain data for the type and omit the enclosing symbol definition. This mode is useful when you want to manually declare the symbol and then #include the extracted data within the declaration. +* The gfx segment has a method, `format_sym_name()`, which will allow custom overriding of the output of symbol names by extending the `gfx` segment. For example, this can be used to transform context-specific symbol names like mac_01_vtx into N(vtx), where N() is a macro that applies the current "namespace" to the symbol. Paper Mario plans to use this so we can extract an asset once and then #include it in multiple places, while giving each inclusion unique symbol names for each component. + ### 0.12.7 * Allow setting a different macro for jumptable labels with `asm_jtbl_label_macro` diff --git a/tools/splat/segtypes/n64/gfx.py b/tools/splat/segtypes/n64/gfx.py index e35b55ddb7..b4c164538e 100644 --- a/tools/splat/segtypes/n64/gfx.py +++ b/tools/splat/segtypes/n64/gfx.py @@ -61,6 +61,10 @@ class N64SegGfx(CommonSegCodeSubsegment): yaml=yaml, ) self.file_text = None + self.data_only = isinstance(yaml, dict) and yaml.get("data_only", False) + + def format_sym_name(self, sym) -> str: + return sym.name def get_linker_section(self) -> str: return ".data" @@ -75,15 +79,15 @@ class N64SegGfx(CommonSegCodeSubsegment): opt = options.opts.gfx_ucode if opt == "f3d": - return gfxd_f3d # type: ignore + return gfxd_f3d elif opt == "f3db": - return gfxd_f3db # type: ignore + return gfxd_f3db elif opt == "f3dex": - return gfxd_f3dex # type: ignore + return gfxd_f3dex elif opt == "f3dexb": - return gfxd_f3dexb # type: ignore + return gfxd_f3dexb elif opt == "f3dex2": - return gfxd_f3dex2 # type: ignore + return gfxd_f3dex2 else: log.error(f"Unknown target {opt}") @@ -91,56 +95,56 @@ class N64SegGfx(CommonSegCodeSubsegment): sym = self.create_symbol( addr=addr, in_segment=True, type="data", reference=True ) - gfxd_printf(sym.name) + gfxd_printf(self.format_sym_name(sym)) return 1 def timg_handler(self, addr, fmt, size, width, height, pal): sym = self.create_symbol( addr=addr, in_segment=True, type="data", reference=True ) - gfxd_printf(sym.name) + gfxd_printf(self.format_sym_name(sym)) return 1 def cimg_handler(self, addr, fmt, size, width): sym = self.create_symbol( addr=addr, in_segment=True, type="data", reference=True ) - gfxd_printf(sym.name) + gfxd_printf(self.format_sym_name(sym)) return 1 def zimg_handler(self, addr): sym = self.create_symbol( addr=addr, in_segment=True, type="data", reference=True ) - gfxd_printf(sym.name) + gfxd_printf(self.format_sym_name(sym)) return 1 def dl_handler(self, addr): sym = self.create_symbol( addr=addr, in_segment=True, type="data", reference=True ) - gfxd_printf(sym.name) + gfxd_printf(self.format_sym_name(sym)) return 1 def mtx_handler(self, addr): sym = self.create_symbol( addr=addr, in_segment=True, type="data", reference=True ) - gfxd_printf(sym.name) + gfxd_printf(self.format_sym_name(sym)) return 1 def lookat_handler(self, addr, count): sym = self.create_symbol( addr=addr, in_segment=True, type="data", reference=True ) - gfxd_printf(sym.name) + gfxd_printf(self.format_sym_name(sym)) return 1 def light_handler(self, addr, count): sym = self.create_symbol( addr=addr, in_segment=True, type="data", reference=True ) - gfxd_printf(sym.name) + gfxd_printf(self.format_sym_name(sym)) return 1 def vtx_handler(self, addr, count): @@ -148,14 +152,14 @@ class N64SegGfx(CommonSegCodeSubsegment): addr=addr, in_segment=True, type="data", reference=True, search_ranges=True ) index = int((addr - sym.vram_start) / 0x10) - gfxd_printf(f"&{sym.name}[{index}]") + gfxd_printf(f"&{self.format_sym_name(sym)}[{index}]") return 1 def vp_handler(self, addr): sym = self.create_symbol( addr=addr, in_segment=True, type="data", reference=True ) - gfxd_printf(sym.name) + gfxd_printf(self.format_sym_name(sym)) return 1 def macro_fn(self): @@ -175,7 +179,7 @@ class N64SegGfx(CommonSegCodeSubsegment): f"Error: gfx segment {self.name} length ({segment_length}) is not a multiple of 8!" ) - out_str = options.opts.generated_c_preamble + "\n\n" + out_str = "" if self.data_only else options.opts.generated_c_preamble + "\n\n" sym = self.create_symbol( addr=self.vram_start, in_segment=True, type="data", define=True @@ -211,9 +215,14 @@ class N64SegGfx(CommonSegCodeSubsegment): # gfxd_dram_callback ? gfxd_execute() - out_str += "Gfx " + sym.name + "[] = {\n" - out_str += gfxd_buffer_to_string(outbuf) - out_str += "};\n" + + if self.data_only: + out_str += gfxd_buffer_to_string(outbuf) + else: + out_str += "Gfx " + self.format_sym_name(sym) + "[] = {\n" + out_str += gfxd_buffer_to_string(outbuf) + out_str += "};\n" + return out_str def split(self, rom_bytes: bytes): diff --git a/tools/splat/segtypes/n64/vtx.py b/tools/splat/segtypes/n64/vtx.py index 85d61c2e6d..95310698b3 100644 --- a/tools/splat/segtypes/n64/vtx.py +++ b/tools/splat/segtypes/n64/vtx.py @@ -35,6 +35,10 @@ class N64SegVtx(CommonSegCodeSubsegment): yaml=yaml, ) self.file_text = None + self.data_only = isinstance(yaml, dict) and yaml.get("data_only", False) + + def format_sym_name(self, sym) -> str: + return sym.name def get_linker_section(self) -> str: return ".data" @@ -57,15 +61,17 @@ class N64SegVtx(CommonSegCodeSubsegment): ) lines = [] - preamble = options.opts.generated_c_preamble - lines.append(preamble) - lines.append("") + if not self.data_only: + lines.append(options.opts.generated_c_preamble) + lines.append("") vertex_count = segment_length // 16 sym = self.create_symbol( addr=self.vram_start, in_segment=True, type="data", define=True ) - lines.append(f"Vtx {sym.name}[{vertex_count}] = {{") + + if not self.data_only: + lines.append(f"Vtx {self.format_sym_name(sym)}[{vertex_count}] = {{") for vtx in struct.iter_unpack(">hhhHhhBBBB", vertex_data): x, y, z, flg, t, c, r, g, b, a = vtx @@ -74,7 +80,8 @@ class N64SegVtx(CommonSegCodeSubsegment): self.warn(f"Non-zero flag found in vertex data {self.name}!") lines.append(vtx_string) - lines.append("};") + if not self.data_only: + lines.append("};") # enforce newline at end of file lines.append("") diff --git a/tools/splat/split.py b/tools/splat/split.py index 80a5faee7c..b8d699ba3b 100755 --- a/tools/splat/split.py +++ b/tools/splat/split.py @@ -17,7 +17,7 @@ from segtypes.linker_entry import LinkerWriter, to_cname from segtypes.segment import RomAddr, Segment from util import compiler, log, options, palettes, symbols -VERSION = "0.12.7" +VERSION = "0.12.9" # This value should be keep in sync with the version listed on requirements.txt SPIMDISASM_MIN = (1, 7, 11) diff --git a/tools/splat_ext/gfx_common.py b/tools/splat_ext/gfx_common.py new file mode 100644 index 0000000000..dadfe1f85c --- /dev/null +++ b/tools/splat_ext/gfx_common.py @@ -0,0 +1,5 @@ +from segtypes.n64.gfx import N64SegGfx + +class N64SegGfx_common(N64SegGfx): + def format_sym_name(self, sym): + return f"N({sym.name[7:]})" diff --git a/tools/splat_ext/msg.yaml b/tools/splat_ext/msg.yaml index ebbc674580..437a04f95d 100644 --- a/tools/splat_ext/msg.yaml +++ b/tools/splat_ext/msg.yaml @@ -4821,10 +4821,10 @@ - [0x1A, 0x0014, NpcTattle_MAC_ShopLoiterer] - [0x1A, 0x0015, NpcTattle_MAC_NewsEnthusiast] - [0x1A, 0x0016, NpcTattle_MAC_FickleLovers] -- [0x1A, 0x0017, NpcTattle_MAC_ShamlessLover] +- [0x1A, 0x0017, NpcTattle_MAC_ShamelessLover] - [0x1A, 0x0018, NpcTattle_MAC_ThreeSisters_Eldest] - [0x1A, 0x0019, NpcTattle_MAC_ThreeSisters_Middle] -- [0x1A, 0x001A, NpcTattle_MAC_hreeSisters_Youngest] +- [0x1A, 0x001A, NpcTattle_MAC_ThreeSisters_Youngest] - [0x1A, 0x001B, NpcTattle_MAC_DojoSpectator] - [0x1A, 0x001C, NpcTattle_MAC_LuckyCastleWorker] - [0x1A, 0x001D, NpcTattle_MAC_Homemaker] diff --git a/tools/splat_ext/vtx_common.py b/tools/splat_ext/vtx_common.py new file mode 100644 index 0000000000..c6c23e4b49 --- /dev/null +++ b/tools/splat_ext/vtx_common.py @@ -0,0 +1,5 @@ +from segtypes.n64.vtx import N64SegVtx + +class N64SegVtx_common(N64SegVtx): + def format_sym_name(self, sym): + return f"N({sym.name[7:]})" diff --git a/ver/us/asm/data/world/area_kpa/kpa_81/A789F0.data.s b/ver/us/asm/data/world/area_kpa/kpa_81/A789F0.data.s index 9f66d6018d..e676b32509 100644 --- a/ver/us/asm/data/world/area_kpa/kpa_81/A789F0.data.s +++ b/ver/us/asm/data/world/area_kpa/kpa_81/A789F0.data.s @@ -12,7 +12,7 @@ dlabel D_80240568_A78A28 .word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000014, 0x00000024, 0x00000002, 0xFE363C82, 0x0000004E, 0x00000024, 0x00000002, 0xFE363C83, 0x0000004C, 0x00000044, 0x00000001, ExitDoubleDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x8024201C, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_8024060C_A78ACC -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000010, 0x00000024, 0x00000002, 0xFE363C82, D_80240530_A789F0, 0x00000024, 0x00000002, 0xFE363C83, D_8024054C_A78A0C, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80242024, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000010, 0x00000024, 0x00000002, 0xFE363C82, D_80240530_A789F0, 0x00000024, 0x00000002, 0xFE363C83, D_8024054C_A78A0C, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80242024, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802406B0_A78B70 .word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000003, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x8024202C, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 @@ -21,7 +21,7 @@ dlabel D_8024070C_A78BCC .word 0x00000047, 0x00000005, D_80240568_A78A28, 0x00000100, 0x00000014, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_802406B0_A78B70, 0x00080000, 0x0000001B, 0x00000001, 0x00000000, 0x0000000B, 0x00000002, 0xF5DE02AA, 0x00000000, 0x00000047, 0x00000005, D_8024060C_A78ACC, 0x00000100, 0x00000010, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80240788_A78C48 -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0x0000004E, 0x00000024, 0x00000002, 0xFE363C83, 0x0000004C, 0x00000044, 0x00000001, EnterDoubleDoor, 0x00000044, 0x00000001, D_8024070C_A78BCC, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C82, D_8024054C_A78A0C, 0x00000024, 0x00000002, 0xFE363C83, D_80240530_A789F0, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_8024070C_A78BCC, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, D_8024070C_A78BCC, 0x00000044, 0x00000001, EnterWalk, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0x0000004E, 0x00000024, 0x00000002, 0xFE363C83, 0x0000004C, 0x00000044, 0x00000001, EnterDoubleDoor, 0x00000044, 0x00000001, D_8024070C_A78BCC, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C82, D_8024054C_A78A0C, 0x00000024, 0x00000002, 0xFE363C83, D_80240530_A789F0, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_8024070C_A78BCC, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, D_8024070C_A78BCC, 0x00000044, 0x00000001, EnterWalk, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_8024088C_A78D4C .word 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ParentColliderToModel, 0x0000000B, 0x00000027, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0xFFFFFFD8, 0x00000028, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000005, TranslateModel, 0x00000027, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000028, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000002, UpdateColliderTransform, 0x0000000B, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000048, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000016, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000043, 0x00000003, MakeNpcs, 0x00000001, 0x80241FE0, 0x0000000B, 0x00000002, 0xF5DE02AA, 0x00000000, 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_8024088C_A78D4C, 0x00000100, 0x0000000B, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000047, 0x00000005, D_8024088C_A78D4C, 0x00000100, 0x0000000B, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ParentColliderToModel, 0x0000000B, 0x00000027, 0x00000014, 0x00000001, 0xF5DE02B0, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000005, TranslateModel, 0x00000027, 0xFFFFFFCE, 0x00000000, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000028, 0xFFFFFFCE, 0x00000000, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000005, TranslateModel, 0x00000027, 0x00000032, 0x00000000, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000028, 0x00000032, 0x00000000, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, UpdateColliderTransform, 0x0000000B, 0x00000043, 0x00000003, EnableModel, 0x0000000C, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000052, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000054, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005A, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005B, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005C, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005D, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005E, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005F, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000060, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000057, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000055, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000061, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000062, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000063, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000064, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000065, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000066, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000067, 0x00000000, 0x00000044, 0x00000001, D_80240788_A78C48, 0x00000008, 0x00000001, 0x00000001, 0x00000044, 0x00000001, 0x802404C0, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_kpa/kpa_82/A7AA10.data.s b/ver/us/asm/data/world/area_kpa/kpa_82/A7AA10.data.s index 84f8a21e44..202aef567f 100644 --- a/ver/us/asm/data/world/area_kpa/kpa_82/A7AA10.data.s +++ b/ver/us/asm/data/world/area_kpa/kpa_82/A7AA10.data.s @@ -12,7 +12,7 @@ dlabel D_80240548_A7AA48 .word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000014, 0x00000024, 0x00000002, 0xFE363C82, 0x0000004E, 0x00000024, 0x00000002, 0xFE363C83, 0x0000004C, 0x00000044, 0x00000001, ExitDoubleDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80248F7C, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802405EC_A7AAEC -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000010, 0x00000024, 0x00000002, 0xFE363C82, D_80240510_A7AA10, 0x00000024, 0x00000002, 0xFE363C83, D_8024052C_A7AA2C, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80248F84, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000010, 0x00000024, 0x00000002, 0xFE363C82, D_80240510_A7AA10, 0x00000024, 0x00000002, 0xFE363C83, D_8024052C_A7AA2C, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80248F84, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80240690_A7AB90 .word 0x0000000A, 0x00000002, 0xF84061A3, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF84061A3, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 @@ -21,4 +21,4 @@ dlabel D_802406D0_A7ABD0 .word 0x00000047, 0x00000005, D_80240548_A7AA48, 0x00000100, 0x00000014, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xF5DE02AB, 0x00000000, 0x00000047, 0x00000005, D_80240690_A7AB90, 0x00000100, 0x00000010, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000047, 0x00000005, D_802405EC_A7AAEC, 0x00000100, 0x00000010, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80240754_A7AC54 -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0x0000004E, 0x00000024, 0x00000002, 0xFE363C83, 0x0000004C, 0x00000044, 0x00000001, EnterDoubleDoor, 0x00000044, 0x00000001, D_802406D0_A7ABD0, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, D_8024052C_A7AA2C, 0x00000024, 0x00000002, 0xFE363C83, D_80240510_A7AA10, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_802406D0_A7ABD0, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000016, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000043, 0x00000003, MakeNpcs, 0x00000001, 0x80248EF4, 0x00000043, 0x00000003, EnableModel, 0x0000000C, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000052, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000054, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005A, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005B, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005C, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005D, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005E, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005F, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000060, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000057, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000055, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000061, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000062, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000063, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000064, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000065, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000066, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000067, 0x00000000, 0x00000044, 0x00000001, D_80240754_A7AC54, 0x00000008, 0x00000001, 0x00000001, 0x00000044, 0x00000001, 0x802404A0, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 +.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0x0000004E, 0x00000024, 0x00000002, 0xFE363C83, 0x0000004C, 0x00000044, 0x00000001, EnterDoubleDoor, 0x00000044, 0x00000001, D_802406D0_A7ABD0, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, D_8024052C_A7AA2C, 0x00000024, 0x00000002, 0xFE363C83, D_80240510_A7AA10, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_802406D0_A7ABD0, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000016, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000043, 0x00000003, MakeNpcs, 0x00000001, 0x80248EF4, 0x00000043, 0x00000003, EnableModel, 0x0000000C, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000052, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000054, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005A, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005B, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005C, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005D, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005E, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005F, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000060, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000057, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000055, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000061, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000062, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000063, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000064, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000065, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000066, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000067, 0x00000000, 0x00000044, 0x00000001, D_80240754_A7AC54, 0x00000008, 0x00000001, 0x00000001, 0x00000044, 0x00000001, 0x802404A0, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_kpa/kpa_83/A835D0.data.s b/ver/us/asm/data/world/area_kpa/kpa_83/A835D0.data.s index 455c765488..d32848686b 100644 --- a/ver/us/asm/data/world/area_kpa/kpa_83/A835D0.data.s +++ b/ver/us/asm/data/world/area_kpa/kpa_83/A835D0.data.s @@ -12,10 +12,10 @@ dlabel D_80240178_A83608 .word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000014, 0x00000024, 0x00000002, 0xFE363C82, 0x0000004E, 0x00000024, 0x00000002, 0xFE363C83, 0x0000004C, 0x00000044, 0x00000001, ExitDoubleDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x8024330C, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_8024021C_A836AC -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000010, 0x00000024, 0x00000002, 0xFE363C82, D_80240140_A835D0, 0x00000024, 0x00000002, 0xFE363C83, D_8024015C_A835EC, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243314, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000010, 0x00000024, 0x00000002, 0xFE363C82, D_80240140_A835D0, 0x00000024, 0x00000002, 0xFE363C83, D_8024015C_A835EC, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243314, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802402C0_A83750 .word 0x00000047, 0x00000005, D_80240178_A83608, 0x00000100, 0x00000014, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_8024021C_A836AC, 0x00000100, 0x00000010, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80240308_A83798 -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0x0000004E, 0x00000024, 0x00000002, 0xFE363C83, 0x0000004C, 0x00000044, 0x00000001, EnterDoubleDoor, 0x00000044, 0x00000001, D_802402C0_A83750, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, D_8024015C_A835EC, 0x00000024, 0x00000002, 0xFE363C83, D_80240140_A835D0, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_802402C0_A83750, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000016, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000043, 0x00000003, MakeNpcs, 0x00000001, 0x802432D0, 0x00000043, 0x00000003, EnableModel, 0x0000000C, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000052, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000054, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005A, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005B, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005C, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005D, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005E, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005F, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000060, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000057, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000055, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000061, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000062, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000063, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000064, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000065, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000066, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000067, 0x00000000, 0x00000044, 0x00000001, D_80240308_A83798, 0x00000008, 0x00000001, 0x00000001, 0x00000044, 0x00000001, 0x802400D0, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 +.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0x0000004E, 0x00000024, 0x00000002, 0xFE363C83, 0x0000004C, 0x00000044, 0x00000001, EnterDoubleDoor, 0x00000044, 0x00000001, D_802402C0_A83750, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, D_8024015C_A835EC, 0x00000024, 0x00000002, 0xFE363C83, D_80240140_A835D0, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_802402C0_A83750, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000016, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000043, 0x00000003, MakeNpcs, 0x00000001, 0x802432D0, 0x00000043, 0x00000003, EnableModel, 0x0000000C, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000052, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000054, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005A, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005B, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005C, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005D, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005E, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000005F, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000060, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000057, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000055, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000061, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000062, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000063, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000064, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000065, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000066, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000067, 0x00000000, 0x00000044, 0x00000001, D_80240308_A83798, 0x00000008, 0x00000001, 0x00000001, 0x00000044, 0x00000001, 0x802400D0, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_00/7EE870.data.s b/ver/us/asm/data/world/area_mac/mac_00/7EE870.data.s deleted file mode 100644 index 1e6928efce..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_00/7EE870.data.s +++ /dev/null @@ -1,111 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_80243B60_7EE870 -.word 0xC3C18000, 0x00000000, 0xC3E60000, 0x42FA0000, 0x44160000, 0x00000000, 0x00000000, 0x43870000, 0xC3D98000, 0x43130000, 0xC3DC8000, 0x42FA0000, 0x00000000, 0x42480000, 0x43960000, 0x43340000, 0xC2C80000, 0x41F00000, 0xC3B90000, 0x43340000, 0xC2C80000, 0x41F00000, 0xC3B90000, 0x43070000, 0xC2C80000, 0x41F00000, 0xC3B90000, 0x43070000, 0xC2C80000, 0x41F00000, 0xC3B90000, 0x43070000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80244E44_7EFB54, D_80243B60_7EE870, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, func_80200000, 0x00190000 - -dlabel D_80243C20_7EE930 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0xFFFFFF80, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x0000003F, 0x00000001, 0x00000008, 0x00000016, 0x00000001, 0x00000060, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x0000003F, 0x00000000, 0x00000008, 0x00000021, 0x00000002, 0xFFFFFFF3, 0x00000005, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x0000004A, 0x00000000, 0x00000008, 0x0000001C, 0x00000000, 0x00000044, 0x00000001, 0x8024E420, 0x00000023, 0x00000000, 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000004, 0x0000001D, 0x00000001, 0x00000005, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000007, 0x00000043, 0x00000002, ClearAmbientSounds, 0x000000FA, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80243D40_7EEA50 -.word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000002, HidePlayerShadow, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010000, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, EnableNpcShadow, 0xFFFFFFFC, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFC, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000043, 0x00000001, mac_00_Pipe_GetEntryPos, 0x00000028, 0x00000002, 0xFE363C82, 0x00000028, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000003, InterpPlayerYaw, 0xFE363C84, 0x00000000, 0x00000043, 0x00000002, PlaySound, 0x00000163, 0x00000043, 0x00000002, func_802D286C, 0x00000100, 0x00000043, 0x00000007, func_802D2520, 0x00010000, 0x00000005, 0x00000002, 0x00000001, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000005, 0x00000001, 0x00000028, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFC, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000002, 0x00000000, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000043, 0x00000003, EnableNpcShadow, 0xFFFFFFFC, 0x00000001, 0x00000057, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000007, func_802D2520, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000043, 0x00000002, HidePlayerShadow, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, mac_00_Pipe_GetCurrentFloor, 0x00000008, 0x00000001, 0x00000001, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000044, 0x00000001, 0xFE363C8A, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000043, 0x00000002, HidePlayerShadow, 0x00000001, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0xFE363C8B, 0x7FFFFE00, 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000043, 0x00000001, mac_00_Pipe_GetEntryPos, 0x00000024, 0x00000002, 0xFE363C85, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C86, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C87, 0xFE363C83, 0x00000027, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000003, InterpPlayerYaw, 0xFE363C84, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C84, 0x0000005A, 0x00000027, 0x00000002, 0xFE363C85, 0x00000028, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C85, 0x00000028, 0x00000013, 0x00000000, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C85, 0xFE363C86, 0xFE363C87, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C85, 0xFE363C86, 0xFE363C87, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000003, EnableNpcShadow, 0xFFFFFFFC, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFC, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFC, 0xFE363C80, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, PlaySound, 0x00000163, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000002, HidePlayerShadow, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, func_802D286C, 0x00000900, 0x00000043, 0x00000007, func_802D2520, 0x00010002, 0x00000005, 0x00000003, 0x00000001, 0x00000001, 0x00000000, 0x00000005, 0x00000001, 0x00000028, 0x00000043, 0x00000002, mac_00_Pipe_GetPointAheadOfPlayer, 0xF24A7E80, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFC, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, EnableNpcShadow, 0xFFFFFFFC, 0x00000001, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000057, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000007, func_802D2520, 0x00010002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0xFE363C8B, 0x7FFFFE00, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000000, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000044, 0x00000001, 0xFE363C8A, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80244484_7EF194 -.word 0x00000043, 0x00000001, mac_00_Pipe_AwaitDownInput, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, GetCurrentPartner, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C81, 0x0000000B, 0x00000002, 0xFE363C81, 0x00000006, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000001, InterruptUsePartner, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80244560_7EF270, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80244560_7EF270 -.word 0x00000043, 0x00000001, mac_00_Pipe_SetAnimFlag, 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000043, 0x00000002, HidePlayerShadow, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x00000043, 0x00000001, mac_00_Pipe_GetEntryPos, 0x00000043, 0x00000004, PlayerMoveTo, 0xFE363C81, 0xFE363C83, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x00000043, 0x00000001, mac_00_Pipe_GetEntryPos, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000003, SetPlayerFlagBits, 0x00200000, 0x00000001, 0x00000043, 0x00000001, mac_00_Pipe_GetCameraYaw, 0x00000043, 0x00000003, InterpPlayerYaw, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000003, SetPlayerFlagBits, 0x00200000, 0x00000000, 0x00000043, 0x00000002, PlaySound, 0x00000163, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000004, 0x00000005, 0x00000001, 0x00000028, 0x00000028, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, func_802D286C, 0x00000800, 0x00000043, 0x00000007, func_802D2520, 0x00010002, 0x00000005, 0x00000002, 0x00000001, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000019, 0x00000046, 0x00000001, 0xFE363C8C, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, IsPlayerOnValidFloor, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, GetPlayerActionState, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x0000001A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, GetCurrentPartner, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C81, 0x0000000B, 0x00000002, 0xFE363C81, 0x00000006, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000001, InterruptUsePartner, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000013, 0x00000000, 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000001, mac_00_Pipe_SetAnimFlag, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0xFE363C8B, 0x7FFFFE00, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x00000043, 0x00000001, mac_00_Pipe_GetEntryPos, 0x00000024, 0x00000002, 0xFE363C85, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C86, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C86, 0x00000002, 0x00000024, 0x00000002, 0xFE363C87, 0xFE363C83, 0x00000024, 0x00000002, 0xFE363C88, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C88, 0x000000B4, 0x0000000F, 0x00000002, 0xFE363C84, 0x00000168, 0x00000028, 0x00000002, 0xFE363C84, 0x00000168, 0x00000013, 0x00000000, 0x00000043, 0x00000003, InterpPlayerYaw, 0xFE363C88, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, PlaySound, 0x00000163, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C86, 0xFE363C87, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010000, 0x00000043, 0x00000002, func_802D286C, 0x00000800, 0x00000043, 0x00000007, func_802D2520, 0x00010000, 0x00000005, 0x00000003, 0x00000001, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000002, HidePlayerShadow, 0x00000001, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000003, 0x00000005, 0x00000001, 0x00000028, 0x00000043, 0x00000002, mac_00_Pipe_GetPointAheadOfPlayer, 0xF24A7E80, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000019, 0x00000046, 0x00000001, 0xFE363C8C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80244A70_7EF780 -.word 0x0000004D, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C85, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C86, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C87, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C88, 0x00000001, 0x00000043, 0x00000001, mac_00_UpdateTexturePanSmooth, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, mac_00_UpdateTexturePanStepped, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80244B0C_7EF81C -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000000, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x80255990, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80244B68_7EF878 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000001, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x80255998, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80244BC4_7EF8D4 -.word 0x00000043, 0x00000003, GotoMap, 0x802559A0, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80244BF4_7EF904 -.word 0x00000043, 0x00000003, GotoMap, 0x802559A8, 0x00000004, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80244C24_7EF934 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000003, 0x00000024, 0x00000002, 0xFE363C8B, 0x0000001B, 0x00000024, 0x00000002, 0xFE363C8C, D_80244BC4_7EF8D4, 0x00000046, 0x00000001, D_80244484_7EF194, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80244C7C_7EF98C -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000004, 0x00000024, 0x00000002, 0xFE363C8B, 0x0000006B, 0x00000024, 0x00000002, 0xFE363C8C, D_80244BF4_7EF904, 0x00000046, 0x00000001, D_80244484_7EF194, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80244CD4_7EF9E4 -.word 0x00000047, 0x00000005, D_80244B68_7EF878, 0x00080000, 0x0000000D, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80244C7C_7EF98C, 0x00080000, 0x0000006B, 0x00000001, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000060, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000047, 0x00000005, D_80244B0C_7EF81C, 0x00080000, 0x00000035, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80244C24_7EF934, 0x00000080, 0x0000001B, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80244D74_7EFA84 -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000003, 0x0000001D, 0x00000001, 0x00000004, 0x00000024, 0x00000002, 0xFE363C8A, D_80244CD4_7EF9E4, 0x00000044, 0x00000001, D_80243D40_7EEA50, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000005, 0x00000044, 0x00000001, 0x80253508, 0x00000016, 0x00000001, 0x00000007, 0x00000046, 0x00000001, 0x80255688, 0x00000044, 0x00000001, D_80244CD4_7EF9E4, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, D_80244CD4_7EF9E4, 0x00000044, 0x00000001, EnterWalk, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80244E44_7EFB54 -.word 0x00000024, 0x00000002, 0xF5DE0329, 0x00000001, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0xFFFFFF94, 0x00000024, 0x00000002, 0xF840632A, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetRenderMode, 0x00000085, 0x00000015, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000003D, 0x7FFFFE00, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0xFFFFFF80, 0x00000043, 0x00000003, MakeNpcs, 0x00000000, 0x802531FC, 0x0000001B, 0x00000001, 0x00000060, 0x00000043, 0x00000003, MakeNpcs, 0x00000000, 0x80255334, 0x0000001C, 0x00000000, 0x00000043, 0x00000003, MakeNpcs, 0x00000000, 0x8024E1A8, 0x00000023, 0x00000000, 0x00000046, 0x00000001, D_802452A8_7EFFB8, 0x00000044, 0x00000001, D_80245BF8_7F0908, 0x00000044, 0x00000001, 0x8024E3A8, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000010, 0x00000001, 0x00000044, 0x00000001, 0x8024EAF0, 0x00000043, 0x00000003, EnableTexPanning, 0x000000D6, 0x00000001, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0x00000000, 0x00000024, 0x00000002, 0xFE363C84, 0x00000078, 0x00000024, 0x00000002, 0xFE363C85, 0x00000000, 0x00000024, 0x00000002, 0xFE363C86, 0x00000001, 0x00000024, 0x00000002, 0xFE363C87, 0x00000000, 0x00000024, 0x00000002, 0xFE363C88, 0x00000000, 0x00000024, 0x00000002, 0xFE363C89, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000044, 0x00000001, D_80244A70_7EF780, 0x00000057, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000061, 0x00000004, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000062, 0x00000004, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000063, 0x00000004, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000061, 0x00080000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000062, 0x00080000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000063, 0x00080000, 0x00000043, 0x00000002, func_802405EC_7EB2FC, 0x00000061, 0x00000043, 0x00000002, func_802405EC_7EB2FC, 0x00000062, 0x00000043, 0x00000002, func_802405EC_7EB2FC, 0x00000063, 0x00000043, 0x00000002, GetDemoState, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, D_80244CD4_7EF9E4, 0x00000044, 0x00000001, D_80243D40_7EEA50, 0x00000046, 0x00000001, 0x8024EAB4, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80243C20_7EE930, 0x0000000A, 0x00000002, 0xF5DE0180, 0xFFFFFF94, 0x00000024, 0x00000002, 0xF5DE0180, 0xFFFFFF95, 0x00000044, 0x00000001, 0x8024F64C, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80244D74_7EFA84, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000001, func_80240624_7EB334, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80245260_7EFF70 -.word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0x001D016F, 0x000000A0, 0x00000028, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802452A8_7EFFB8 -.word 0x00000043, 0x00000008, MakeEntity, Entity_HiddenPanel, 0x00000221, 0x00000014, 0x000000CD, 0x00000000, 0x00000023, 0x80000000, 0x00000043, 0x00000002, AssignPanelFlag, 0xF8405CA7, 0x00000043, 0x00000007, MakeItemEntity, 0x0000015C, 0xFFFFFE5C, 0x00000014, 0x0000019A, 0x00000011, 0xF8405CAD, 0x00000047, 0x00000005, D_80245260_7EFF70, 0x00000100, 0x0000002E, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80245330_7F0040 -.word 0x00000043, 0x00000006, RotateModel, 0x0000008F, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80245360_7F0070 -.word 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000002E, 0x00000002, 0xFE363C81, 0xF24A7280, 0x00000043, 0x00000006, RotateModel, 0x00000091, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000092, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000093, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000002E, 0x00000002, 0xFE363C81, 0xF24A7610, 0x00000043, 0x00000006, RotateModel, 0x00000095, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000096, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000097, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000098, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000002E, 0x00000002, 0xFE363C81, 0xF24A7930, 0x00000043, 0x00000006, RotateModel, 0x0000009A, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000009B, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000009C, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000002E, 0x00000002, 0xFE363C81, 0xF24A8360, 0x00000043, 0x00000006, RotateModel, 0x0000009F, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000009E, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80245570_7F0280 -.word 0x00000043, 0x00000006, RotateModel, 0x0000008F, 0xFE363C80, 0x00000001, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802455A0_7F02B0 -.word 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x000000B0, 0x00000001, 0x00000024, 0x00000002, 0xFAA2B58A, 0x00000001, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, SetGroupEnabled, 0x000000B0, 0x00000000, 0x00000024, 0x00000002, 0xFAA2B58A, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80245624_7F0334 -.word 0x00000043, 0x00000006, RotateModel, 0x00000039, 0xFE363C80, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80245654_7F0364 -.word 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C80, 0x00000043, 0x00000006, RotateModel, 0x00000035, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000036, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000037, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C80, 0x00000043, 0x00000006, RotateModel, 0x0000003B, 0xFE363C81, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000003F, 0xFE363C81, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000003E, 0xFE363C81, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000003D, 0xFE363C81, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000003C, 0xFE363C81, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80245784_7F0494 -.word 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000060, 0x00000001, 0x00000043, 0x00000003, EnableModel, 0x00000043, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000060, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000043, 0x00000001, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024581C_7F052C -.word 0x00000043, 0x00000006, RotateModel, 0x00000078, 0xFE363C80, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024584C_7F055C -.word 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000002E, 0x00000002, 0xFE363C81, 0xF24A8280, 0x00000043, 0x00000006, RotateModel, 0x0000007B, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000007C, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000007D, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000007A, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802458FC_7F060C -.word 0x00000043, 0x00000006, RotateModel, 0x00000078, 0xFE363C80, 0x00000001, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024592C_7F063C -.word 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000086, 0x00000001, 0x00000024, 0x00000002, 0xFAA2B58B, 0x00000001, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000086, 0x00000000, 0x00000043, 0x00000002, EnableMusicProximityMix, 0x00000000, 0x00000024, 0x00000002, 0xFAA2B58B, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802459C0_7F06D0 -.word 0x00000043, 0x00000006, RotateModel, 0x000000D0, 0xFE363C80, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802459F0_7F0700 -.word 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C80, 0x00000043, 0x00000006, RotateModel, 0x000000C9, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x000000C7, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x000000C8, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000002E, 0x00000002, 0xFE363C81, 0xF24A77D0, 0x00000043, 0x00000006, RotateModel, 0x000000CB, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x000000CC, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x000000CD, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x000000CE, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80245B10_7F0820 -.word 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000021, 0x00000002, 0xFFFFFFF3, 0x00000006, 0x00000044, 0x00000001, 0x8024BF20, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x0000001C, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x000000C6, 0x00000001, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, SetGroupEnabled, 0x000000C6, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80245BBC_7F08CC -.word 0x00000000, 0xFFFFFFFF - -dlabel D_80245BC4_7F08D4 -.word 0x00000001, 0x00000016, 0x0000001D, 0xFFFFFFFF - -dlabel D_80245BD4_7F08E4 -.word 0x00000003, 0x00000004, 0x00000005, 0xFFFFFFFF - -dlabel D_80245BE4_7F08F4 -.word 0x00000011, 0x00000012, 0x00000013, 0x00000014, 0xFFFFFFFF - -dlabel D_80245BF8_7F0908 -.word 0x00000043, 0x0000000A, MakeDoorAdvanced, 0x00000000, D_80245330_7F0040, D_80245360_7F0070, D_80245570_7F0280, D_802455A0_7F02B0, 0x00000028, 0x00000029, 0x000000B1, D_80245BBC_7F08CC, 0x00000043, 0x0000000A, MakeDoorAdvanced, 0x00001002, D_80245624_7F0334, D_80245654_7F0364, 0x00000000, D_80245784_7F0494, 0x00000052, 0x00000053, 0x00000068, D_80245BC4_7F08D4, 0x00000043, 0x0000000A, MakeDoorAdvanced, 0x00000002, D_8024581C_7F052C, D_8024584C_7F055C, D_802458FC_7F060C, D_8024592C_7F063C, 0x0000001F, 0x00000020, 0x0000008A, D_80245BD4_7F08E4, 0x00000043, 0x0000000A, MakeDoorAdvanced, 0x00000002, D_802459C0_7F06D0, D_802459F0_7F0700, 0x00000000, D_80245B10_7F0820, 0x00000007, 0x00000008, 0x000000D3, D_80245BE4_7F08F4, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000044, 0x00000001, D_802455A0_7F02B0, 0x00000044, 0x00000001, D_80245B10_7F0820, 0x00000044, 0x00000001, D_80245784_7F0494, 0x00000044, 0x00000001, D_8024592C_7F063C, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_00/7F0A20.data.s b/ver/us/asm/data/world/area_mac/mac_00/7F0A20.data.s deleted file mode 100644 index 54691a656d..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_00/7F0A20.data.s +++ /dev/null @@ -1,294 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_80245D10_7F0A20 -.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000, 0x00000000, 0x00170013, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_80245D68_7F0A78 -.word 0x00000000, 0x00170016, 0x00000000, 0x00000000, 0x00000000, EnemyNpcHit, 0x00000000, EnemyNpcDefeat, 0x00000000, 0x00000000, 0x000E0001 - -dlabel D_80245D94_7F0AA4 -.word 0x00000000, 0x00180018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel mac_00_varStash -.word 0x00000000 - -dlabel D_80245DC4_7F0AD4 -.word 0x00000043, 0x00000004, ShowGotItem, 0xFE363C80, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, ShowGotItem, 0xFE363C80, 0x00000001, 0x00000010, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel mac_00_Quizmo_Answers -.byte 0x02, 0x01, 0x01, 0x02, 0x02, 0x00, 0x02, 0x00, 0x02, 0x01, 0x00, 0x02, 0x01, 0x01, 0x00, 0x02, 0x00, 0x02, 0x01, 0x00, 0x00, 0x02, 0x01, 0x00, 0x02, 0x01, 0x01, 0x02, 0x02, 0x01, 0x01, 0x01, 0x00, 0x02, 0x02, 0x02, 0x02, 0x00, 0x01, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, 0x00, 0x00, 0x01, 0x01, 0x00, 0x01, 0x02, 0x01, 0x00, 0x02, 0x02, 0x01, 0x02, 0x00, 0x02, 0x02, 0x01, 0x01, 0x01 - -dlabel mac_00_Quizmo_Requirements -.word 0xFFFFFF94, 0x00000000, 0xFFFFFFB4, 0x0000000A, 0xFFFFFFCA, 0x00000014, 0xFFFFFFF2, 0x0000001E, 0x00000006, 0x00000025, 0x00000027, 0x0000002C, 0x0000003A, 0x00000034, 0x00000058, 0x0000003C, 0x00000060, 0x00000040, 0x00000000, 0x00000040 - -dlabel D_80245EB4_7F0BC4 -.word 0x00000043, 0x00000001, mac_00_Quizmo_ShouldQuizmoLeave, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFF, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x0000012C, 0x00000043, 0x00000003, SetNpcJumpscale, 0xFFFFFFFF, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00AF000C, 0x00000008, 0x00000001, 0x00000028, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80245F64_7F0C74 -.word 0x00000043, 0x00000003, mac_00_Quizmo_GetCamVfov, 0x00000000, 0xF4ACD480, 0x00000043, 0x00000003, mac_00_Quizmo_SetCamVfov, 0x00000000, 0x00000019, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, GetCamType, 0x00000000, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetCamType, 0x00000000, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, GetCamDistance, 0x00000000, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000026, 0x00000002, 0xFE363C80, 0x00000172, 0x00000012, 0x00000000, 0x00000026, 0x00000002, 0xFE363C80, 0xFFFFFE8E, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C80, 0x00000043, 0x00000004, GetCamPitch, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000026, 0x00000002, 0xFE363C80, 0xF24AAE80, 0x00000026, 0x00000002, 0xFE363C81, 0xF24A5280, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001E, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetCamDistance, 0x00000000, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000026, 0x00000002, 0xFE363C80, 0x00000011, 0x00000012, 0x00000000, 0x00000026, 0x00000002, 0xFE363C80, 0xFFFFFFEF, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C80, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802461FC_7F0F0C -.word 0x00000043, 0x00000003, mac_00_Quizmo_SetCamVfov, 0x00000000, 0xF4ACD480, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80246238_7F0F48 -.word 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000006, mac_00_Quizmo_AddViewRelativeOffset, 0xF4ACD481, 0xF4ACD483, 0x00000053, 0xFE363C80, 0xFE363C81, 0x00000056, 0x00000000, 0x00000026, 0x00000002, 0xFE363C82, 0x00000000, 0x00000005, 0x00000001, 0x0000003C, 0x00000026, 0x00000002, 0xFE363C83, 0xFE363C80, 0x00000026, 0x00000002, 0xFE363C84, 0xFE363C81, 0x0000002E, 0x00000002, 0xFE363C83, 0xFE363C82, 0x0000002E, 0x00000002, 0xFE363C84, 0xFE363C82, 0x0000002F, 0x00000002, 0xFE363C83, 0x0000003C, 0x0000002F, 0x00000002, 0xFE363C84, 0x0000003C, 0x0000002C, 0x00000002, 0xFE363C83, 0xF4ACD481, 0x0000002C, 0x00000002, 0xFE363C84, 0xF4ACD483, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C83, 0xF4ACD482, 0xFE363C84, 0x0000002C, 0x00000002, 0xFE363C82, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000026, 0x00000002, 0xFE363C83, 0xFE363C80, 0x00000026, 0x00000002, 0xFE363C84, 0xFE363C81, 0x0000002C, 0x00000002, 0xFE363C83, 0xF4ACD481, 0x0000002C, 0x00000002, 0xFE363C84, 0xF4ACD483, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C83, 0xF4ACD482, 0xFE363C84, 0x00000057, 0x00000000, 0x00000043, 0x00000001, mac_00_Quizmo_SpinPlayer, 0x00000043, 0x00000004, func_802D2884, 0xF4ACD481, 0xF4ACD483, 0x00000000, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802463E8_7F10F8 -.word 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000043, 0x00000006, mac_00_Quizmo_AddViewRelativeOffset, 0xFE363C8A, 0xFE363C8C, 0x0000006C, 0xFE363C80, 0xFE363C81, 0x00000026, 0x00000002, 0xFE363C85, 0xF4ACD482, 0x0000002D, 0x00000002, 0xFE363C85, 0xFE363C8B, 0x00000056, 0x00000000, 0x00000043, 0x00000001, mac_00_Quizmo_UpdatePartnerPosition, 0x00000026, 0x00000002, 0xFE363C83, 0xFE363C80, 0x00000026, 0x00000002, 0xFE363C84, 0xFE363C81, 0x00000026, 0x00000002, 0xFE363C86, 0xFE363C85, 0x0000002C, 0x00000002, 0xFE363C83, 0xFE363C8A, 0x0000002C, 0x00000002, 0xFE363C84, 0xFE363C8C, 0x0000002C, 0x00000002, 0xFE363C86, 0xFE363C8B, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFC, 0xFE363C83, 0xFE363C86, 0xFE363C84, 0x00000057, 0x00000000, 0x00000043, 0x00000001, mac_00_Quizmo_SpinPartner, 0x00000043, 0x00000003, NpcFacePlayer, 0xFFFFFFFC, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0x00000106, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80246520_7F1230 -.word 0x00000043, 0x00000005, GetNpcPos, 0x00000006, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000043, 0x00000006, mac_00_Quizmo_AddViewRelativeOffset, 0xFE363C8A, 0xFE363C8C, 0xFFFFFFBA, 0xFE363C80, 0xFE363C81, 0x00000056, 0x00000000, 0x00000026, 0x00000002, 0xFE363C82, 0x00000000, 0x00000005, 0x00000001, 0x0000003C, 0x00000026, 0x00000002, 0xFE363C83, 0xFE363C80, 0x00000026, 0x00000002, 0xFE363C84, 0xFE363C81, 0x0000002E, 0x00000002, 0xFE363C83, 0xFE363C82, 0x0000002E, 0x00000002, 0xFE363C84, 0xFE363C82, 0x0000002F, 0x00000002, 0xFE363C83, 0x0000003C, 0x0000002F, 0x00000002, 0xFE363C84, 0x0000003C, 0x0000002C, 0x00000002, 0xFE363C83, 0xFE363C8A, 0x0000002C, 0x00000002, 0xFE363C84, 0xFE363C8C, 0x00000043, 0x00000005, SetNpcPos, 0x00000006, 0xFE363C83, 0xF4ACD482, 0xFE363C84, 0x0000002C, 0x00000002, 0xFE363C82, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000003C, 0x00000043, 0x00000003, NpcFacePlayer, 0x00000006, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000006, 0x00AF0001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024668C_7F139C -.word 0x00000044, 0x00000001, D_80246238_7F0F48, 0x00000044, 0x00000001, D_802463E8_7F10F8, 0x00000046, 0x00000001, D_80246520_7F1230, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010028, 0x00000008, 0x00000001, 0x00000014, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80246700_7F1410 -.word 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010016, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024673C_7F144C -.word 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010006, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010007, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000003, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000002, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010008, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFE, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFD, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010009, 0x00000008, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010006, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010007, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000003, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000002, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010008, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFE, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFD, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010009, 0x00000008, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010006, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010007, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000003, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000002, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010008, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFE, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFD, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010009, 0x00000008, 0x00000001, 0x00000002, 0x00000006, 0x00000000, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xF4ACD482, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80247284_7F1F94 -.word 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010023, 0x00000005, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802472C4_7F1FD4 -.word 0x00000056, 0x00000000, 0x00000043, 0x00000006, mac_00_Quizmo_AddViewRelativeOffset, 0xF4ACD481, 0xF4ACD483, 0x00000019, 0xFE363C80, 0xFE363C81, 0x00000026, 0x00000002, 0xFE363C82, 0xF4ACD481, 0x0000002C, 0x00000002, 0xFE363C82, 0xFE363C80, 0x00000026, 0x00000002, 0xFE363C83, 0xF4ACD483, 0x0000002C, 0x00000002, 0xFE363C83, 0xFE363C81, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0x00000102, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFC, 0xFE363C82, 0xFE363C83, 0x00000028, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0x00000106, 0x00000057, 0x00000000, 0x00000043, 0x00000004, PlayerMoveTo, 0xF4ACD481, 0xF4ACD483, 0x00000028, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802473A0_7F20B0 -.word 0x00000045, 0x00000002, D_8024673C_7F144C, 0xFE363C81, 0x00000008, 0x00000001, 0x0000003C, 0x00000049, 0x00000001, 0xFE363C81, 0x00000005, 0x00000001, 0x00000005, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000002, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000046, 0x00000001, D_802472C4_7F1FD4, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80247450_7F2160 -.word 0x00000045, 0x00000002, D_80247284_7F1F94, 0xFE363C81, 0x00000008, 0x00000001, 0x0000003C, 0x00000005, 0x00000001, 0x00000005, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000002, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000049, 0x00000001, 0xFE363C81, 0x00000046, 0x00000001, D_802472C4_7F1FD4, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80247500_7F2210 -.word 0x0000000D, 0x00000002, 0xF5DE02E0, 0x0000003F, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xF4ACD481, 0xF4ACD482, 0xF4ACD483, 0x00000043, 0x00000003, NpcFacePlayer, 0xFFFFFFFF, 0x00000010, 0x0000000A, 0x00000002, 0xF5DE02E0, 0x0000003F, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00AF0004, 0x00AF0001, 0x00000000, 0x0008000A, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8406267, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00AF0004, 0x00AF0001, 0x00000000, 0x00080009, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00AF0004, 0x00AF0001, 0x00000000, 0x00080008, 0x00000024, 0x00000002, 0xF8406267, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, ShowChoice, 0x001E000D, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000006, ContinueSpeech, 0xFFFFFFFF, 0x00AF0004, 0x00AF0001, 0x00000000, 0x0008000C, 0x00000046, 0x00000001, D_80245EB4_7F0BC4, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF8406281, 0x00000001, 0x00000043, 0x00000001, mac_00_Quizmo_HideEntities, 0x00000043, 0x00000001, mac_00_Quizmo_HideWorld, 0x00000044, 0x00000001, D_80245F64_7F0C74, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000200, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000006, 0x00000200, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000148, 0x00000001, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000006, 0x00000100, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0x00000106, 0x00000045, 0x00000002, D_8024668C_7F139C, 0xFE363C81, 0x00000043, 0x00000006, ContinueSpeech, 0xFFFFFFFF, 0x00AF0004, 0x00AF0001, 0x00000000, 0x0008000B, 0x00000043, 0x00000002, PlaySound, 0x00000089, 0x00000005, 0x00000001, 0x00000000, 0x00000055, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000001, mac_00_Quizmo_CreateStage, 0x00000005, 0x00000001, 0x00000005, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000002, 0x00000006, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x002C0000, 0x00000027, 0x00000002, 0xFE363C80, 0xF5DE02E0, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00AF0005, 0x00AF0006, 0x00000000, 0xFE363C80, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010028, 0x00000024, 0x00000002, 0xFE363C80, 0x002D0000, 0x00000027, 0x00000002, 0xFE363C80, 0xF5DE02E0, 0x00000043, 0x00000002, PlaySound, 0x0000008E, 0x00000043, 0x00000002, ShowChoice, 0xFE363C80, 0x00000049, 0x00000001, 0xFE363C81, 0x00000043, 0x00000002, StopSound, 0x0000008E, 0x00000044, 0x00000001, D_80246700_7F1410, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, PlaySound, 0x0000008D, 0x00000043, 0x00000002, mac_00_Quizmo_UnkStageEffectMode, 0xFE363C80, 0x00000024, 0x00000002, 0xF4ACD484, 0x00000000, 0x00000043, 0x00000001, mac_00_Quizmo_CreateWorker, 0x00000008, 0x00000001, 0x00000028, 0x00000043, 0x00000001, mac_00_Quizmo_UpdateRecords, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000006E, 0x00000043, 0x00000001, CloseChoice, 0x00000024, 0x00000002, 0xF4ACD484, 0x00000000, 0x00000057, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000006, 0x00AF0007, 0x00000024, 0x00000002, 0xF4ACD484, 0x00000001, 0x00000056, 0x00000000, 0x00000043, 0x00000002, mac_00_Quizmo_SetStageLightsDelay, 0x00000001, 0x00000008, 0x00000001, 0x00000006, 0x00000008, 0x00000001, 0x00000006, 0x00000008, 0x00000001, 0x00000006, 0x00000043, 0x00000002, mac_00_Quizmo_SetStageLightsDelay, 0x00000002, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, PlaySound, 0x0000021C, 0x00000008, 0x00000001, 0x00000006, 0x00000043, 0x00000002, PlaySound, 0x0000021C, 0x00000008, 0x00000001, 0x00000006, 0x00000043, 0x00000002, PlaySound, 0x0000021C, 0x00000008, 0x00000001, 0x00000006, 0x00000043, 0x00000002, PlaySound, 0x0000021C, 0x00000057, 0x00000000, 0x00000043, 0x00000002, PlaySound, 0x0000008A, 0x00000043, 0x00000001, mac_00_Quizmo_SetVannaAnim_Clap, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000032, 0x00000043, 0x00000006, mac_00_Quizmo_AddViewRelativeOffset, 0x00000000, 0x00000000, 0x00000053, 0xFE363C80, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000007, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000044, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000001, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFD, 0x00000043, 0x00000006, mac_00_Quizmo_AddViewRelativeOffset, 0x00000000, 0x00000000, 0x0000003A, 0xFE363C80, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000007, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000044, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000001, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001E, 0x00000043, 0x00000006, mac_00_Quizmo_AddViewRelativeOffset, 0x00000000, 0x00000000, 0x0000005D, 0xFE363C80, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000007, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000044, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000001, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000045, 0x00000002, D_802473A0_7F20B0, 0xFE363C81, 0x00000027, 0x00000002, 0xF5DE02E0, 0x00000001, 0x0000000D, 0x00000002, 0xF5DE02E0, 0x0000003F, 0x00000043, 0x00000006, ContinueSpeech, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000000, 0x00080010, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000006, 0x00AF0006, 0x00000005, 0x00000001, 0x00000000, 0x00000055, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000006, 0x00AF0005, 0x00000024, 0x00000002, 0xFE363C80, 0x0000015C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000046, 0x00000001, D_80245DC4_7F0AD4, 0x00000043, 0x00000002, AddStarPieces, 0x00000001, 0x00000043, 0x00000002, mac_00_Quizmo_SetStageLightsDelay, 0x0000000F, 0x00000043, 0x00000001, mac_00_Quizmo_SetVannaAnim_Idle, 0x00000043, 0x00000003, SetMessageValue, 0xF5DE02E0, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00AF0004, 0x00AF0001, 0x00000000, 0x00080011, 0x00000012, 0x00000000, 0x00000043, 0x00000006, ContinueSpeech, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000000, 0x0008000E, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000006, 0x00AF0006, 0x00000005, 0x00000001, 0x00000000, 0x00000055, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000006, 0x00AF0005, 0x00000024, 0x00000002, 0xFE363C80, 0x0000015C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000046, 0x00000001, D_80245DC4_7F0AD4, 0x00000043, 0x00000002, AddStarPieces, 0x00000001, 0x00000043, 0x00000002, mac_00_Quizmo_SetStageLightsDelay, 0x0000000F, 0x00000043, 0x00000001, mac_00_Quizmo_SetVannaAnim_Idle, 0x00000043, 0x00000003, SetMessageValue, 0xF5DE02E0, 0x00000000, 0x0000000A, 0x00000002, 0xF5DE02E0, 0x00000001, 0x00000043, 0x00000003, SetMessageMsg, MessageSingular, 0x00000001, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetMessageMsg, MessagePlural, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00AF0004, 0x00AF0001, 0x00000000, 0x0008000F, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000006, 0x00AF0009, 0x00000024, 0x00000002, 0xF4ACD484, 0x00000002, 0x00000043, 0x00000002, PlaySound, 0x0000021D, 0x00000043, 0x00000002, PlaySound, 0x0000008B, 0x00000045, 0x00000002, D_80247450_7F2160, 0xFE363C81, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x0000000F, PlayEffect, 0x0000002B, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000006, ContinueSpeech, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000000, 0x0008000D, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000006, 0x00AF000A, 0x00000005, 0x00000001, 0x00000000, 0x00000055, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, mac_00_Quizmo_UnkStageEffectMode, 0xFFFFFFFF, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, PlaySound, 0x0000008F, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000002, StopSound, 0x00000089, 0x00000057, 0x00000000, 0x00000043, 0x00000001, mac_00_Quizmo_SetVannaAnim_Wave, 0x00000043, 0x00000001, mac_00_Quizmo_DestroyEffects, 0x00000046, 0x00000001, D_80245EB4_7F0BC4, 0x00000044, 0x00000001, D_802461FC_7F0F0C, 0x00000043, 0x00000001, mac_00_Quizmo_FadeInWorld, 0x00000043, 0x00000001, mac_00_Quizmo_ShowEntities, 0x00000024, 0x00000002, 0xF8406281, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248230_7F2F40 -.word 0x00000043, 0x00000001, mac_00_Quizmo_ShouldAppear, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFF, 0x01000000, 0x00000000, 0x00000043, 0x00000003, SetNpcSprite, 0xFFFFFFFF, 0x00AF0001, 0x00000043, 0x00000001, mac_00_Quizmo_RenderInit, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802482A4_7F2FB4 -.word 0x0000003C, 0x00000001, 0x80255B78, 0x00000024, 0x00000002, 0xF8406269, 0x00000001, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000043, 0x00000003, SetPlayerFlagBits, 0x00400000, 0x00000001, 0x00000046, 0x00000001, D_80247500_7F2210, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000000, 0x00000043, 0x00000003, SetPlayerFlagBits, 0x00400000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248324_7F3034 -.word 0x00000043, 0x00000001, mac_00_Quizmo_NPC_Aux_Impl, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248340_7F3050 -.word 0x3F333333, 0x0000001E, 0x00000014, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001 - -dlabel D_80248370_7F3080 -.word 0x00000043, 0x00000002, BasicAI_Main, D_80248340_7F3050, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248390_7F30A0 -.word 0x00AF0001, 0x0023001C, D_80248230_7F2F40, D_802482A4_7F2FB4, 0x00000000, 0x00000000, D_80248324_7F3034, 0x00000000, 0x00000D01, 0x00000000, 0x00630000, 0x00AF0001, 0x0023001C, D_80248230_7F2F40, D_802482A4_7F2FB4, D_80248370_7F3080, 0x00000000, D_80248324_7F3034, 0x00000000, 0x00000C01, 0x00000000, 0x00630010 - -dlabel mac_00_ItemChoice_HasSelectedItem -.word 0x00000000 - -dlabel mac_00_ItemChoice_SelectedItemID -.word 0x00000000 - -dlabel D_802483F0_7F3100 -.word 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C81, 0x00000043, 0x00000001, ShowKeyChoicePopup, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, RemoveKeyItemAt, 0xFE363C81, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000004, mac_00_AddPlayerHandsOffset, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000042, 0x00000002, 0xFE363C80, 0x00050000, 0x00000043, 0x00000007, MakeItemEntity, 0xFE363C80, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000001, 0x00000000, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00060005, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000043, 0x00000002, RemoveItemEntity, 0xFE363C80, 0x00000023, 0x00000000, 0x00000043, 0x00000002, mac_00_ItemChoice_SaveSelected, 0xFE363C8A, 0x00000043, 0x00000001, CloseChoicePopup, 0x00000048, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248534_7F3244 -.word 0x00000043, 0x00000002, func_8024197C_7EC68C, 0xFE363C80, 0x0000004E, 0x00000006, D_802483F0_7F3100, 0x00000010, 0x00000000, mac_00_D_80255BA0, 0x00000000, 0x00000001, 0x00000043, 0x00000002, func_802418F0_7EC600, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248584_7F3294 -.word 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C81, 0x00000043, 0x00000001, ShowConsumableChoicePopup, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, RemoveItemAt, 0xFE363C81, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000004, mac_00_AddPlayerHandsOffset, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000007, MakeItemEntity, 0xFE363C80, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000001, 0x00000000, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00060005, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000043, 0x00000002, RemoveItemEntity, 0xFE363C80, 0x00000023, 0x00000000, 0x00000043, 0x00000002, mac_00_ItemChoice_SaveSelected, 0xFE363C8A, 0x00000043, 0x00000001, CloseChoicePopup, 0x00000048, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802486B8_7F33C8 -.word 0x00000043, 0x00000002, func_80241A18_7EC728, 0xFE363C80, 0x0000004E, 0x00000006, D_80248584_7F3294, 0x00000010, 0x00000000, mac_00_D_80255D68, 0x00000000, 0x00000001, 0x00000043, 0x00000002, func_802418F0_7EC600, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248708_7F3418 -.word 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000004, mac_00_LetterDelivery_CalcLetterPos, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000005, SetItemPos, 0xFE363C80, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248788_7F3498 -.word 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C81, 0x00000043, 0x00000001, ShowKeyChoicePopup, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, RemoveKeyItemAt, 0xFE363C81, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000004, mac_00_LetterDelivery_CalcLetterPos, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000042, 0x00000002, 0xFE363C80, 0x00050000, 0x00000043, 0x00000007, MakeItemEntity, 0xFE363C80, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000001, 0x00000000, 0x00000045, 0x00000002, D_80248708_7F3418, 0xFE363C8A, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0x00040002, 0x00000043, 0x00000004, GetAngleBetweenNPCs, 0xFE363C89, 0xFFFFFFFC, 0xFE363C8B, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000005, GetNpcPos, 0xFE363C89, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000100, 0x00000001, 0x0000000E, 0x00000002, 0xFE363C8B, 0x000000B4, 0x00000027, 0x00000002, 0xFE363C86, 0x00000014, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C86, 0xFFFFFFEC, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFE363C87, 0x0000000A, 0x00000043, 0x00000003, SetNpcJumpscale, 0xFFFFFFFC, 0xF24A7A80, 0x00000043, 0x00000006, NpcJump1, 0xFFFFFFFC, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0x00000014, 0x00000049, 0x00000001, 0xFE363C8A, 0x00000043, 0x00000002, RemoveItemEntity, 0xFE363C80, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, GetNpcYaw, 0xFFFFFFFC, 0xFE363C8A, 0x00000027, 0x00000002, 0xFE363C8A, 0x000000B4, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFC, 0xFE363C8A, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000006, NpcJump1, 0xFFFFFFFC, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000014, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0x00040001, 0x00000043, 0x00000004, NpcFaceNpc, 0xFFFFFFFC, 0xFE363C89, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000100, 0x00000000, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000008, 0x00000001, 0x00000005, 0x00000023, 0x00000000, 0x00000043, 0x00000002, mac_00_ItemChoice_SaveSelected, 0xFE363C8A, 0x00000043, 0x00000001, CloseChoicePopup, 0x00000048, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248AAC_7F37BC -.word 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, func_8024197C_7EC68C, 0xFE363C80, 0x0000004E, 0x00000006, D_80248788_7F3498, 0x00000010, 0x00000000, mac_00_D_80255BA0, 0x00000000, 0x00000001, 0x00000043, 0x00000002, func_802418F0_7EC600, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248B1C_7F382C -.word 0x00000024, 0x00000002, 0xFE363C8C, 0x00000000, 0x0000000C, 0x00000002, 0xF5DE0180, 0xFFFFFFBA, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, mac_00_LetterDelivery_SaveNpcAnim, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C80, 0x00000043, 0x00000003, FindKeyItem, 0xFE363C85, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000004, 0x0000000B, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000003, PlayerFaceNpc, 0xFE363C82, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, GetNpcPos, 0xFE363C82, 0xFE363C8D, 0xFE363C80, 0xFE363C8E, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C8D, 0xFE363C8E, 0xFE363C8F, 0x00000043, 0x00000003, SetNpcJumpscale, 0xFFFFFFFC, 0xF24A7A80, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000006, NpcJump1, 0xFFFFFFFC, 0xFE363C8D, 0xFE363C80, 0xFE363C8F, 0x0000000A, 0x00000043, 0x00000007, SpeakToNpc, 0xFFFFFFFC, 0x00040006, 0x00040001, 0x00000000, 0xFE363C82, 0xFE363C87, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000046, 0x00000001, D_80248AAC_7F37BC, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFC, 0x00040006, 0x00040001, 0x00000005, 0xFE363C88, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000001, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFC, 0x00040006, 0x00040001, 0x00000005, 0xFE363C89, 0x0000000B, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000000, 0xFE363C8A, 0x00000013, 0x00000000, 0x00000043, 0x00000001, EnablePartnerAI, 0x0000000B, 0x00000002, 0xFE363C86, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C86, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000046, 0x00000001, D_80245DC4_7F0AD4, 0x00000043, 0x00000002, AddKeyItem, 0xFE363C86, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000002, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, mac_00_LetterDelivery_RestoreNpcAnim, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248E14_7F3B24 -.word 0x00000039, 0x00000000 - -dlabel D_80248E1C_7F3B2C -.word 0x00000043, 0x0000000B, mac_00_LetterDelivery_Init, 0x00000000, 0x00A90004, 0x00A90001, 0x00000039, 0x00000000, 0x00020011, 0x00020012, 0x00020013, 0x00020014, D_80248E14_7F3B24, 0x00000046, 0x00000001, D_80248B1C_7F382C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248E6C_7F3B7C -.word 0x0000000A, 0x00000002, 0xFE363C8C, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x0000015C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000046, 0x00000001, D_80245DC4_7F0AD4, 0x00000043, 0x00000002, AddStarPieces, 0x00000001, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248ED0_7F3BE0 -.word 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFE363C80, 0xB0000021, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248F18_7F3C28 -.word 0x00160000, 0xFFFFFF81 - -dlabel D_80248F20_7F3C30 -.word 0xF97188C5, 0xF8405C3F - -dlabel D_80248F28_7F3C38 -.word 0xF97188F7, 0x00160001, 0xFFFFFF81, 0xF97188C6, 0xF8405C40, 0xF97188F8, 0x00160002, 0xFFFFFF81, 0xF97188C7, 0xF8405C41, 0xF97188F9, 0x00160003, 0xFFFFFF81, 0xF97188C8, 0xF8405C42, 0xF97188FA, 0x00160004, 0xFFFFFF97, 0xF97188C9, 0xF8405C43, 0xF97188FB, 0x00160005, 0xFFFFFF97, 0xF97188CA, 0xF8405C44, 0xF97188FC, 0x00160006, 0xFFFFFF97, 0xF97188CB, 0xF8405C45, 0xF97188FD, 0x00160007, 0xFFFFFF97, 0xF97188CC, 0xF8405C46, 0xF97188FE, 0x00160008, 0xFFFFFFB4, 0xF97188CD, 0xF8405C47, 0xF97188FF, 0x00160009, 0xFFFFFFB4, 0xF97188CE, 0xF8405C48, 0xF9718900, 0x0016000A, 0xFFFFFFB4, 0xF97188CF, 0xF8405C49, 0xF9718901, 0x0016000B, 0xFFFFFFB4, 0xF97188D0, 0xF8405C4A, 0xF9718902, 0x0016000C, 0xFFFFFFCA, 0xF97188D1, 0xF8405C4B, 0xF9718903, 0x0016000D, 0xFFFFFFCA, 0xF97188D2, 0xF8405C4C, 0xF9718904, 0x0016000E, 0xFFFFFFCA, 0xF97188D3, 0xF8405C4D, 0xF9718905, 0x0016000F, 0xFFFFFFCA, 0xF97188D4, 0xF8405C4E, 0xF9718906, 0x00160010, 0xFFFFFFF2, 0xF97188D5, 0xF8405C4F, 0xF9718907, 0x00160011, 0xFFFFFFF2, 0xF97188D6, 0xF8405C50, 0xF9718908, 0x00160012, 0xFFFFFFF2, 0xF97188D7, 0xF8405C51, 0xF9718909, 0x00160013, 0xFFFFFFF2, 0xF97188D8, 0xF8405C52, 0xF971890A, 0x00160014, 0x00000006, 0xF97188D9, 0xF8405C53, 0xF971890B, 0x00160015, 0x00000006, 0xF97188DA, 0xF8405C54, 0xF971890C, 0x00160016, 0x00000006, 0xF97188DB, 0xF8405C55, 0xF971890D, 0x00160017, 0x00000006, 0xF97188DC, 0xF8405C56, 0xF971890E, 0x00160018, 0x00000026, 0xF97188DD, 0xF8405C57, 0xF971890F, 0x00160019, 0x00000026, 0xF97188DE, 0xF8405C58, 0xF9718910, 0x0016001A, 0x00000026, 0xF97188DF, 0xF8405C59, 0xF9718911, 0x0016001B, 0x00000026, 0xF97188E0, 0xF8405C5A, 0xF9718912, 0x0016001C, 0x0000003A, 0xF97188E1, 0xF8405C5B, 0xF9718913, 0x0016001D, 0x0000003A, 0xF97188E2, 0xF8405C5C, 0xF9718914, 0x0016001E, 0x0000003A, 0xF97188E3, 0xF8405C5D, 0xF9718915, 0x0016001F, 0x0000003A, 0xF97188E4, 0xF8405C5E, 0xF9718916, 0x00160020, 0x00000058, 0xF97188E5, 0xF8405C5F, 0xF9718917, 0x00160021, 0x00000058, 0xF97188E6, 0xF8405C60, 0xF9718918, 0x00160022, 0x00000058, 0xF97188E7, 0xF8405C61, 0xF9718919, 0x00160023, 0x00000058, 0xF97188E8, 0xF8405C62, 0xF971891A - -dlabel D_802491E8_7F3EF8 -.word 0x00000043, 0x00000005, GetNpcPos, 0x00000015, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C83, 0x00000014, 0x00000043, 0x00000007, MakeItemEntity, 0x00000024, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000005, 0x00000001, 0x0000012C, 0x00000043, 0x00000005, GetNpcPos, 0x00000015, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C83, 0x00000014, 0x00000043, 0x00000005, SetItemPos, 0xFE363C89, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000002, RemoveItemEntity, 0xFE363C89, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802492DC_7F3FEC -.word 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000D, 0x00000002, 0xFE363C80, 0xFFFFFFC4, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000078, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000015, 0xFFFFFFE2, 0x00000014, 0xFFFFFE2A, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000015, 0x003B0004, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0x00020009, 0x000000A0, 0x00000028, 0x00000044, 0x00000001, D_802491E8_7F3EF8, 0x00000056, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x000000B0, 0x00000001, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000028, 0x000001C1, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C80, 0x00000008, 0x00000043, 0x00000006, RotateModel, 0x0000008F, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000005, 0x00000001, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFF8, 0x00000043, 0x00000006, RotateModel, 0x0000008F, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000028, 0x000001C2, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x000000B0, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, SetNpcSpeed, 0x00000015, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x00000015, 0x00000045, 0x00000002, D_80248ED0_7F3BE0, 0xFE363C8A, 0x00000043, 0x00000005, NpcMoveTo, 0x00000015, 0xFFFFFFF6, 0xFFFFFE66, 0x00000000, 0x00000049, 0x00000001, 0xFE363C8A, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000015, 0x0000032C, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0x00000015, 0xFFFFFFF6, 0x00000000, 0xFFFFFEAC, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000015, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFE363C80, 0x0000203F, 0x00000000, 0x00000045, 0x00000002, D_80248ED0_7F3BE0, 0xFE363C8A, 0x00000043, 0x00000005, NpcMoveTo, 0x00000015, 0x0000002D, 0xFFFFFF46, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0x00000015, 0x0000008B, 0xFFFFFFBD, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0x00000015, 0x0000012C, 0xFFFFFFEC, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0x00000015, 0x00000258, 0x00000000, 0x00000000, 0x00000049, 0x00000001, 0xFE363C8A, 0x00000043, 0x00000005, SetNpcPos, 0x00000015, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000057, 0x00000000, 0x00000024, 0x00000002, 0xF8405C73, 0x00000001, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80249684_7F4394 -.word 0x0000000C, 0x00000002, 0xF5DE0180, 0xFFFFFFF3, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xF5DE0180, 0xFFFFFFFD, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000B, 0x00000002, 0xF8405C73, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_802492DC_7F3FEC, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80249700_7F4410 -.word 0x00000043, 0x00000001, func_80241E04_7ECB14, 0x0000000A, 0x00000002, 0xF8405C71, 0x00000000, 0x00000024, 0x00000002, 0xF8405C71, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A90004, 0x00A90001, 0x00000000, 0x00020004, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, func_80241FF0_7ECD00, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A90004, 0x00A90001, 0x00000000, 0x00020008, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, func_80241E80_7ECB90, 0x0000000B, 0x00000002, 0xFE363C82, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A90004, 0x00A90001, 0x00000000, 0x00020005, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A90004, 0x00A90001, 0x00000000, 0x00020006, 0x00000013, 0x00000000, 0x00000043, 0x00000006, ContinueSpeech, 0xFFFFFFFF, 0x00A90004, 0x00A90001, 0x00000000, 0xFE363C81, 0x00000043, 0x00000006, ContinueSpeech, 0xFFFFFFFF, 0x00A90004, 0x00A90001, 0x00000000, 0x00020007, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80249864_7F4574 -.word 0x00000024, 0x00000025, 0x00000026, 0x00000000 - -dlabel D_80249874_7F4584 -.word 0x00000025, 0x00000026, 0x00000000 - -dlabel D_80249880_7F4590 -.word 0x0000000A, 0x00000002, 0xF971888D, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A90004, 0x00A90001, 0x00000000, 0x0002000A, 0x00000024, 0x00000002, 0xF971888D, 0x00000001, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A90004, 0x00A90001, 0x00000000, 0x0002000B, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, D_80249864_7F4574, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000046, 0x00000001, D_80248534_7F3244, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000024, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A90004, 0x00A90001, 0x00000000, 0x0002000D, 0x00000024, 0x00000002, 0xF8405C74, 0x00000001, 0x00000008, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x0000015C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000046, 0x00000001, D_80245DC4_7F0AD4, 0x00000043, 0x00000002, AddStarPieces, 0x00000001, 0x00000008, 0x00000001, 0x0000000A, 0x0000000A, 0x00000002, 0xF8405C75, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A90004, 0x00A90001, 0x00000000, 0x00020010, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000025, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A90004, 0x00A90001, 0x00000000, 0x0002000F, 0x00000024, 0x00000002, 0xF8405C75, 0x00000001, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A90004, 0x00A90001, 0x00000000, 0x0002000C, 0x00000016, 0x00000001, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80249A7C_7F478C -.word 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, D_80249874_7F4584, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000046, 0x00000001, D_80248534_7F3244, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x0000000C, 0x00000002, 0xF5DE0180, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C75, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A90004, 0x00A90001, 0x00000000, 0x00020010, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x0000001C, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000025, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A90004, 0x00A90001, 0x00000000, 0x0002000E, 0x00000024, 0x00000002, 0xF8405C75, 0x00000001, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80249BC4_7F48D4 -.word 0x0000000F, 0x00000002, 0xF5DE0180, 0xFFFFFFF3, 0x0000000A, 0x00000002, 0xF8405C74, 0x00000000, 0x00000046, 0x00000001, D_80249880_7F4590, 0x00000046, 0x00000001, D_80248E1C_7F3B2C, 0x00000046, 0x00000001, D_80248E6C_7F3B7C, 0x0000000B, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80249A7C_7F478C, 0x0000000B, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80249700_7F4410, 0x00000046, 0x00000001, D_80248E1C_7F3B2C, 0x00000046, 0x00000001, D_80248E6C_7F3B7C, 0x0000000B, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80249CC0_7F49D0 -.word 0x00000043, 0x00000001, func_80241DA0_7ECAB0, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80249BC4_7F48D4, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80249CF0_7F4A00 -.word 0x00A90001, 0x001E0018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00630000 - -dlabel D_80249D1C_7F4A2C -.word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000016, 0x003B000C, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000016, 0x003B0003, 0x00000043, 0x00000003, SetNpcJumpscale, 0x00000016, 0xF24A7E80, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000016, 0x0000032C, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0x00000016, 0x00000190, 0x00000014, 0xFFFFFED4, 0x00000014, 0x00000043, 0x00000003, NpcFacePlayer, 0x00000016, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000016, 0x003B0011, 0x003B0001, 0x00000000, 0x00020002, 0x00000043, 0x0000000A, ShowSweat, 0x00000016, 0x00000001, 0x0000002D, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000014, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x0000000A, ShowSweat, 0x00000016, 0x00000001, 0x0000002D, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000014, 0x00000008, 0x00000001, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000002, SetPlayerSpeed, 0xF24A8280, 0x00000043, 0x00000004, PlayerMoveTo, 0x0000019A, 0xFFFFFEAC, 0x00000000, 0x00000057, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000016, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFE363C80, 0x0000203F, 0x00000000, 0x00000045, 0x00000002, D_80248ED0_7F3BE0, 0xFE363C8A, 0x00000043, 0x00000003, SetNpcSpeed, 0x00000016, 0xF24A9A80, 0x00000043, 0x00000005, NpcMoveTo, 0x00000016, 0x000000AA, 0xFFFFFF74, 0x00000000, 0x00000049, 0x00000001, 0xFE363C8A, 0x00000043, 0x00000005, SetNpcPos, 0x00000016, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000002, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000001, 0x000000AA, 0x00000014, 0xFFFFFF74, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000001, 0x00000100, 0x00000001, 0x00000043, 0x00000003, SetNpcSpeed, 0x00000001, 0xF24A9A80, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00880003, 0x00000043, 0x00000005, NpcMoveTo, 0x00000001, 0x000001AE, 0xFFFFFE8B, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000001, 0x000001AE, 0x00000014, 0xFFFFFE8B, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00880001, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000001, 0x00000100, 0x00000000, 0x00000043, 0x00000003, NpcFacePlayer, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00880004, 0x00880001, 0x00000000, 0x00020003, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x00000037, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x00000038, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x00000039, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x0000003A, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x0000003B, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x0000003C, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000003D, 0x7FFFFE00, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024A110_7F4E20 -.word 0x00000043, 0x00000002, GetOwnerEncounterTrigger, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000004, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000016, 0x00000001, 0x00000006, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, mac_00_UnkPositionFunc, 0x0000010A, 0xFFFFFEA2, 0x0000016E, 0xFFFFFF03, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x000000E1, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x0000203E, 0x00000000, 0x00000024, 0x00000002, 0xF8405C78, 0x00000001, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000043, 0x00000004, SetEnemyFlagBits, 0x00000016, 0x08000000, 0x00000001, 0x00000043, 0x00000003, BindNpcAI, 0xFFFFFFFF, D_80249D1C_7F4A2C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024A294_7F4FA4 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0x00000016, 0x003B0011, 0x003B0001, 0x00000000, 0x00020001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024A2C4_7F4FD4 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000021, 0x00000002, 0xFFFFFFF3, 0x00000005, 0x0000000A, 0x00000002, 0xF8405C78, 0x00000000, 0x00000024, 0x00000002, 0xF8405C77, 0x00000001, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x000001AE, 0x00000014, 0xFFFFFE8B, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8024A294_7F4FA4, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, RemoveNpc, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024A368_7F5078 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000021, 0x00000002, 0xFFFFFFF3, 0x00000005, 0x0000000A, 0x00000002, 0xF8405C78, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000037, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000038, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000039, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000003A, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000003B, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000003C, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x0000003D, 0x7FFFFE00, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFF, 0x00000100, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFF, 0x00000002, 0x00000001, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x000001AE, 0x00000014, 0xFFFFFE8B, 0x00000043, 0x00000003, BindNpcHit, 0xFFFFFFFF, D_8024A110_7F4E20, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, RemoveNpc, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024A4D4_7F51E4 -.word 0x00000046, 0x00000001, 0x80284054, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024A4F0_7F5200 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830004, 0x00830001, 0x00000000, 0x00020000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024A520_7F5230 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000021, 0x00000002, 0xFFFFFFF3, 0x00000005, 0x0000000A, 0x00000002, 0xF8405C78, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000001, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8024A4D4_7F51E4, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024A59C_7F52AC -.short 0x0000, 0x0014, 0x0000, 0x0001, 0xF5DE, 0x0180, 0x0000, 0x0021, 0x0000, 0x0002, 0xFFFF, 0xFFF3, 0x0000, 0x0005, 0x0000, 0x000A, 0x0000, 0x0002, 0xF840, 0x5C78, 0x0000, 0x0000, 0x0000, 0x0043, 0x0000, 0x0005, 0x802C, 0xDCB0, 0xFFFF, 0xFFFF, 0x0000, 0x0069, 0x0000, 0x0000, 0xFFFF, 0xFFD8, 0x0000, 0x0043, 0x0000, 0x0003, 0x8004, 0x50A4, 0xFFFF, 0xFFFF, 0x8024, 0xA4F0, 0x0000, 0x0002, 0x0000, 0x0000, 0x0000, 0x0013, 0x0000, 0x0000, 0x0000, 0x0023, 0x0000, 0x0000, 0x0000, 0x0043, 0x0000, 0x0002, 0x8004, 0x4340, 0xFFFF, 0xFFFF, 0x0000, 0x0002, 0x0000, 0x0000, 0x0000, 0x0001, 0x0000, 0x0000 - -dlabel mac_00_dojoBattleIDs -.short 0x0000, 0x0300, 0x0000, 0x0301, 0x0000, 0x0302, 0x0000, 0x0303, 0x0000, 0x0304 - -dlabel D_8024A644_7F5354 -.word 0x0000000C, 0x00000002, 0xF5DE0180, 0xFFFFFF98, 0x00000024, 0x00000002, 0xFE363C80, 0x00020015, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0002001B, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A30004, 0x00A30001, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024A6B4_7F53C4 -.word 0x00000043, 0x00000006, ContinueSpeech, 0x00000003, 0x00A20009, 0x00A20002, 0x00000000, 0x0002001D, 0x00000043, 0x00000007, SpeakToNpc, 0xFFFFFFFF, 0x00A30004, 0x00A30001, 0x00000000, 0x00000003, 0x0002001E, 0x00000008, 0x00000001, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000003, 0x00000100, 0x00000001, 0x00000043, 0x00000002, func_802D2C14, 0x00000001, 0x00000043, 0x00000004, PlayerMoveTo, 0x0000015C, 0xFFFFFE94, 0x00000014, 0x00000043, 0x00000003, InterpPlayerYaw, 0x00000014, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, func_802D2C14, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000003, 0x00000100, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A30003, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFF, 0x00000100, 0x00000001, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x0000017C, 0xFFFFFE70, 0x0000001E, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFF, 0x00000100, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A30001, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x000000E1, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000001, mac_00_SetDojoBattle, 0x00000043, 0x00000001, StartBattle, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024A85C_7F556C -.word 0x00000043, 0x00000003, SetEncounterStatusFlags, 0x00000004, 0x00000001, 0x00000043, 0x00000001, func_802421D0_7ECEE0, 0x00000056, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A30003, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFF, 0x00000100, 0x00000001, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x00000136, 0xFFFFFE7A, 0x0000001E, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFF, 0x00000100, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A30001, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000002D, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, GetBattleOutcome, 0xFE363C80, 0x00000043, 0x00000004, SetNpcVar, 0x00000003, 0x00000001, 0xFE363C80, 0x00000043, 0x00000004, SetNpcVar, 0x00000003, 0x00000000, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024A978_7F5688 -.word 0x0000000C, 0x00000002, 0xF5DE0180, 0xFFFFFF98, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x0000023A, 0x00000014, 0xFFFFFF6A, 0x00000043, 0x00000003, SetNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000012, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000006C, 0x7FFFFE00, 0x00000013, 0x00000000, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8024A644_7F5354, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024AA04_7F5714 -.word 0x0000000C, 0x00000002, 0xF5DE0180, 0xFFFFFF98, 0x00000024, 0x00000002, 0xFE363C80, 0x00020016, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0002001C, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A40006, 0x00A40002, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024AA74_7F5784 -.word 0x00000043, 0x00000006, ContinueSpeech, 0x00000003, 0x00A20009, 0x00A20002, 0x00000000, 0x00020024, 0x00000043, 0x00000007, SpeakToNpc, 0xFFFFFFFF, 0x00A40006, 0x00A40002, 0x00000000, 0x00000003, 0x00020025, 0x00000008, 0x00000001, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000003, 0x00000100, 0x00000001, 0x00000043, 0x00000002, func_802D2C14, 0x00000001, 0x00000043, 0x00000004, PlayerMoveTo, 0x0000015C, 0xFFFFFE94, 0x00000014, 0x00000043, 0x00000003, InterpPlayerYaw, 0x00000014, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, func_802D2C14, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000003, 0x00000100, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A40003, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFF, 0x00000100, 0x00000001, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x0000017C, 0xFFFFFE70, 0x0000001E, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFF, 0x00000100, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A40002, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x000000E1, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000001, mac_00_SetDojoBattle, 0x00000043, 0x00000001, StartBattle, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024AC1C_7F592C -.word 0x00000043, 0x00000003, SetEncounterStatusFlags, 0x00000004, 0x00000001, 0x00000043, 0x00000001, func_802421D0_7ECEE0, 0x00000056, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A40003, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFF, 0x00000100, 0x00000001, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x0000014A, 0xFFFFFE66, 0x0000001E, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFF, 0x00000100, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A40002, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000002D, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, GetBattleOutcome, 0xFE363C80, 0x00000043, 0x00000004, SetNpcVar, 0x00000003, 0x00000001, 0xFE363C80, 0x00000043, 0x00000004, SetNpcVar, 0x00000003, 0x00000000, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024AD38_7F5A48 -.word 0x0000000C, 0x00000002, 0xF5DE0180, 0xFFFFFF98, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x00000258, 0x00000014, 0xFFFFFF6F, 0x00000043, 0x00000003, SetNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000013, 0x00000000, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8024AA04_7F5714, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024ADA4_7F5AB4 -.word 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetSelfVar, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetSelfVar, 0x00000002, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetSelfVar, 0x00000002, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetSelfVar, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, GetSelfVar, 0x00000001, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000001, func_80242224_7ECF34, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x00A20009, 0x00A20002, 0x00000000, 0x00020042, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x00A20009, 0x00A20002, 0x00000000, 0x00020042, 0x00000016, 0x00000001, 0x00000000, 0x00000014, 0x00000001, 0xF5DE019C, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00020023, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x0002002A, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000B, 0x00000024, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x0002003E, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000024, 0x00000002, 0xFE363C82, 0x0000000B, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x0002003F, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000D, 0x00000024, 0x00000002, 0xFE363C82, 0x0000000C, 0x00000016, 0x00000001, 0x00000004, 0x00000024, 0x00000002, 0xFE363C81, 0x00020040, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000E, 0x00000024, 0x00000002, 0xFE363C82, 0x0000000D, 0x00000023, 0x00000000, 0x00000027, 0x00000002, 0xF5DE019C, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x00A20009, 0x00A20002, 0x00000000, 0xFE363C81, 0x00000043, 0x00000003, FindKeyItem, 0xFE363C82, 0xFE363C81, 0x0000000B, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000002, RemoveKeyItemAt, 0xFE363C81, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000046, 0x00000001, D_80245DC4_7F0AD4, 0x00000043, 0x00000002, AddKeyItem, 0xFE363C80, 0x0000000C, 0x00000002, 0xF5DE019C, 0x00000005, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x00A20009, 0x00A20002, 0x00000000, 0x00020041, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024B164_7F5E74 -.word 0x00000043, 0x00000003, SetEncounterStatusFlags, 0x00000004, 0x00000001, 0x00000043, 0x00000001, func_802421D0_7ECEE0, 0x00000043, 0x00000002, GetBattleOutcome, 0xFE363C80, 0x00000043, 0x00000003, SetSelfVar, 0x00000001, 0xFE363C80, 0x00000043, 0x00000003, SetSelfVar, 0x00000000, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024B1DC_7F5EEC -.word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x0000000A, 0x00000002, 0xF8405C72, 0x00000000, 0x00000024, 0x00000002, 0xF8405C72, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00020017, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020018, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x00A20009, 0x00A20002, 0x00000000, 0xFE363C80, 0x00000043, 0x00000002, ShowChoice, 0x001E0016, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000006, ContinueSpeech, 0x00000003, 0x00A20009, 0x00A20002, 0x00000000, 0x00020019, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xF5DE019C, 0x00000004, 0x00000043, 0x00000006, ContinueSpeech, 0x00000003, 0x00A20009, 0x00A20002, 0x00000000, 0x00020043, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetSelfVar, 0x00000002, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000014, 0x00000001, 0xF5DE019C, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, BindNpcDefeat, 0x00000004, D_8024A85C_7F556C, 0x00000043, 0x00000003, BindNpcAI, 0x00000004, D_8024A6B4_7F53C4, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, BindNpcDefeat, 0x00000005, D_8024AC1C_7F592C, 0x00000043, 0x00000003, BindNpcAI, 0x00000005, D_8024AA74_7F5784, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x0002002B, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x0002002C, 0x00000016, 0x00000001, 0x00000004, 0x00000024, 0x00000002, 0xFE363C81, 0x0002002D, 0x00000023, 0x00000000, 0x00000043, 0x00000006, ContinueSpeech, 0x00000003, 0x00A20009, 0x00A20002, 0x00000000, 0xFE363C81, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000003, 0x00000100, 0x00000001, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_802D2C14, 0x00000001, 0x00000043, 0x00000004, PlayerMoveTo, 0x0000015C, 0xFFFFFE94, 0x00000014, 0x00000043, 0x00000003, InterpPlayerYaw, 0x00000014, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, func_802D2C14, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x00000177, 0xFFFFFE70, 0x0000001E, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000003, 0x000000E1, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000003, 0x00000100, 0x00000000, 0x00000043, 0x00000003, BindNpcDefeat, 0xFFFFFFFF, D_8024B164_7F5E74, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000001, mac_00_SetDojoBattle, 0x0000000C, 0x00000002, 0xF5DE019C, 0x00000002, 0x00000043, 0x00000001, StartBattle, 0x00000012, 0x00000000, 0x00000043, 0x00000002, StartBattleWith, 0x0000002C, 0x00000013, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024B5B8_7F62C8 -.word 0x00000044, 0x00000001, D_8024B1DC_7F5EEC, 0x00000008, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024B5E0_7F62F0 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8024B5B8_7F62C8, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_8024ADA4_7F5AB4, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024B618_7F6328 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x00020044, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C80, 0x00020045, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xFE363C80, 0x00020046, 0x00000018, 0x00000001, 0xFFFFFFCB, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020047, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020048, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C80, 0x00020049, 0x00000018, 0x00000001, 0x00000007, 0x0000000A, 0x00000002, 0xF8405C73, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0002004A, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C74, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0002004B, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0002004C, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x0002004D, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x0002004E, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x0002004F, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x00020050, 0x00000018, 0x00000001, 0x0000003D, 0x00000024, 0x00000002, 0xFE363C80, 0x00020051, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x00020052, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00020053, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00010036, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830104, 0x00830101, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024B874_7F6584 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x00020054, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C80, 0x00020055, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xFE363C80, 0x00020056, 0x00000018, 0x00000001, 0xFFFFFFCB, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020057, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020058, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C80, 0x00020059, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x0002005A, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x0002005B, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x0002005C, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x0002005D, 0x00000018, 0x00000001, 0x0000003D, 0x00000024, 0x00000002, 0xFE363C80, 0x0002005E, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x0002005F, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00020060, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00010037, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00840004, 0x00840001, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024BA54_7F6764 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x00020061, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C80, 0x00020062, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xFE363C80, 0x00020063, 0x00000018, 0x00000001, 0xFFFFFFCB, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020064, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020065, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C80, 0x00020066, 0x00000018, 0x00000001, 0x00000007, 0x0000000A, 0x00000002, 0xF8405C73, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020067, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C74, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020068, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020069, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x0002006A, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x0002006B, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x0002006C, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x0002006D, 0x00000018, 0x00000001, 0x0000003D, 0x00000024, 0x00000002, 0xFE363C80, 0x0002006E, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x0002006F, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00020070, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00010038, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830104, 0x00830101, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024BCB0_7F69C0 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x00020071, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C80, 0x00020072, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xFE363C80, 0x00020073, 0x00000018, 0x00000001, 0xFFFFFFCB, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020074, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020075, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C80, 0x00020076, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x00020077, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x00020078, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x00020079, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x0002007A, 0x00000018, 0x00000001, 0x0000003D, 0x00000024, 0x00000002, 0xFE363C80, 0x0002007B, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x0002007C, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x0002007D, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00010039, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830104, 0x00830101, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024BE90_7F6BA0 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8024B618_7F6328, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024BEB4_7F6BC4 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8024B874_7F6584, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024BED8_7F6BE8 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8024BA54_7F6764, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024BEFC_7F6C0C -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8024BCB0_7F69C0, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x0000000C, 0x00000002, 0xF5DE0180, 0xFFFFFFF3, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000007, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0x00000007, 0x0000000A, 0x00000002, 0xF8405C73, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0002004A, 0x00000024, 0x00000002, 0xFE363C81, 0x00020067, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C74, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0002004B, 0x00000024, 0x00000002, 0xFE363C81, 0x00020068, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0002004C, 0x00000024, 0x00000002, 0xFE363C81, 0x00020069, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0xFE363C80, 0x000000A0, 0x00000028, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0xFE363C81, 0x000000A0, 0x00000028, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024C08C_7F6D9C -.word 0x00000024, 0x00000002, 0xFE363C80, 0x00000005, 0x00000043, 0x00000001, func_80242250_7ECF60, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830404, 0x00830401, 0x00000000, 0x00020119, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFF, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x000002CD, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000024, 0x00000002, 0xF840627B, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, func_8024228C_7ECF9C, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830404, 0x00830401, 0x00000000, 0x0002011A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830404, 0x00830401, 0x00000000, 0x0002011B, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000018, 0x00000046, 0x00000001, D_802486B8_7F33C8, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830404, 0x00830401, 0x00000000, 0x0002011F, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x000000A6, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830404, 0x00830401, 0x00000000, 0x0002011C, 0x00000024, 0x00000002, 0xFE363C80, 0x000000A3, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000046, 0x00000001, D_80245DC4_7F0AD4, 0x00000043, 0x00000003, AddItem, 0xFE363C80, 0xFE363C81, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830404, 0x00830401, 0x00000000, 0x0002011D, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFF, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x000002CD, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000024, 0x00000002, 0xF840627B, 0x00000000, 0x00000027, 0x00000002, 0xF5DE02E2, 0x00000001, 0x0000001C, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830404, 0x00830401, 0x00000000, 0x0002011E, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024C408_7F7118 -.word 0x0000000B, 0x00000002, 0xF840627B, 0x00000000, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8024C08C_7F6D9C, 0x00000012, 0x00000000, 0x00000043, 0x00000002, RemoveNpc, 0xFFFFFFFF, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024C45C_7F716C -.word 0x00000015, D_80245D68_7F0A78, 0x00000000, 0xC47A0000, 0x00000000, 0x00510F09, D_80249684_7F4394, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x003B0001, 0x003B0002, 0x003B0003, 0x003B0003, 0x003B0001, 0x003B0001, 0x003B000C, 0x003B000C, 0x003B0015, 0x003B0012, 0x003B0011, 0x003B0010, 0x003B0005, 0x003B0001, 0x003B0001, 0x003B0001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000016, D_80245D68_7F0A78, 0x00000000, 0xC47A0000, 0x00000000, 0x00510F09, D_8024A2C4_7F4FD4, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x003B0001, 0x003B0002, 0x003B0003, 0x003B0003, 0x003B0001, 0x003B0001, 0x003B000C, 0x003B000C, 0x003B0015, 0x003B0012, 0x003B0011, 0x003B0010, 0x003B0005, 0x003B0001, 0x003B0001, 0x003B0001, 0x00000000, 0x00000000, 0x00000000, 0x001A00BB, 0x00000017, D_80245D68_7F0A78, 0x00000000, 0xC47A0000, 0x00000000, 0x01300D08, D_8024A368_7F5078, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x003B0001, 0x003B0002, 0x003B0003, 0x003B0003, 0x003B0001, 0x003B0001, 0x003B000C, 0x003B000C, 0x003B0015, 0x003B0012, 0x003B0011, 0x003B0010, 0x003B0005, 0x003B0001, 0x003B0001, 0x003B0001, 0x00000000, 0x00000000, 0x00000000, 0x001A00BB - -dlabel D_8024CA2C_7F773C -.word 0x00000000, D_80249CF0_7F4A00, 0xC2840000, 0x41A00000, 0xC4050000, 0x00112D09, D_80249CC0_7F49D0, 0x00000000, 0x00000000, 0x00000077, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A90001, 0x00A90001, 0x00A90001, 0x00A90001, 0x00A90001, 0x00A90001, 0x00A90001, 0x00A90001, 0x00A90001, 0x00A90001, 0x00A90001, 0x00A90001, 0x00A90001, 0x00A90001, 0x00A90001, 0x00A90001, 0x00000000, 0x00000000, 0x00000000, 0x001A000E - -dlabel D_8024CC1C_7F792C -.word 0x00000001, D_80245D10_7F0A20, 0x43D70000, 0x41A00000, 0xC3BA8000, 0x00112D09, D_8024A520_7F5230, 0x00000000, 0x00000000, 0x000000DF, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00880001, 0x00880002, 0x00880003, 0x00880003, 0x00880001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x001A0012, 0x00000002, D_80245D10_7F0A20, 0x00000000, 0xC47A0000, 0x00000000, 0x00112D09, D_8024A59C_7F52AC, 0x00000000, 0x00000000, 0x000000DF, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00880001, 0x00880002, 0x00880003, 0x00880003, 0x00880001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x001A0012 - -dlabel D_8024CFFC_7F7D0C -.word 0x00A20000, 0x00A20002, 0x00A20005, 0x00A20009, 0xFFFFFFFF - -dlabel D_8024D010_7F7D20 -.word 0x00A30000, 0x00A30001, 0x00A30003, 0x00A30004, 0xFFFFFFFF - -dlabel D_8024D024_7F7D34 -.word 0x00A40000, 0x00A40002, 0x00A40003, 0x00A40006, 0xFFFFFFFF - -dlabel D_8024D038_7F7D48 -.word 0x00000003, D_80245D94_7F0AA4, 0x43BB8000, 0x42E60000, 0xC3DC0000, 0x00852D0D, D_8024B5E0_7F62F0, 0x00000000, 0x00000000, 0x000000E1, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A20002, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00000000, 0x00000000, D_8024CFFC_7F7D0C, 0x001A000F, 0x00000004, D_80245D94_7F0AA4, 0x439B0000, 0x42E60000, 0xC3C30000, 0x00852D0D, D_8024A978_7F5688, 0x00000000, 0x00000000, 0x0000002D, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A30001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024D010_7F7D20, 0x001A0010, 0x00000005, D_80245D94_7F0AA4, 0x43A50000, 0x42E60000, 0xC3CD0000, 0x00852D0D, D_8024AD38_7F5A48, 0x00000000, 0x00000000, 0x0000002D, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A40002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024D024_7F7D34, 0x001A0011, 0x00000006, D_80248390_7F30A0, 0x44084000, 0x41A00000, 0x43160000, 0x00006D09, 0x00000000, 0x00000001, 0x00010600, 0x0000001E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00AF0001, 0x00AF0002, 0x00AF0003, 0x00AF0003, 0x00AF0001, 0x00AF0001, 0x00AF0000, 0x00AF0000, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00000000, 0x00000000, 0x00000000, 0x001A0002 - -dlabel D_8024D7F8_7F8508 -.word 0x00000011, D_80245D10_7F0A20, 0xC3F80000, 0x41A00000, 0x435A0000, 0x00112D09, D_8024BE90_7F6BA0, 0x00000000, 0x00000000, 0x00000085, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830101, 0x00830102, 0x00830103, 0x00830103, 0x00830101, 0x00830101, 0x00830106, 0x00830106, 0x00830103, 0x00830103, 0x00830103, 0x00830103, 0x00830103, 0x00830103, 0x00830103, 0x00830103, 0x00000000, 0x00000000, 0x00000000, 0x001A001C, 0x00000012, D_80245D10_7F0A20, 0xC40D8000, 0x41A00000, 0x43858000, 0x00112D09, D_8024BEB4_7F6BC4, 0x00000000, 0x00000000, 0x00000085, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00840001, 0x00840002, 0x00840003, 0x00840003, 0x00840001, 0x00840001, 0x00840006, 0x00840006, 0x00840003, 0x00840003, 0x00840003, 0x00840003, 0x00840003, 0x00840003, 0x00840003, 0x00840003, 0x00000000, 0x00000000, 0x00000000, 0x001A001D, 0x00000013, D_80245D10_7F0A20, 0xC3FE0000, 0x41A00000, 0x43A20000, 0x00112D09, D_8024BED8_7F6BE8, 0x00000000, 0x00000000, 0x00000139, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00860101, 0x00860102, 0x00860103, 0x00860103, 0x00860101, 0x00860101, 0x00860100, 0x00860100, 0x00860100, 0x00860100, 0x00860100, 0x00860100, 0x00860100, 0x00860100, 0x00860100, 0x00860100, 0x00000000, 0x00000000, 0x00000000, 0x001A001E, 0x00000014, D_80245D10_7F0A20, 0xC3F00000, 0x41A00000, 0x43A48000, 0x00112D09, D_8024BEFC_7F6C0C, 0x00000000, 0x00000000, 0x00000139, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00860101, 0x00860102, 0x00860103, 0x00860103, 0x00860101, 0x00860101, 0x00860100, 0x00860100, 0x00860100, 0x00860100, 0x00860100, 0x00860100, 0x00860100, 0x00860100, 0x00860100, 0x00860100, 0x00000000, 0x00000000, 0x00000000, 0x001A001F - -dlabel D_8024DFB8_7F8CC8 -.word 0x00000018, D_80245D10_7F0A20, 0xC2E00000, 0x00000000, 0xC2780000, 0x00112D09, D_8024C408_7F7118, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830401, 0x00830402, 0x00830403, 0x00830403, 0x00830401, 0x00830401, 0x00830401, 0x00830406, 0x00830403, 0x00830403, 0x00830403, 0x00830403, 0x00830403, 0x00830403, 0x00830403, 0x00830403, 0x00000000, 0x00000000, 0x00000000, 0x001A0007, 0x00000003, D_8024D038_7F7D48, 0x00000000, 0x00000003, D_8024C45C_7F716C, 0x00000000, 0x00000001, D_8024CA2C_7F773C, 0x00000000, 0x00000002, D_8024CC1C_7F792C, 0x00000000, 0x0000000A, 0x80251124, 0x00000000, 0x00000004, D_8024D7F8_7F8508, 0x00000000, 0x00000001, D_8024DFB8_7F8CC8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_00/7F8F20.data.s b/ver/us/asm/data/world/area_mac/mac_00/7F8F20.data.s deleted file mode 100644 index ad7e8e6ec7..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_00/7F8F20.data.s +++ /dev/null @@ -1,21 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_8024E210_7F8F20 -.word 0x00270000, 0x00270001, 0x00270002, 0x00270003, 0x00270004, 0x00270005, 0x00270006, 0x00270007, 0x00270008, 0x00270009, 0x0027000A, 0x0027000B, 0x0027000C, 0x0027000D, 0x0027000E, 0x0027000F, 0x00270010, 0x00270011, 0x00270012, 0x00270013, 0x00270014, 0x00270015, 0x00270016 - -dlabel D_8024E26C_7F8F7C -.word 0x00000098, 0x00000005, 0x0024002A, 0x0000008F, 0x0000000A, 0x00240026, 0x00000090, 0x00000005, 0x00240027, 0x00000080, 0x0000000A, 0x00240000, 0x000000A4, 0x0000000A, 0x00240016, 0x0000008A, 0x00000005, 0x00240009, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8024E2C0_7F8FD0 -.word 0x0000008D, 0x00000003, 0x00000000, 0x000000A7, 0x00000005, 0x00000000, 0x00000086, 0x00000003, 0x00000000, 0x00000093, 0x00000040, 0x00000000, 0x000000A8, 0x00000014, 0x00000000, 0x0000009D, 0x00000004, 0x00000000, 0x0000009C, 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8024E320_7F9030 -.word 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000003, 0x00000016, 0x00000001, 0x00000004, 0x00000016, 0x00000001, 0x00000001, 0x00000016, 0x00000001, 0x00000002, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024E374_7F9084 -.word 0x00610037, 0x00620038, 0x00630039, 0x0064003A, 0x0065003B, 0x0066003C - -dlabel D_8024E38C_7F909C -.word 0x00000001, 0x00880001, 0x00880004, D_8024E320_7F9030, 0x00000000, 0x00000000, D_8024E210_7F8F20, 0x00000043, 0x00000005, MakeShop, D_8024E374_7F9084, D_8024E26C_7F8F7C, D_8024E2C0_7F8FD0, 0x00010000, 0x00000043, 0x00000002, MakeShopOwner, D_8024E38C_7F909C, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_00/7F9100.data.s b/ver/us/asm/data/world/area_mac/mac_00/7F9100.data.s deleted file mode 100644 index 63f3701a7c..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_00/7F9100.data.s +++ /dev/null @@ -1,9 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_8024E3F0_7F9100 -.word 0x41700000, 0xC3C80000, 0x42B40000, 0x42F00000, 0x00000007, 0xFAA2B58A - -dlabel D_8024E408_7F9118 -.word 0x43DE8000, 0xC3998000, 0x42B40000, 0x42DC0000, 0x00000003, 0xFAA2B58B, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000043, 0x00000002, EnableMusicProximityMix, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, mac_00_MonitorMusicProximityTrigger, D_8024E3F0_7F9100, 0x00000057, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0xFFFFFF99, 0x00000056, 0x00000000, 0x00000043, 0x00000002, mac_00_MonitorMusicProximityTrigger, D_8024E408_7F9118, 0x00000057, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_00/7F91D0.data.s b/ver/us/asm/data/world/area_mac/mac_00/7F91D0.data.s deleted file mode 100644 index bb904ca541..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_00/7F91D0.data.s +++ /dev/null @@ -1,9 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_8024E4C0_7F91D0 -.word 0x00000008, 0x00000001, 0x00000032, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000016, 0xFFFFFFE6, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000041, 0xFFFFFFC3, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000042, 0xFFFFFFBD, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000042, 0xFFFFFFBA, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000042, 0xFFFFFFB9, 0x00000008, 0x00000001, 0x00000012, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000043, 0xFFFFFFC2, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x0000004A, 0xFFFFFFDE, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000051, 0xFFFFFFFA, 0x00000043, 0x00000002, DemoSetButtons, 0x00008000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000052, 0xFFFFFFFE, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000002, DemoSetButtons, 0x00000000, 0x00000008, 0x00000001, 0x00000007, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000051, 0xFFFFFFFD, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000050, 0xFFFFFFF6, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x0000004E, 0xFFFFFFEA, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x0000004B, 0xFFFFFFDD, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000048, 0xFFFFFFCF, 0x00000043, 0x00000002, DemoSetButtons, 0x00008000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000046, 0xFFFFFFC8, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000046, 0xFFFFFFC7, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, DemoSetButtons, 0x00000000, 0x00000008, 0x00000001, 0x00000009, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000046, 0xFFFFFFC8, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x0000004A, 0xFFFFFFE6, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x0000004F, 0x00000008, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000046, 0x0000002E, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000042, 0x00000044, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000042, 0x00000043, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000041, 0x00000043, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x0000003F, 0x00000042, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x0000002D, 0x0000002E, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000016, 0x00000017, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000001, 0xFFFFFFFF, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, DemoSetButtons, 0x00008000, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000002, DemoSetButtons, 0x00000000, 0x00000008, 0x00000001, 0x0000003D, 0x00000043, 0x00000003, DemoJoystickXY, 0x00000003, 0xFFFFFFFF, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x0000000E, 0xFFFFFFFF, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x0000004A, 0xFFFFFFF8, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x0000004D, 0xFFFFFFF7, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x0000004E, 0xFFFFFFF7, 0x00000008, 0x00000001, 0x0000000B, 0x00000043, 0x00000003, DemoJoystickXY, 0x0000004E, 0xFFFFFFF8, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, DemoJoystickXY, 0x0000004F, 0xFFFFFFF9, 0x0000000A, 0x00000002, 0xF8405B89, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF8405B89, 0x00000001, 0x00000043, 0x00000004, GotoMapSpecial, 0x802559B0, 0x00000002, 0x00000002, 0x00000008, 0x00000001, 0x0000006E, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024E9F4_7F9704 -.word 0x00000008, 0x00000001, 0x0000000A, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000002, GetDemoState, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x0000000A, 0x00000002, 0xF8405B89, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF8405B89, 0x00000001, 0x00000043, 0x00000004, GotoMapSpecial, 0x802559B0, 0x00000002, 0x00000003, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF8405B89, 0x00000000, 0x00000044, 0x00000001, D_8024E9F4_7F9704, 0x00000044, 0x00000001, D_8024E4C0_7F91D0, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_00/7F9800.data.s b/ver/us/asm/data/world/area_mac/mac_00/7F9800.data.s deleted file mode 100644 index 7a7f72d7cd..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_00/7F9800.data.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_8024EAF0_7F9800 -.word 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetCustomGfxBuilders, 0x00000000, func_802423F0_7ED100, 0x00000000, 0x00000043, 0x00000004, SetModelCustomGfx, 0x000000D6, 0x00000000, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_00/7F9850.data.s b/ver/us/asm/data/world/area_mac/mac_00/7F9850.data.s deleted file mode 100644 index 616413d88a..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_00/7F9850.data.s +++ /dev/null @@ -1,129 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_8024EB40_7F9850 -.word 0x3FC00000, 0x0000003C, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001 - -dlabel D_8024EB70_7F9880 -.word 0x00000043, 0x00000002, BasicAI_Main, D_8024EB40_7F9850, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024EB90_7F98A0 -.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_8024EB70_7F9880, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_8024EB70_7F9880, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010 - -dlabel D_8024EBE8_7F98F8 -.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001 - -dlabel D_8024EC18_7F9928 -.word 0x00000043, 0x00000002, mac_00_PatrolNoAttackAI_Main, D_8024EBE8_7F98F8, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024EC38_7F9948 -.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_8024EC18_7F9928, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_8024EC18_7F9928, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010 - -dlabel D_8024EC90_7F99A0 -.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000, 0x00000000, 0x00170013, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel dup_mac_00_varStash -.word 0x00000000 - -dlabel D_8024ECEC_7F99FC -.word 0x00000043, 0x00000004, ShowGotItem, 0xFE363C80, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, ShowGotItem, 0xFE363C80, 0x00000001, 0x00000010, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel dup_mac_00_ItemChoice_HasSelectedItem -.word 0x00000000 - -dlabel dup_mac_00_ItemChoice_SelectedItemID -.word 0x00000000 - -dlabel D_8024ED54_7F9A64 -.word 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C81, 0x00000043, 0x00000001, ShowKeyChoicePopup, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, RemoveKeyItemAt, 0xFE363C81, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000004, dup_mac_00_AddPlayerHandsOffset, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000042, 0x00000002, 0xFE363C80, 0x00050000, 0x00000043, 0x00000007, MakeItemEntity, 0xFE363C80, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000001, 0x00000000, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00060005, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000043, 0x00000002, RemoveItemEntity, 0xFE363C80, 0x00000023, 0x00000000, 0x00000043, 0x00000002, dup_mac_00_ItemChoice_SaveSelected, 0xFE363C8A, 0x00000043, 0x00000001, CloseChoicePopup, 0x00000048, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, func_802437D0_7EE4E0, 0xFE363C80, 0x0000004E, 0x00000006, D_8024ED54_7F9A64, 0x00000010, 0x00000000, D_80255EE0, 0x00000000, 0x00000001, 0x00000043, 0x00000002, func_80243744_7EE454, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024EEE8_7F9BF8 -.word 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000004, dup_mac_00_LetterDelivery_CalcLetterPos, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000005, SetItemPos, 0xFE363C80, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024EF68_7F9C78 -.word 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C81, 0x00000043, 0x00000001, ShowKeyChoicePopup, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, RemoveKeyItemAt, 0xFE363C81, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000004, dup_mac_00_LetterDelivery_CalcLetterPos, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000042, 0x00000002, 0xFE363C80, 0x00050000, 0x00000043, 0x00000007, MakeItemEntity, 0xFE363C80, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000001, 0x00000000, 0x00000045, 0x00000002, D_8024EEE8_7F9BF8, 0xFE363C8A, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0x00040002, 0x00000043, 0x00000004, GetAngleBetweenNPCs, 0xFE363C89, 0xFFFFFFFC, 0xFE363C8B, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000005, GetNpcPos, 0xFE363C89, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000100, 0x00000001, 0x0000000E, 0x00000002, 0xFE363C8B, 0x000000B4, 0x00000027, 0x00000002, 0xFE363C86, 0x00000014, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C86, 0xFFFFFFEC, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFE363C87, 0x0000000A, 0x00000043, 0x00000003, SetNpcJumpscale, 0xFFFFFFFC, 0xF24A7A80, 0x00000043, 0x00000006, NpcJump1, 0xFFFFFFFC, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0x00000014, 0x00000049, 0x00000001, 0xFE363C8A, 0x00000043, 0x00000002, RemoveItemEntity, 0xFE363C80, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, GetNpcYaw, 0xFFFFFFFC, 0xFE363C8A, 0x00000027, 0x00000002, 0xFE363C8A, 0x000000B4, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFC, 0xFE363C8A, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000006, NpcJump1, 0xFFFFFFFC, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000014, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0x00040001, 0x00000043, 0x00000004, NpcFaceNpc, 0xFFFFFFFC, 0xFE363C89, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000100, 0x00000000, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000008, 0x00000001, 0x00000005, 0x00000023, 0x00000000, 0x00000043, 0x00000002, dup_mac_00_ItemChoice_SaveSelected, 0xFE363C8A, 0x00000043, 0x00000001, CloseChoicePopup, 0x00000048, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024F28C_7F9F9C -.word 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, func_802437D0_7EE4E0, 0xFE363C80, 0x0000004E, 0x00000006, D_8024EF68_7F9C78, 0x00000010, 0x00000000, D_80255EE0, 0x00000000, 0x00000001, 0x00000043, 0x00000002, func_80243744_7EE454, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024F2FC_7FA00C -.word 0x00000024, 0x00000002, 0xFE363C8C, 0x00000000, 0x0000000C, 0x00000002, 0xF5DE0180, 0xFFFFFFBA, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, dup_mac_00_LetterDelivery_SaveNpcAnim, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C80, 0x00000043, 0x00000003, FindKeyItem, 0xFE363C85, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000004, 0x0000000B, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000003, PlayerFaceNpc, 0xFE363C82, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, GetNpcPos, 0xFE363C82, 0xFE363C8D, 0xFE363C80, 0xFE363C8E, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C8D, 0xFE363C8E, 0xFE363C8F, 0x00000043, 0x00000003, SetNpcJumpscale, 0xFFFFFFFC, 0xF24A7A80, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000006, NpcJump1, 0xFFFFFFFC, 0xFE363C8D, 0xFE363C80, 0xFE363C8F, 0x0000000A, 0x00000043, 0x00000007, SpeakToNpc, 0xFFFFFFFC, 0x00040006, 0x00040001, 0x00000000, 0xFE363C82, 0xFE363C87, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000046, 0x00000001, D_8024F28C_7F9F9C, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFC, 0x00040006, 0x00040001, 0x00000005, 0xFE363C88, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000001, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFC, 0x00040006, 0x00040001, 0x00000005, 0xFE363C89, 0x0000000B, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000000, 0xFE363C8A, 0x00000013, 0x00000000, 0x00000043, 0x00000001, EnablePartnerAI, 0x0000000B, 0x00000002, 0xFE363C86, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C86, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000046, 0x00000001, D_8024ECEC_7F99FC, 0x00000043, 0x00000002, AddKeyItem, 0xFE363C86, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000002, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, dup_mac_00_LetterDelivery_RestoreNpcAnim, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024F5F4_7FA304 -.word 0x0000004B, 0x00000000 - -dlabel D_8024F5FC_7FA30C -.word 0x00000043, 0x0000000B, dup_mac_00_LetterDelivery_Init, 0x0000000D, 0x00840004, 0x00840001, 0x0000004B, 0x0000004C, 0x000200FF, 0x00020100, 0x00020101, 0x00020102, D_8024F5F4_7FA304, 0x00000046, 0x00000001, D_8024F2FC_7FA00C, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFFFFFF1F, 0x00000000, 0xFFFFFED4, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFFFFFF1F, 0x00000000, 0xFFFFFED4, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xF256FA80, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000023, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A82E7, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFFFFFF1F, 0x00000000, 0xFFFFFED4, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xF24F2A80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000007, 0x000000E6, 0x00000000, 0x00000043, 0x00000003, SetNpcJumpscale, 0x00000007, 0xF24A8080, 0x00000043, 0x00000005, GetNpcPos, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, NpcJump0, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000005, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000007, 0x00830003, 0x00000043, 0x00000005, NpcMoveTo, 0x00000007, 0xFFFFFF47, 0xFFFFFED9, 0x0000000F, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000007, 0x00830001, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000004, PlayerMoveTo, 0xFFFFFF1F, 0xFFFFFED4, 0x00000050, 0x00000043, 0x00000004, SetPlayerPos, 0xFFFFFF1F, 0x00000000, 0xFFFFFED4, 0x00000008, 0x00000001, 0x00000032, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00080007, 0x00000057, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000007, 0x00830004, 0x00830001, 0x00000000, 0x0002007E, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xF250BA80, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8A80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024F944_7FA654 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x0002007F, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C80, 0x00020080, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xFE363C80, 0x00020081, 0x00000018, 0x00000001, 0xFFFFFFCB, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020082, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020083, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C80, 0x00020084, 0x00000018, 0x00000001, 0x00000007, 0x0000000A, 0x00000002, 0xF8405C73, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020085, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C74, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020086, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020087, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x00020088, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x00020089, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x0002008A, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x0002008B, 0x00000018, 0x00000001, 0x0000003D, 0x00000024, 0x00000002, 0xFE363C80, 0x0002008C, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x0002008D, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x0002008E, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x0001002C, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830004, 0x00830001, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024FBA0_7FA8B0 -.word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000003, NpcFacePlayer, 0x00000007, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000007, 0x00830004, 0x00830001, 0x00000000, 0x0001002D, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, SetPlayerSpeed, 0xF24A8A80, 0x00000043, 0x00000004, PlayerMoveTo, 0xFFFFFF24, 0xFFFFFF06, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024FC44_7FA954 -.word 0x00000047, 0x00000005, D_8024FBA0_7FA8B0, 0x00000080, 0x0000002F, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024FC70_7FA980 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x0002008F, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C80, 0x00020090, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xFE363C80, 0x00020091, 0x00000018, 0x00000001, 0xFFFFFFCB, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020092, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020093, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C80, 0x00020094, 0x00000018, 0x00000001, 0x00000007, 0x0000000A, 0x00000002, 0xF8405C73, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020095, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C74, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020096, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020097, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x00020098, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x00020099, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x0002009A, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x0002009B, 0x00000018, 0x00000001, 0x0000003D, 0x00000024, 0x00000002, 0xFE363C80, 0x0002009C, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x0002009D, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x0002009E, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x0001002E, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830004, 0x00830001, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024FECC_7FABDC -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x0002009F, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C80, 0x000200A0, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xFE363C80, 0x000200A1, 0x00000018, 0x00000001, 0xFFFFFFCB, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000200A2, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000200A3, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C80, 0x000200A4, 0x00000018, 0x00000001, 0x00000007, 0x0000000A, 0x00000002, 0xF8405C73, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000200A5, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C74, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000200A6, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000200A7, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x000200A8, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x000200A9, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x000200AA, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x000200AB, 0x00000018, 0x00000001, 0x0000003D, 0x00000024, 0x00000002, 0xFE363C80, 0x000200AC, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x000200AD, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x000200AE, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x0001002F, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830304, 0x00830301, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80250128_7FAE38 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x000200AF, 0x00000024, 0x00000002, 0xFE363C81, 0x000200B0, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C80, 0x000200B1, 0x00000024, 0x00000002, 0xFE363C81, 0x000200B2, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xFE363C80, 0x000200B3, 0x00000024, 0x00000002, 0xFE363C81, 0x000200B4, 0x00000018, 0x00000001, 0xFFFFFFCB, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000200B5, 0x00000024, 0x00000002, 0xFE363C81, 0x000200B6, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000200B7, 0x00000024, 0x00000002, 0xFE363C81, 0x000200B8, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C80, 0x000200B9, 0x00000024, 0x00000002, 0xFE363C81, 0x000200BA, 0x00000018, 0x00000001, 0x00000007, 0x0000000A, 0x00000002, 0xF8405C9E, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000200BB, 0x00000024, 0x00000002, 0xFE363C81, 0x000200BC, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C9F, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000200BD, 0x00000024, 0x00000002, 0xFE363C81, 0x000200BE, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000200BF, 0x00000024, 0x00000002, 0xFE363C81, 0x000200C0, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x000200C1, 0x00000024, 0x00000002, 0xFE363C81, 0x000200C2, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x000200C3, 0x00000024, 0x00000002, 0xFE363C81, 0x000200C4, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x000200C5, 0x00000024, 0x00000002, 0xFE363C81, 0x000200C6, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x000200C7, 0x00000024, 0x00000002, 0xFE363C81, 0x000200C8, 0x00000018, 0x00000001, 0x0000003D, 0x00000024, 0x00000002, 0xFE363C80, 0x000200C9, 0x00000024, 0x00000002, 0xFE363C81, 0x000200CA, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x000200CB, 0x00000024, 0x00000002, 0xFE363C81, 0x000200CC, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x000200CD, 0x00000024, 0x00000002, 0xFE363C81, 0x000200CE, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00010030, 0x00000024, 0x00000002, 0xFE363C81, 0x00010031, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000000A, 0x00830204, 0x00830201, 0x00000005, 0xFE363C80, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000000B, 0x00840104, 0x00840101, 0x00000005, 0xFE363C81, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802504B4_7FB1C4 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x000200CF, 0x00000024, 0x00000002, 0xFE363C81, 0x000200D0, 0x00000024, 0x00000002, 0xFE363C82, 0x000200D1, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C80, 0x000200D2, 0x00000024, 0x00000002, 0xFE363C81, 0x000200D3, 0x00000024, 0x00000002, 0xFE363C82, 0x000200D4, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xFE363C80, 0x000200D5, 0x00000024, 0x00000002, 0xFE363C81, 0x000200D6, 0x00000024, 0x00000002, 0xFE363C82, 0x000200D7, 0x00000018, 0x00000001, 0xFFFFFFCB, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000200D8, 0x00000024, 0x00000002, 0xFE363C81, 0x000200D9, 0x00000024, 0x00000002, 0xFE363C82, 0x000200DA, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000200DB, 0x00000024, 0x00000002, 0xFE363C81, 0x000200DC, 0x00000024, 0x00000002, 0xFE363C82, 0x000200DD, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C80, 0x000200DE, 0x00000024, 0x00000002, 0xFE363C81, 0x000200DF, 0x00000024, 0x00000002, 0xFE363C82, 0x000200E0, 0x00000018, 0x00000001, 0xFFFFFFF9, 0x0000000A, 0x00000002, 0xF8405CA2, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000200E1, 0x00000024, 0x00000002, 0xFE363C81, 0x000200E2, 0x00000024, 0x00000002, 0xFE363C82, 0x000200E3, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000200E4, 0x00000024, 0x00000002, 0xFE363C81, 0x000200E5, 0x00000024, 0x00000002, 0xFE363C82, 0x000200E6, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0x00000007, 0x00000024, 0x00000002, 0xFE363C80, 0x000200E7, 0x00000024, 0x00000002, 0xFE363C81, 0x000200E8, 0x00000024, 0x00000002, 0xFE363C82, 0x000200E9, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x000200EA, 0x00000024, 0x00000002, 0xFE363C81, 0x000200EB, 0x00000024, 0x00000002, 0xFE363C82, 0x000200EC, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x000200ED, 0x00000024, 0x00000002, 0xFE363C81, 0x000200EE, 0x00000024, 0x00000002, 0xFE363C82, 0x000200EF, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x000200F0, 0x00000024, 0x00000002, 0xFE363C81, 0x000200F1, 0x00000024, 0x00000002, 0xFE363C82, 0x000200F2, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x000200F3, 0x00000024, 0x00000002, 0xFE363C81, 0x000200F4, 0x00000024, 0x00000002, 0xFE363C82, 0x000200F5, 0x00000018, 0x00000001, 0x0000003D, 0x00000024, 0x00000002, 0xFE363C80, 0x000200F6, 0x00000024, 0x00000002, 0xFE363C81, 0x000200F7, 0x00000024, 0x00000002, 0xFE363C82, 0x000200F8, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x000200F9, 0x00000024, 0x00000002, 0xFE363C81, 0x000200FA, 0x00000024, 0x00000002, 0xFE363C82, 0x000200FB, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x000200FC, 0x00000024, 0x00000002, 0xFE363C81, 0x000200FD, 0x00000024, 0x00000002, 0xFE363C82, 0x000200FE, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00010032, 0x00000024, 0x00000002, 0xFE363C81, 0x00010033, 0x00000024, 0x00000002, 0xFE363C82, 0x00010034, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000000C, 0x00840204, 0x00840201, 0x00000000, 0xFE363C80, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000000D, 0x00840004, 0x00840001, 0x00000000, 0xFE363C81, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000000E, 0x00840304, 0x00840301, 0x00000000, 0xFE363C82, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025095C_7FB66C -.word 0x00000046, 0x00000001, D_802504B4_7FB1C4, 0x00000046, 0x00000001, D_8024F5FC_7FA30C, 0x0000000B, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802509A4_7FB6B4 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x00020103, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C80, 0x00020104, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xFE363C80, 0x00020105, 0x00000018, 0x00000001, 0xFFFFFFCB, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020106, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020107, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C80, 0x00020108, 0x00000018, 0x00000001, 0x00000007, 0x0000000A, 0x00000002, 0xF8405C73, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00020109, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C74, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0002010A, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0002010B, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x0002010C, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x0002010D, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x0002010E, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x0002010F, 0x00000018, 0x00000001, 0x0000003D, 0x00000024, 0x00000002, 0xFE363C80, 0x00020110, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x00020111, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00020112, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00010035, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830204, 0x00830201, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80250C00_7FB910 -.word 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00840100, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00840101, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80250C44_7FB954 -.word 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00840200, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00840201, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80250C88_7FB998 -.word 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00840000, 0x00000008, 0x00000001, 0x00000006, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00840001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80250CCC_7FB9DC -.word 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00840300, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00840301, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80250D10_7FBA20 -.word 0x00000043, 0x00000003, FindKeyItem, 0x0000000A, 0xFE363C81, 0x00000043, 0x00000003, FindKeyItem, 0x0000000B, 0xFE363C82, 0x00000043, 0x00000003, FindKeyItem, 0x0000000C, 0xFE363C83, 0x00000043, 0x00000003, FindKeyItem, 0x0000000D, 0xFE363C84, 0x00000043, 0x00000003, FindKeyItem, 0x0000000E, 0xFE363C85, 0x0000000B, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830304, 0x00830301, 0x00000000, 0x00020114, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830304, 0x00830301, 0x00000000, 0x00020115, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C83, 0xFFFFFFFF, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830304, 0x00830301, 0x00000000, 0x00020116, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C84, 0xFFFFFFFF, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830304, 0x00830301, 0x00000000, 0x00020117, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C85, 0xFFFFFFFF, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830304, 0x00830301, 0x00000000, 0x00020118, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830304, 0x00830301, 0x00000000, 0x00020113, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80250EE4_7FBBF4 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8024F944_7FA654, 0x0000000C, 0x00000002, 0xF5DE0180, 0x00000060, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000007, 0x00000044, 0x00000001, D_8024FC44_7FA954, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80250F5C_7FBC6C -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8024FC70_7FA980, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80250F80_7FBC90 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8024FECC_7FABDC, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80250FA4_7FBCB4 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80250128_7FAE38, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80250FC8_7FBCD8 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80250128_7FAE38, 0x00000043, 0x00000003, BindNpcAux, 0xFFFFFFFF, D_80250C00_7FB910, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80251000_7FBD10 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_802504B4_7FB1C4, 0x00000043, 0x00000003, BindNpcAux, 0xFFFFFFFF, D_80250C44_7FB954, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80251038_7FBD48 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025095C_7FB66C, 0x00000043, 0x00000003, BindNpcAux, 0xFFFFFFFF, D_80250C88_7FB998, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80251070_7FBD80 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_802504B4_7FB1C4, 0x00000043, 0x00000003, BindNpcAux, 0xFFFFFFFF, D_80250CCC_7FB9DC, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802510A8_7FBDB8 -.word 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000060, 0x00000043, 0x00000005, SetNpcPos, 0x0000000F, 0x0000015E, 0x00000014, 0xFFFFFF9C, 0x00000013, 0x00000000, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_802509A4_7FB6B4, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80251100_7FBE10 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80250D10_7FBA20, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000007, D_8024EC90_7F99A0, 0xC3160000, 0x00000000, 0xC3898000, 0x00112D09, D_80250EE4_7FBBF4, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830001, 0x00830002, 0x00830003, 0x00830003, 0x00830001, 0x00830001, 0x00830006, 0x00830006, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00000000, 0x00000000, 0x00000000, 0x001A0013, 0x00000008, D_8024EB90_7F98A0, 0x435B0000, 0x00000000, 0xC2340000, 0x00012D09, D_80250F5C_7FBC6C, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000005, 0x000000DB, 0x00000000, 0xFFFFFFD3, 0x00000090, 0x00000000, 0xFFFFFFF6, 0x000000A3, 0x00000000, 0xFFFFFFCE, 0x000000F0, 0x00000000, 0x00000032, 0x00000113, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xFFFF8001, 0x00000000, 0x00000000, 0x00000000, 0x000000C8, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830001, 0x00830002, 0x00830003, 0x00830003, 0x00830001, 0x00830001, 0x00830006, 0x00830006, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00000000, 0x00000000, 0x00000000, 0x001A0014, 0x00000009, D_8024EC38_7F9948, 0xC3910000, 0x00000000, 0xC2F00000, 0x00012D09, D_80250F80_7FBC90, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0xFFFFFEDE, 0x00000000, 0xFFFFFF88, 0x00000025, 0x00000000, 0xFFFFFF6A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xFFFF8001, 0x00000000, 0x00000000, 0x00000000, 0x000000C8, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830301, 0x00830302, 0x00830303, 0x00830303, 0x00830301, 0x00830301, 0x00830306, 0x00830306, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00000000, 0x00000000, 0x00000000, 0x001A0015, 0x0000000A, D_8024EC90_7F99A0, 0xC2200000, 0x00000000, 0x42740000, 0x00412D09, D_80250FA4_7FBCB4, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830201, 0x00830202, 0x00830203, 0x00830203, 0x00830201, 0x00830201, 0x00830206, 0x00830206, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00000000, 0x00000000, 0x00000000, 0x001A0016, 0x0000000B, D_8024EC90_7F99A0, 0xC1700000, 0x00000000, 0x42700000, 0x00412D09, D_80250FC8_7FBCD8, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00840101, 0x00840102, 0x00840103, 0x00840103, 0x00840101, 0x00840101, 0x00840106, 0x00840106, 0x00840103, 0x00840103, 0x00840103, 0x00840103, 0x00840103, 0x00840103, 0x00840103, 0x00840103, 0x00000000, 0x00000000, 0x00000000, 0x001A0017, 0x0000000C, D_8024EC90_7F99A0, 0x43D50000, 0x41A00000, 0x43860000, 0x00012D09, D_80251000_7FBD10, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00840201, 0x00840202, 0x00840203, 0x00840203, 0x00840201, 0x00840201, 0x00840206, 0x00840206, 0x00840203, 0x00840203, 0x00840203, 0x00840203, 0x00840203, 0x00840203, 0x00840203, 0x00840203, 0x00000000, 0x00000000, 0x00000000, 0x001A0018, 0x0000000D, D_8024EC90_7F99A0, 0x43BE8000, 0x41A00000, 0x43A30000, 0x00012D09, D_80251038_7FBD48, 0x00000000, 0x00000000, 0x000000B4, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00840001, 0x00840002, 0x00840003, 0x00840003, 0x00840001, 0x00840001, 0x00840006, 0x00840006, 0x00840003, 0x00840003, 0x00840003, 0x00840003, 0x00840003, 0x00840003, 0x00840003, 0x00840003, 0x00000000, 0x00000000, 0x00000000, 0x001A0019, 0x0000000E, D_8024EC90_7F99A0, 0x43EE0000, 0x41A00000, 0x43A30000, 0x00012D09, D_80251070_7FBD80, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00840301, 0x00840302, 0x00840303, 0x00840303, 0x00840301, 0x00840301, 0x00840306, 0x00840306, 0x00840303, 0x00840303, 0x00840303, 0x00840303, 0x00840303, 0x00840303, 0x00840303, 0x00840303, 0x00000000, 0x00000000, 0x00000000, 0x001A001A, 0x0000000F, D_8024EC90_7F99A0, 0x43D40000, 0x41A00000, 0xC2AA0000, 0x00012D09, D_802510A8_7FBDB8, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830201, 0x00830202, 0x00830203, 0x00830203, 0x00830201, 0x00830201, 0x00830206, 0x00830206, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00000000, 0x00000000, 0x00000000, 0x001A001B, 0x00000010, D_8024EC90_7F99A0, 0x43BA8000, 0x00000000, 0x41B00000, 0x00012D09, D_80251100_7FBE10, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830301, 0x00830302, 0x00830303, 0x00830303, 0x00830301, 0x00830301, 0x00830306, 0x00830306, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00000000, 0x00000000, 0x00000000, 0x001A0020, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_00/7FD1A0.data.s b/ver/us/asm/data/world/area_mac/mac_00/7FD1A0.data.s deleted file mode 100644 index 185cbcfe30..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_00/7FD1A0.data.s +++ /dev/null @@ -1,33 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_80252490_7FD1A0 -.word 0x00000000, 0x00180018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_802524BC_7FD1CC -.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000, 0x00000000, 0x00170013, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_80252514_7FD224 -.word 0x3FC00000, 0x0000003C, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001 - -dlabel D_80252544_7FD254 -.word 0x00000043, 0x00000002, BasicAI_Main, D_80252514_7FD224, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80252564_7FD274 -.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_80252544_7FD254, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_80252544_7FD254, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010 - -dlabel D_802525BC_7FD2CC -.word 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x0000023A, 0x00000014, 0xFFFFFF6A, 0x00000043, 0x00000003, SetNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802525FC_7FD30C -.word 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x00000258, 0x00000014, 0xFFFFFF6F, 0x00000043, 0x00000003, SetNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025263C_7FD34C -.word 0x00A30000, 0x00A30001, 0x00A30004, 0xFFFFFFFF - -dlabel D_8025264C_7FD35C -.word 0x00A40000, 0x00A40002, 0x00A40006, 0xFFFFFFFF - -dlabel D_8025265C_7FD36C -.word 0x00000000, D_80252490_7FD1A0, 0x00000000, 0xC47A0000, 0x00000000, 0x00000F0D, 0x00000000, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, D_802524BC_7FD1CC, 0xC3160000, 0x00000000, 0xC3898000, 0x00112D09, 0x00000000, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830001, 0x00830002, 0x00830003, 0x00830003, 0x00830001, 0x00830001, 0x00830006, 0x00830006, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00000000, 0x00000000, 0x00000000, 0x001A0013, 0x00000002, D_80252564_7FD274, 0x435B0000, 0x00000000, 0xC2340000, 0x00012D09, 0x00000000, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000005, 0x000000DB, 0x00000000, 0xFFFFFFD3, 0x00000090, 0x00000000, 0xFFFFFFF6, 0x000000A3, 0x00000000, 0xFFFFFFCE, 0x000000F0, 0x00000000, 0x00000032, 0x00000113, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xFFFF8001, 0x00000000, 0x00000000, 0x00000000, 0x000000C8, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830001, 0x00830002, 0x00830003, 0x00830003, 0x00830001, 0x00830001, 0x00830006, 0x00830006, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00000000, 0x00000000, 0x00000000, 0x001A0014, 0x00000003, D_802524BC_7FD1CC, 0x43D40000, 0x41A00000, 0xC2AA0000, 0x00012D09, 0x00000000, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830201, 0x00830202, 0x00830203, 0x00830203, 0x00830201, 0x00830201, 0x00830206, 0x00830206, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00000000, 0x00000000, 0x00000000, 0x001A001B, 0x00000004, D_802524BC_7FD1CC, 0x439B0000, 0x42E60000, 0xC3C30000, 0x00112D09, D_802525BC_7FD2CC, 0x00000000, 0x00000000, 0x0000002D, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A30001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8025263C_7FD34C, 0x001A0010, 0x00000005, D_802524BC_7FD1CC, 0x43A50000, 0x42E60000, 0xC3CD0000, 0x00112D09, D_802525FC_7FD30C, 0x00000000, 0x00000000, 0x0000002D, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A40002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8025264C_7FD35C, 0x001A0011, 0x00000006, D_8025265C_7FD36C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_00/7FDF30.data.s b/ver/us/asm/data/world/area_mac/mac_00/7FDF30.data.s deleted file mode 100644 index 079cccb9ad..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_00/7FDF30.data.s +++ /dev/null @@ -1,9 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_80253220_7FDF30 -.word 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000043, 0x00000002, HidePlayerShadow, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFFFFFF9C, 0xFFFFFFF6, 0xFFFFFE8E, 0x00000043, 0x00000003, InterpPlayerYaw, 0x00000087, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000003, PlaySoundAtPlayer, 0x00000163, 0x00000000, 0x00000043, 0x00000002, func_802D286C, 0x00000100, 0x00000043, 0x00000007, func_802D2520, 0x00010002, 0x00000005, 0x00000002, 0x00000001, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000005, 0x00000001, 0x00000028, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000007, func_802D2520, 0x00010002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, HidePlayerShadow, 0x00000000, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253374_7FE084 -.word 0x00000043, 0x00000003, EnableNpcShadow, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000000, 0xFFFFFF9C, 0xFFFFFFDD, 0xFFFFFE8E, 0x00000043, 0x00000003, SetNpcYaw, 0x00000000, 0x00000087, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000000, 0x00000163, 0x00000000, 0x00000043, 0x00000003, func_802CFE2C, 0x00000000, 0x00000100, 0x00000043, 0x00000007, func_802CFD30, 0x00000000, 0x00000005, 0x00000002, 0x00000001, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000000, 0xFFFFFF9C, 0xFFFFFFF6, 0xFFFFFE8E, 0x00000043, 0x00000005, GetNpcPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000005, 0x00000001, 0x0000002D, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000005, SetNpcPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000007, func_802CFD30, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000000, 0xFFFFFF9C, 0x0000001E, 0xFFFFFE8E, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000003, EnableNpcShadow, 0x00000000, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFFFFFF9C, 0x0000001E, 0xFFFFFE8E, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFFFFFF9C, 0x0000001E, 0xFFFFFE8E, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xF24F2A80, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000056, 0x00000000, 0x00000046, 0x00000001, D_80253220_7FDF30, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, func_802D1270, 0xFFFFFFC4, 0xFFFFFEC0, 0xF24A8A80, 0x00000008, 0x00000001, 0x0000003F, 0x00000043, 0x00000004, func_802D1270, 0x00000050, 0xFFFFFFC4, 0xF24A8A80, 0x00000043, 0x00000004, func_802D1270, 0x000000B4, 0x00000000, 0xF24A8A80, 0x00000043, 0x00000004, func_802D1270, 0x0000028A, 0x00000000, 0xF24A8A80, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000046, 0x00000046, 0x00000001, D_80253374_7FE084, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000000, 0x00000200, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x0082000A, 0x00000043, 0x00000003, SetNpcSpeed, 0x00000000, 0xF24A8A80, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0x00000050, 0xFFFFFFC4, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0x000000B4, 0x00000000, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0x0000028A, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000046, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFFFFFFC4, 0x00000000, 0xFFFFFEC0, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xF253DA80, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0x00000190, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x00000190, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xF2518280, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7C80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000003, GotoMap, 0x80255B60, 0x00000004, 0x00000008, 0x00000001, 0x00000064, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_00/7FE550.data.s b/ver/us/asm/data/world/area_mac/mac_00/7FE550.data.s deleted file mode 100644 index e5dc8b70ea..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_00/7FE550.data.s +++ /dev/null @@ -1,117 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_80253840_7FE550 -.word 0x00000000, 0x00180018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_8025386C_7FE57C -.word 0x00000000, 0x00160018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010 - -dlabel D_80253898_7FE5A8 -.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000, 0x00000000, 0x00170013, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_802538F0_7FE600 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A00004, 0x00A00001, 0x00000000, 0x00010024, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253920_7FE630 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_802538F0_7FE600, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253944_7FE654 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A10004, 0x00A10001, 0x00000000, 0x00010025, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253974_7FE684 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80253944_7FE654, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253998_7FE6A8 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x009F0004, 0x009F0001, 0x00000000, 0x00010026, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802539C8_7FE6D8 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80253998_7FE6A8, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802539EC_7FE6FC -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00AF0004, 0x00AF0001, 0x00000000, 0x00010027, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253A1C_7FE72C -.word 0x00000043, 0x00000005, SetNpcPos, 0x00000006, 0x000001CC, 0x00000014, 0xFFFFFF7E, 0x00000043, 0x00000003, SetNpcYaw, 0x00000006, 0x0000005A, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_802539EC_7FE6FC, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253A70_7FE780 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00850005, 0x00850005, 0x00000000, 0x0001003B, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253AA0_7FE7B0 -.word 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00850002, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80253A70_7FE780, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253AD8_7FE7E8 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A30004, 0x00A30001, 0x00000000, 0x00010029, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253B08_7FE818 -.word 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000006C, 0x7FFFFE00, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80253AD8_7FE7E8, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253B44_7FE854 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A40006, 0x00A40002, 0x00000000, 0x0001002A, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253B74_7FE884 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80253B44_7FE854, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253B98_7FE8A8 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x00A20009, 0x00A20002, 0x00000000, 0x00010028, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253BC8_7FE8D8 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80253B98_7FE8A8, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253BEC_7FE8FC -.word 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00880004, 0x00880001, 0x00000000, 0x0001002B, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253C1C_7FE92C -.word 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000037, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000038, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000039, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000003A, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000003B, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000003C, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x0000003D, 0x7FFFFE00, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80253BEC_7FE8FC, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253CE8_7FE9F8 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0x0000001D, 0x00880004, 0x00880001, 0x00000000, 0x0001003A, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253D18_7FEA28 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80253CE8_7FE9F8, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80253D3C_7FEA4C -.word 0x00820000, 0x00820004, 0x00820008, 0x0082000A, 0x00820014, 0xFFFFFFFF - -dlabel D_80253D54_7FEA64 -.word 0x00000019, D_80253840_7FE550, 0x00000000, 0xC47A0000, 0x00000000, 0x00000F0D, 0x00000000, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00000000, 0x00000000, D_80253D3C_7FEA4C, 0x00000000 - -dlabel D_80253F44_7FEC54 -.word 0x00A00000, 0x00A00001, 0x00A00004, 0xFFFFFFFF - -dlabel D_80253F54_7FEC64 -.word 0x00A10000, 0x00A10001, 0x00A10004, 0xFFFFFFFF - -dlabel D_80253F64_7FEC74 -.word 0x009F0000, 0x009F0001, 0x009F0004, 0xFFFFFFFF - -dlabel D_80253F74_7FEC84 -.word 0x0000001A, D_8025386C_7FE57C, 0x428C0000, 0x00000000, 0xC1F00000, 0x00012D09, D_80253920_7FE630, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A00001, 0x00A00002, 0x00A00003, 0x00A00003, 0x00A00001, 0x00A00001, 0x00A00000, 0x00A00000, 0x00A00003, 0x00A00003, 0x00A00003, 0x00A00003, 0x00A00003, 0x00A00003, 0x00A00003, 0x00A00003, 0x00000000, 0x00000000, D_80253F44_7FEC54, 0x001A0065, 0x0000001B, D_8025386C_7FE57C, 0x42200000, 0x00000000, 0x41A00000, 0x00012D09, D_80253974_7FE684, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A10001, 0x00A10002, 0x00A10003, 0x00A10003, 0x00A10001, 0x00A10001, 0x00A10000, 0x00A10000, 0x00A10003, 0x00A10003, 0x00A10003, 0x00A10003, 0x00A10003, 0x00A10003, 0x00A10003, 0x00A10003, 0x00000000, 0x00000000, D_80253F54_7FEC64, 0x001A0066, 0x0000001C, D_8025386C_7FE57C, 0x41A00000, 0x00000000, 0xC20C0000, 0x00012D09, D_802539C8_7FE6D8, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x009F0001, 0x009F0002, 0x009F0003, 0x009F0003, 0x009F0001, 0x009F0001, 0x009F0000, 0x009F0000, 0x009F0003, 0x009F0003, 0x009F0003, 0x009F0003, 0x009F0003, 0x009F0003, 0x009F0003, 0x009F0003, 0x00000000, 0x00000000, D_80253F64_7FEC74, 0x001A0064 - -dlabel D_80254544_7FF254 -.word 0x00AF0000, 0x00AF0001, 0x00AF0004, 0xFFFFFFFF - -dlabel D_80254554_7FF264 -.word 0x00850000, 0x00850002, 0x00850005, 0xFFFFFFFF - -dlabel D_80254564_7FF274 -.word 0x00000006, D_80253840_7FE550, 0x44084000, 0x41A00000, 0x43160000, 0x00002D09, D_80253A1C_7FE72C, 0x00000000, 0x00000000, 0x0000001E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00AF0001, 0x00AF0002, 0x00AF0003, 0x00AF0003, 0x00AF0001, 0x00AF0001, 0x00AF0000, 0x00AF0000, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00000000, 0x00000000, D_80254544_7FF254, 0x001A0002, 0x0000001E, D_80253898_7FE5A8, 0x43FA0000, 0x41A00000, 0xC3020000, 0x00002D09, D_80253AA0_7FE7B0, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00850000, 0x00850001, 0x00850000, 0x00850000, 0x00850000, 0x00850000, 0x00850000, 0x00850000, 0x00850000, 0x00850000, 0x00850000, 0x00850000, 0x00850000, 0x00850000, 0x00850000, 0x00850000, 0x00000000, 0x00000000, D_80254554_7FF264, 0x001A0012 - -dlabel D_80254944_7FF654 -.word 0x00A20000, 0x00A20002, 0x00A20009, 0xFFFFFFFF - -dlabel D_80254954_7FF664 -.word 0x00A30000, 0x00A30001, 0x00A30004, 0xFFFFFFFF - -dlabel D_80254964_7FF674 -.word 0x00A40000, 0x00A40002, 0x00A40006, 0xFFFFFFFF - -dlabel D_80254974_7FF684 -.word 0x00000003, D_80253840_7FE550, 0x43BB8000, 0x42E60000, 0xC3DC0000, 0x00012D0D, D_80253BC8_7FE8D8, 0x00000000, 0x00000000, 0x000000E1, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A20002, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00A20000, 0x00000000, 0x00000000, D_80254944_7FF654, 0x001A000F, 0x00000004, D_80253840_7FE550, 0x439B0000, 0x42E60000, 0xC3C30000, 0x00012D0D, D_80253B08_7FE818, 0x00000000, 0x00000000, 0x0000002D, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A30001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80254954_7FF664, 0x001A0010, 0x00000005, D_80253840_7FE550, 0x43A50000, 0x42E60000, 0xC3CD0000, 0x00012D0D, D_80253B74_7FE884, 0x00000000, 0x00000000, 0x0000002D, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A40002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80254964_7FF674, 0x001A0011 - -dlabel D_80254F44_7FFC54 -.word 0x00880000, 0x00880001, 0x00880004, 0xFFFFFFFF - -dlabel D_80254F54_7FFC64 -.word 0x00000001, D_80253898_7FE5A8, 0x43D70000, 0x41A00000, 0xC3BA8000, 0x00112D09, D_80253C1C_7FE92C, 0x00000000, 0x00000000, 0x000000DF, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00880001, 0x00880002, 0x00880003, 0x00880003, 0x00880001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80254F44_7FFC54, 0x001A0012, 0x0000001D, D_80253898_7FE5A8, 0x43CD0000, 0x41A00000, 0xC3A00000, 0x00112D09, D_80253D18_7FEA28, 0x00000000, 0x00000000, 0x0000002B, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00880001, 0x00880002, 0x00880003, 0x00880003, 0x00880001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80254F44_7FFC54, 0x001A0012, 0x00000001, D_80253D54_7FEA64, 0x00000000, 0x00000003, D_80254974_7FF684, 0x00000000, 0x00000003, D_80253F74_7FEC84, 0x00000000, 0x00000002, D_80254564_7FF274, 0x00000000, 0x00000002, D_80254F54_7FFC64, 0x00000000, 0x00000009, 0x80251124, 0x00000000, 0x00000004, D_8024D7F8_7F8508, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_00/8000B0.data.s b/ver/us/asm/data/world/area_mac/mac_00/8000B0.data.s deleted file mode 100644 index acb3a5df5f..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_00/8000B0.data.s +++ /dev/null @@ -1,9 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_802553A0_8000B0 -.word 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000043, 0x00000002, HidePlayerShadow, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFFFFFF9C, 0xFFFFFFF6, 0xFFFFFE8E, 0x00000043, 0x00000003, InterpPlayerYaw, 0x00000087, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000003, PlaySoundAtPlayer, 0x00000163, 0x00000000, 0x00000043, 0x00000002, func_802D286C, 0x00000100, 0x00000043, 0x00000007, func_802D2520, 0x00010002, 0x00000005, 0x00000002, 0x00000001, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000005, 0x00000001, 0x00000028, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000007, func_802D2520, 0x00010002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, HidePlayerShadow, 0x00000000, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802554F4_800204 -.word 0x00000043, 0x00000003, EnableNpcShadow, 0x00000019, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000019, 0xFFFFFF9C, 0xFFFFFFDD, 0xFFFFFE8E, 0x00000043, 0x00000003, SetNpcYaw, 0x00000019, 0x00000087, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000019, 0x00000163, 0x00000000, 0x00000043, 0x00000003, func_802CFE2C, 0x00000019, 0x00000100, 0x00000043, 0x00000007, func_802CFD30, 0x00000019, 0x00000005, 0x00000002, 0x00000001, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000019, 0xFFFFFF9C, 0xFFFFFFF6, 0xFFFFFE8E, 0x00000043, 0x00000005, GetNpcPos, 0x00000019, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000005, 0x00000001, 0x0000002D, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000005, SetNpcPos, 0x00000019, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000007, func_802CFD30, 0x00000019, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000019, 0xFFFFFF9C, 0x0000001E, 0xFFFFFE8E, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000003, EnableNpcShadow, 0x00000019, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFFFFFF9C, 0x0000001E, 0xFFFFFE8E, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFFFFFF9C, 0x0000001E, 0xFFFFFE8E, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xF24F2A80, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000056, 0x00000000, 0x00000046, 0x00000001, D_802553A0_8000B0, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, func_802D1270, 0xFFFFFFC4, 0xFFFFFEC0, 0xF24A8A80, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000046, 0x00000046, 0x00000001, D_802554F4_800204, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000019, 0x00000200, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000019, 0x0082000A, 0x00000043, 0x00000003, SetNpcSpeed, 0x00000019, 0xF24A8A80, 0x00000043, 0x00000005, NpcMoveTo, 0x00000019, 0xFFFFFF9C, 0xFFFFFED4, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000019, 0x00820004, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000046, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFFFFFFC4, 0x00000000, 0xFFFFFEC0, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFFFFFFC4, 0x00000000, 0xFFFFFEC0, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000008, 0x00000001, 0x00000050, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000019, 0x00820014, 0x00820004, 0x00000000, 0x00010023, 0x00000008, 0x00000001, 0x0000000A, 0x00000058, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlayerFaceNpc, 0x00000019, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000059, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000019, 0x0082000A, 0x00000043, 0x00000005, NpcMoveTo, 0x00000019, 0x0000003C, 0xFFFFFF9C, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000019, 0x00000200, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000019, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000044, 0x00000001, D_8024FC44_7FA954, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_01/806F50.data.s b/ver/us/asm/data/world/area_mac/mac_01/806F50.data.s deleted file mode 100644 index f3ad2d63a9..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_01/806F50.data.s +++ /dev/null @@ -1,36 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_802466D0_806F50 -.word 0xC4160000, 0x00000000, 0x00000000, 0x42B40000, 0x44160000, 0x00000000, 0x00000000, 0x43870000, 0x00000000, 0x00000000, 0xC40E8000, 0x43340000, 0x00000000, 0x00000000, 0x44160000, 0x00000000, 0xC3C80000, 0x00000000, 0x00000000, 0x42B40000, 0x43840000, 0x41D80000, 0x43AF0000, 0x43340000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80246EF8_807778, D_802466D0_806F50, 0x00000006, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, func_80200000, 0x00190001 - -dlabel D_80246770_806FF0 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0xFFFFFF80, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x0000003F, 0x00000001, 0x00000008, 0x00000016, 0x00000001, 0x00000060, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x0000003F, 0x00000000, 0x00000008, 0x00000021, 0x00000002, 0xFFFFFFF3, 0x00000005, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x0000004A, 0x00000000, 0x00000008, 0x0000001C, 0x00000000, 0x00000044, 0x00000001, 0x802488A8, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x0000007C, 0x00000001, 0x00000008, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000021, 0x00000002, 0xFFFFFFF3, 0x00000005, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x0000004A, 0x00000000, 0x00000008, 0x0000001C, 0x00000000, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, EnableMusicProximityMix, 0x00000000, 0x00000043, 0x00000004, AdjustMusicProximityMix, 0x00000000, 0x00000002, 0x00000002, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x0000008A, 0x00000000, 0x00000008, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x00000088, 0x00000000, 0x00000008, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80246950_8071D0 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000000, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x802626B0, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802469AC_80722C -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000001, 0x00000044, 0x00000001, ExitWalk, 0x0000000A, 0x00000002, 0xF8405B81, 0x00000000, 0x00000024, 0x00000002, 0xF8405B81, 0x00000001, 0x00000043, 0x00000003, FadeOutMusic, 0x00000000, 0x000005DC, 0x00000043, 0x00000004, GotoMapSpecial, 0x802626C0, 0x00000001, 0x00000006, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GotoMap, 0x802626B8, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80246A70_8072F0 -.word 0x0000009E, 0x0000009F, 0xFFFFFFFF - -dlabel D_80246A7C_8072FC -.word 0x000000A1, 0x000000A2, 0xFFFFFFFF - -dlabel D_80246A88_807308 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000005, 0x00000024, 0x00000002, 0xFE363C82, D_80246A70_8072F0, 0x00000024, 0x00000002, 0xFE363C83, D_80246A7C_8072FC, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000021, 0x00000002, 0xFFFFFF81, 0x0000005F, 0x00000043, 0x00000003, GotoMap, 0x802626D0, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000003, GotoMap, 0x802626C8, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80246B7C_8073FC -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000003, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x802626D8, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80246BD8_807458 -.word 0x00000047, 0x00000005, D_80246950_8071D0, 0x00080000, 0x00000001, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80246A88_807308, 0x00000100, 0x00000005, 0x00000001, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000060, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000047, 0x00000005, D_802469AC_80722C, 0x00080000, 0x00000000, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80246B7C_8073FC, 0x00080000, 0x00000006, 0x00000001, 0x00000000, 0x00000047, 0x00000005, 0x80259AD0, 0x00000100, 0x00000059, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80246C94_807514 -.word 0x00000043, 0x00000002, GetLoadType, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000044, 0x00000001, EnterSavePoint, 0x00000044, 0x00000001, D_80246BD8_807458, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000005, 0x7FFFFE00, 0x00000043, 0x00000006, RotateGroup, 0x000000A3, 0x00000050, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000006, RotateGroup, 0x000000A0, 0x00000050, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000043, 0x00000002, UseDoorSounds, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, D_80246BD8_807458, 0x00000046, 0x00000001, EnterWalk, 0x00000043, 0x00000005, MakeLerp, 0x00000050, 0x00000000, 0x0000000A, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateGroup, 0x000000A3, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000006, RotateGroup, 0x000000A0, 0xFE363C80, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000005, 0x000001C6, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x00000005, 0x7FFFFE00, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000016, 0x00000001, 0x00000004, 0x00000044, 0x00000001, 0x80261880, 0x00000016, 0x00000001, 0x00000005, 0x00000046, 0x00000001, 0x8025A004, 0x00000044, 0x00000001, D_80246BD8_807458, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, D_80246BD8_807458, 0x00000044, 0x00000001, EnterWalk, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80246EF8_807778 -.word 0x00000024, 0x00000002, 0xF5DE0329, 0x00000001, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x0000005A, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xF971888E, 0x00000000, 0x00000024, 0x00000002, 0xF971888F, 0x00000000, 0x00000024, 0x00000002, 0xF9718890, 0x00000000, 0x00000024, 0x00000002, 0xF9718891, 0x00000000, 0x00000024, 0x00000002, 0xF9718892, 0x00000000, 0x00000024, 0x00000002, 0xF9718893, 0x00000000, 0x00000024, 0x00000002, 0xF9718894, 0x00000000, 0x00000024, 0x00000002, 0xF9718895, 0x00000000, 0x0000000C, 0x00000002, 0xF5DE0180, 0x00000060, 0x00000044, 0x00000001, 0x80248070, 0x00000012, 0x00000000, 0x00000043, 0x00000003, EnableGroup, 0x00000091, 0x00000000, 0x00000013, 0x00000000, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0xFFFFFF80, 0x00000043, 0x00000003, MakeNpcs, 0x00000000, 0x8025FA2C, 0x0000001B, 0x00000001, 0x00000060, 0x00000043, 0x00000003, MakeNpcs, 0x00000000, 0x80261830, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000043, 0x00000003, MakeNpcs, 0x00000000, 0x8025EFF0, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000043, 0x00000003, MakeNpcs, 0x00000000, 0x8025F044, 0x00000016, 0x00000001, 0xFFFFFFB6, 0x00000043, 0x00000003, MakeNpcs, 0x00000000, 0x8025F080, 0x00000021, 0x00000002, 0xFFFFFFF3, 0x00000005, 0x00000043, 0x00000003, MakeNpcs, 0x00000000, 0x8025F0BC, 0x00000016, 0x00000001, 0x0000003C, 0x00000043, 0x00000003, MakeNpcs, 0x00000000, 0x8025F0F8, 0x0000001C, 0x00000000, 0x00000043, 0x00000003, MakeNpcs, 0x00000000, 0x8025EFA8, 0x00000023, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0xFFFFFF9C, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000013, 0x7FFFFE00, 0x00000013, 0x00000000, 0x00000044, 0x00000001, 0x8025A2F0, 0x00000044, 0x00000001, 0x802473C8, 0x00000044, 0x00000001, 0x80247D18, 0x00000044, 0x00000001, 0x80248818, 0x00000044, 0x00000001, 0x80248428, 0x00000044, 0x00000001, D_80246770_806FF0, 0x00000043, 0x00000002, UseDoorSounds, 0x00000002, 0x00000043, 0x00000002, UseAdvancedDoorSounds, 0x00000000, 0x00000044, 0x00000001, D_80246C94_807514, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, EnableTexPanning, 0x0000002D, 0x00000001, 0x00000056, 0x00000000, 0x0000004D, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFF9C, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFF38, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00010000, 0x00000013, 0x00000000, 0x0000000C, 0x00000002, 0xFE363C81, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00010000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000003, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000003, 0x00000001, 0xFE363C81, 0xFE363C81, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000057, 0x00000000, 0x00000047, 0x00000005, 0x8024F27C, 0x00000100, 0x0000004E, 0x00000001, 0x00000000, 0x00000044, 0x00000001, 0x8025023C, 0x00000044, 0x00000001, 0x80262604, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8280, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_01/807C00.data.s b/ver/us/asm/data/world/area_mac/mac_01/807C00.data.s deleted file mode 100644 index 62d66009bc..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_01/807C00.data.s +++ /dev/null @@ -1,48 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_80247380_807C00 -.word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0x001D0170, 0x000000A0, 0x00000028, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x0000000C, 0x00000002, 0xF5DE0180, 0x00000060, 0x00000043, 0x00000007, MakeEntity, Entity_SavePoint, 0x00000118, 0x00000050, 0xFFFFFF7E, 0x00000000, 0x80000000, 0x00000013, 0x00000000, 0x00000047, 0x00000005, D_80247380_807C00, 0x00000100, 0x00000033, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80247430_807CB0 -.word 0x00000026, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000002F, 0x00000002, 0xFE363C81, 0xF24B2E80, 0x00000043, 0x00000005, TranslateModel, 0x00000050, 0xFE363C81, 0x00000000, 0x00000000, 0x00000026, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000002E, 0x00000002, 0xFE363C81, 0xF24A7E4D, 0x00000043, 0x00000006, RotateModel, 0x00000050, 0xFE363C81, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x004B004C, 0x003F0040, 0x00410042, 0x00430046, 0x00480049, 0x0047004D, 0x0044003D, 0x003E0000 - -dlabel D_802474DC_807D5C -.word 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C80, 0x00000043, 0x00000006, RotateModel, 0x00000044, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000003D, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000003E, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000003F, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000040, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000041, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000042, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000043, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000046, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000048, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000049, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000047, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000004B, 0xFE363C81, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000004C, 0xFE363C81, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000004D, 0xFE363C81, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x0000005A, 0x00000043, 0x00000003, EnableGroup, 0x0000004F, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000003, EnableGroup, 0x0000004F, 0x00000001, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024772C_807FAC -.word 0x00000043, 0x00000006, RotateModel, 0x00000050, 0xFE363C80, 0x00000001, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024775C_807FDC -.word 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000062, 0x00000001, 0x00000046, 0x00000001, 0x80257844, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000062, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802477CC_80804C -.word 0x00000043, 0x00000006, RotateModel, 0x0000006D, 0xFE363C80, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00650066, 0x00670069, 0x006A006B, 0x00640000 - -dlabel D_8024780C_80808C -.word 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000002E, 0x00000002, 0xFE363C81, 0xF24A7E80, 0x00000043, 0x00000006, RotateModel, 0x00000064, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000065, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000066, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000067, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000069, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000006A, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x0000006B, 0xFE363C81, 0x00000001, 0x00000000, 0x00000000, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x0000005A, 0x00000043, 0x00000003, EnableGroup, 0x00000076, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000003, EnableGroup, 0x00000076, 0x00000001, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024796C_8081EC -.word 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000083, 0x00000001, 0x00000024, 0x00000002, 0xFAA2B58F, 0x00000001, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000083, 0x00000000, 0x00000024, 0x00000002, 0xFAA2B58F, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802479F0_808270 -.word 0x00000043, 0x00000006, RotateModel, 0x00000027, 0xFE363C80, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80247A20_8082A0 -.word 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C80, 0x00000029, 0x00000002, 0xFE363C81, 0x00000002, 0x00000043, 0x00000006, RotateGroup, 0x00000026, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80247A70_8082F0 -.word 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF9A, 0x00000046, 0x00000001, 0x802502AC, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000021, 0x00000002, 0x0000003C, 0x0000003D, 0x00000044, 0x00000001, 0x80252EB0, 0x00000021, 0x00000002, 0xFFFFFFD8, 0x0000005F, 0x0000000A, 0x00000002, 0xF5DE0180, 0x0000003C, 0x00000022, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C7D, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x0003003C, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000001B, 0x00000001, 0x00000060, 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0x0001003F, 0x000000A0, 0x00000028, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000031, 0x00000001, 0x00000024, 0x00000002, 0xFAA2B58A, 0x00000001, 0x00000016, 0x00000001, 0x00000001, 0x00000016, 0x00000001, 0x00000002, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000031, 0x00000000, 0x00000024, 0x00000002, 0xFAA2B58A, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80247C28_8084A8 -.word 0x0000004D, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x0000002C, 0x00000002, 0xFE363C80, 0xF24A8680, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000168, 0x0000002D, 0x00000002, 0xFE363C80, 0xF2501A80, 0x00000013, 0x00000000, 0x00000043, 0x00000006, RotateGroup, 0x00000039, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000006, RotateGroup, 0x0000003C, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80247CF0_808570 -.word 0x00000003, 0x00000004, 0x00000006, 0xFFFFFFFF - -dlabel D_80247D00_808580 -.word 0x00000010, 0x00000007, 0xFFFFFFFF - -dlabel D_80247D0C_80858C -.word 0x00000000, 0x0000001D, 0xFFFFFFFF, 0x00000043, 0x0000000A, MakeDoorAdvanced, 0x00000002, D_80247430_807CB0, D_802474DC_807D5C, D_8024772C_807FAC, D_8024775C_807FDC, 0x00000016, 0x0000001C, 0x00000063, D_80247CF0_808570, 0x00000043, 0x0000000A, MakeDoorAdvanced, 0x00000002, D_802477CC_80804C, D_8024780C_80808C, 0x00000000, D_8024796C_8081EC, 0x00000021, 0x00000022, 0x00000084, D_80247D00_808580, 0x00000043, 0x0000000A, MakeDoorAdvanced, 0x00000002, D_802479F0_808270, D_80247A20_8082A0, 0x00000000, D_80247A70_8082F0, 0x00000052, 0x00000054, 0x00000035, D_80247D0C_80858C, 0x00000044, 0x00000001, D_80247C28_8084A8, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000044, 0x00000001, D_8024775C_807FDC, 0x00000044, 0x00000001, D_8024796C_8081EC, 0x00000044, 0x00000001, D_80247A70_8082F0, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_01/808680.data.s b/ver/us/asm/data/world/area_mac/mac_01/808680.data.s deleted file mode 100644 index 40d6134ff6..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_01/808680.data.s +++ /dev/null @@ -1,24 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_80247E00_808680 -.word 0x00270017, 0x00270018, 0x00270002, 0x00270019, 0x00270004, 0x00270005, 0x00270006, 0x00270007, 0x00270008, 0x00270009, 0x0027000A, 0x0027000B, 0x0027000C, 0x0027000D, 0x0027000E, 0x0027000F, 0x00270010, 0x00270011, 0x00270012, 0x00270013, 0x00270014, 0x00270015, 0x0027001A - -dlabel D_80247E5C_8086DC -.word 0x00000083, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80247E74_8086F4 -.word 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000003, 0x00000016, 0x00000001, 0x00000004, 0x00000016, 0x00000001, 0x00000001, 0x00000014, 0x00000001, 0xFE363C82, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF8405C84, 0x00000001, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000040, 0x7FFFFE00, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xF8405C85, 0x00000001, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000003F, 0x7FFFFE00, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xF8405C86, 0x00000001, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000003E, 0x7FFFFE00, 0x00000023, 0x00000000, 0x00000043, 0x00000002, func_80240044_8008C4, 0xFE363C82, 0x00000016, 0x00000001, 0x00000002, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80247F88_808808 -.word 0x0000011F, 0x00000032, 0x0024008B, 0x000000E6, 0x00000064, 0x00240087, 0x000000E1, 0x0000004B, 0x0024005E, 0x000000EE, 0x0000004B, 0x00240069, 0x000000E3, 0x00000064, 0x00240080, 0x000000EB, 0x0000004B, 0x0024005C, 0x000000E9, 0x00000064, 0x0024006D, 0x0000010A, 0x00000032, 0x0024005A, 0x000000E0, 0x0000004B, 0x00240068, 0x00000143, 0x00000064, 0x0024006F, 0x000000F4, 0x00000064, 0x00240093, 0x0000014A, 0x00000096, 0x00240071, 0x0000014D, 0x00000096, 0x00240072, 0x0000010B, 0x00000064, 0x00240065, 0x00000130, 0x00000096, 0x00240075, 0x00000108, 0x000000C8, 0x0024006C - -dlabel D_80248048_8088C8 -.word 0x00900040, 0x008F003F, 0x008E003E - -dlabel D_80248054_8088D4 -.word 0x00000001, 0x00A70001, 0x00A70004, D_80247E74_8086F4, 0x00000000, 0x00000000, D_80247E00_808680, 0x0000000C, 0x00000002, 0xF5DE0180, 0xFFFFFFCB, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x0000000C, 0x00000002, 0xF5DE0180, 0xFFFFFFF3, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x0000000C, 0x00000002, 0xF5DE0180, 0x00000007, 0x00000004, 0x00000001, 0x00000003, 0x00000013, 0x00000000, 0x0000000C, 0x00000002, 0xF5DE0180, 0x00000029, 0x00000004, 0x00000001, 0x00000004, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF8405C14, 0x00000001, 0x00000024, 0x00000002, 0xF8405C13, 0x00000001, 0x00000024, 0x00000002, 0xF8405C12, 0x00000001, 0x00000003, 0x00000001, 0x00000004, 0x00000024, 0x00000002, 0xF8405C11, 0x00000001, 0x00000024, 0x00000002, 0xF8405C10, 0x00000001, 0x00000024, 0x00000002, 0xF8405C0F, 0x00000001, 0x00000003, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xF8405C0E, 0x00000001, 0x00000024, 0x00000002, 0xF8405C0D, 0x00000001, 0x00000024, 0x00000002, 0xF8405C0C, 0x00000001, 0x00000003, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xF8405C0B, 0x00000001, 0x00000024, 0x00000002, 0xF8405C0A, 0x00000001, 0x00000024, 0x00000002, 0xF8405C09, 0x00000001, 0x00000003, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xF8405C08, 0x00000001, 0x00000024, 0x00000002, 0xF8405C07, 0x00000001, 0x00000024, 0x00000002, 0xF8405C06, 0x00000001, 0x00000024, 0x00000002, 0xF8405C05, 0x00000001, 0x00000043, 0x00000001, func_802400C8_800948, 0x00000024, 0x00000002, 0xFD050F82, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000000, 0x00000024, 0x00000002, 0xF8405C84, 0x00000000, 0x00000024, 0x00000002, 0xF8405C85, 0x00000000, 0x00000024, 0x00000002, 0xF8405C86, 0x00000000, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xF8405C86, 0x00000001, 0x00000013, 0x00000000, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xF8405C85, 0x00000001, 0x00000013, 0x00000000, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xF8405C84, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, MakeShop, D_80248048_8088C8, 0xFE363C82, D_80247E5C_8086DC, 0x00000000, 0x00000043, 0x00000002, MakeShopOwner, D_80248054_8088D4, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000001, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000003, 0x0000000A, 0x00000002, 0xF8405C86, 0x00000001, 0x00000043, 0x00000002, func_80240044_8008C4, 0x00000002, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x0000000A, 0x00000002, 0xF8405C85, 0x00000001, 0x00000043, 0x00000002, func_80240044_8008C4, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000001, 0x0000000A, 0x00000002, 0xF8405C84, 0x00000001, 0x00000043, 0x00000002, func_80240044_8008C4, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248420_808CA0 -.word 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetCustomGfxBuilders, 0x00000002, func_802403C0_800C40, func_802405E8_800E68, 0x00000043, 0x00000004, SetModelCustomGfx, 0x00000032, 0x00000002, 0xFFFFFFFF, 0x00000043, 0x00000003, EnableModel, 0x00000032, 0x00000000, 0x00000043, 0x00000004, SetCustomGfxBuilders, 0x00000003, func_80240628_800EA8, 0x00000000, 0x00000043, 0x00000004, SetModelCustomGfx, 0x0000002F, 0x00000003, 0xFFFFFFFF, 0x00000043, 0x00000004, SetModelFlags, 0x0000002F, 0x00000100, 0x00000001, 0x00000043, 0x00000004, SetModelFlags, 0x0000002E, 0x00000100, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_01/808D70.data.s b/ver/us/asm/data/world/area_mac/mac_01/808D70.data.s deleted file mode 100644 index de587049ec..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_01/808D70.data.s +++ /dev/null @@ -1,27 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_802484F0_808D70 -.word 0x0000000B, 0x00000002, 0xF5DE02DC, 0x00000009, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0xF8405CB3, 0x00000027, 0x00000002, 0xFE363C81, 0xF8405CB4, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000002, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xF8405CB3, 0x00000001, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xF8405CB4, 0x00000001, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xF8405CB3, 0x00000027, 0x00000002, 0xFE363C80, 0xF8405CB4, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xF840622A, 0x00000001, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802485E8_808E68 -.word 0x00170000, 0x00180000, 0xFFFFFF80, 0x00170001, 0x00180001, 0xFFFFFF96, 0x00170002, 0x00180002, 0xFFFFFF9F, 0x00170003, 0x00180003, 0xFFFFFFB5, 0x00170004, 0x00180004, 0xFFFFFFBD, 0x00170005, 0x00180005, 0xFFFFFFC5, 0x00170006, 0x00180006, 0xFFFFFFCC, 0x00170007, 0x00180007, 0xFFFFFFD0, 0x00170008, 0x00180008, 0xFFFFFFDF, 0x00170009, 0x00180009, 0xFFFFFFF1, 0x0017000A, 0x0018000A, 0xFFFFFFF6, 0x0017000B, 0x0018000B, 0xFFFFFFFA, 0x0017000C, 0x0018000C, 0xFFFFFFFD, 0x0017000D, 0x0018000D, 0x00000002, 0x0017000E, 0x0018000E, 0x00000005, 0x0017000F, 0x0018000F, 0x0000000B, 0x00170010, 0x00180010, 0x00000018, 0x00170011, 0x00180011, 0x00000028, 0x00170012, 0x00180012, 0x0000002B, 0x00170013, 0x00180013, 0x00000032, 0x00170014, 0x00180014, 0x00000039, 0x00170015, 0x00180015, 0x0000003D, 0x00170016, 0x00180016, 0x0000003E, 0x00170017, 0x00180017, 0x00000057, 0x00170018, 0x00180018, 0x0000005C - -dlabel D_80248714_808F94 -.word 0x00170019, 0x00180019, 0x00000060 - -dlabel D_80248720_808FA0 -.word 0x00000043, 0x00000001, func_80240ED8_801758, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000001, func_80240E80_801700, 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0xFE363C80, 0x000000A0, 0x00000028, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_802484F0_808D70, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024879C_80901C -.word 0x00000043, 0x00000001, func_80240ED8_801758, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000001, func_80240E80_801700, 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0xFE363C81, 0x000000A0, 0x00000028, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_802484F0_808D70, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80248720_808FA0, 0x00000100, 0x00000010, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_8024879C_80901C, 0x00000100, 0x00000011, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248860_8090E0 -.word 0xC33E0000, 0xC3520000, 0x42C80000, 0x42F00000, 0x00000002, 0xFAA2B58A - -dlabel D_80248878_8090F8 -.word 0xC3160000, 0x43A50000, 0x42DC0000, 0x43020000, 0x00000008, 0xFAA2B58B - -dlabel D_80248890_809110 -.word 0x43850000, 0x43B90000, 0x43480000, 0x435C0000, 0x00000005, 0xFAA2B58C, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000043, 0x00000002, EnableMusicProximityMix, 0x00000000, 0x0000000A, 0x00000002, 0xFAA2B58E, 0x00000000, 0x00000024, 0x00000002, 0xFAA2B58E, 0x00000001, 0x00000056, 0x00000000, 0x00000043, 0x00000002, mac_01_MonitorMusicProximityTrigger, D_80248860_8090E0, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, mac_01_MonitorMusicProximityTrigger, D_80248878_8090F8, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, mac_01_MonitorMusicProximityTrigger, D_80248890_809110, 0x00000057, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_01/8091F0.data.s b/ver/us/asm/data/world/area_mac/mac_01/8091F0.data.s deleted file mode 100644 index e42591a980..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_01/8091F0.data.s +++ /dev/null @@ -1,642 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_80248970_8091F0 -.word 0x3FC00000, 0x0000003C, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001 - -dlabel D_802489A0_809220 -.word 0x00000043, 0x00000002, BasicAI_Main, D_80248970_8091F0, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802489C0_809240 -.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_802489A0_809220, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_802489A0_809220, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010 - -dlabel D_80248A18_809298 -.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001 - -dlabel D_80248A48_8092C8 -.word 0x00000043, 0x00000002, mac_01_PatrolNoAttackAI_Main, D_80248A18_809298, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248A68_8092E8 -.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_80248A48_8092C8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_80248A48_8092C8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010 - -dlabel D_80248AC0_809340 -.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000, 0x00000000, 0x00170013, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_80248B18_809398 -.word 0x00000000, 0x00170016, 0x00000000, 0x00000000, 0x00000000, EnemyNpcHit, 0x00000000, EnemyNpcDefeat, 0x00000000, 0x00000000, 0x000E0001 - -dlabel D_80248B44_8093C4 -.word 0x00000000, 0x00180018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_80248B70_8093F0 -.word 0x00000000, 0x00140014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_80248B9C_80941C -.word 0x00000000, 0x00280018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_80248BC8_809448 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248BD8_809458 -.word 0x00000000, 0x002A001A, D_80248BC8_809448, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_80248C04_809484 -.word 0x00000000, 0x00180018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel mac_01_varStash -.word 0x00000000 - -dlabel D_80248C34_8094B4 -.word 0x00000043, 0x00000004, ShowGotItem, 0xFE363C80, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, ShowGotItem, 0xFE363C80, 0x00000001, 0x00000010, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel mac_01_Quizmo_Answers -.byte 0x02, 0x01, 0x01, 0x02, 0x02, 0x00, 0x02, 0x00, 0x02, 0x01, 0x00, 0x02, 0x01, 0x01, 0x00, 0x02, 0x00, 0x02, 0x01, 0x00, 0x00, 0x02, 0x01, 0x00, 0x02, 0x01, 0x01, 0x02, 0x02, 0x01, 0x01, 0x01, 0x00, 0x02, 0x02, 0x02, 0x02, 0x00, 0x01, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, 0x00, 0x00, 0x01, 0x01, 0x00, 0x01, 0x02, 0x01, 0x00, 0x02, 0x02, 0x01, 0x02, 0x00, 0x02, 0x02, 0x01, 0x01, 0x01 - -dlabel mac_01_Quizmo_Requirements -.word 0xFFFFFF94, 0x00000000, 0xFFFFFFB4, 0x0000000A, 0xFFFFFFCA, 0x00000014, 0xFFFFFFF2, 0x0000001E, 0x00000006, 0x00000025, 0x00000027, 0x0000002C, 0x0000003A, 0x00000034, 0x00000058, 0x0000003C, 0x00000060, 0x00000040, 0x00000000, 0x00000040 - -dlabel D_80248D24_8095A4 -.word 0x00000043, 0x00000001, mac_01_Quizmo_ShouldQuizmoLeave, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFF, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x0000012C, 0x00000043, 0x00000003, SetNpcJumpscale, 0xFFFFFFFF, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00AF000C, 0x00000008, 0x00000001, 0x00000028, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80248DD4_809654 -.word 0x00000043, 0x00000003, mac_01_Quizmo_GetCamVfov, 0x00000000, 0xF4ACD480, 0x00000043, 0x00000003, mac_01_Quizmo_SetCamVfov, 0x00000000, 0x00000019, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, GetCamType, 0x00000000, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetCamType, 0x00000000, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, GetCamDistance, 0x00000000, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000026, 0x00000002, 0xFE363C80, 0x00000172, 0x00000012, 0x00000000, 0x00000026, 0x00000002, 0xFE363C80, 0xFFFFFE8E, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C80, 0x00000043, 0x00000004, GetCamPitch, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000026, 0x00000002, 0xFE363C80, 0xF24AAE80, 0x00000026, 0x00000002, 0xFE363C81, 0xF24A5280, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001E, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetCamDistance, 0x00000000, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000026, 0x00000002, 0xFE363C80, 0x00000011, 0x00000012, 0x00000000, 0x00000026, 0x00000002, 0xFE363C80, 0xFFFFFFEF, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C80, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024906C_8098EC -.word 0x00000043, 0x00000003, mac_01_Quizmo_SetCamVfov, 0x00000000, 0xF4ACD480, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802490A8_809928 -.word 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000006, mac_01_Quizmo_AddViewRelativeOffset, 0xF4ACD481, 0xF4ACD483, 0x00000053, 0xFE363C80, 0xFE363C81, 0x00000056, 0x00000000, 0x00000026, 0x00000002, 0xFE363C82, 0x00000000, 0x00000005, 0x00000001, 0x0000003C, 0x00000026, 0x00000002, 0xFE363C83, 0xFE363C80, 0x00000026, 0x00000002, 0xFE363C84, 0xFE363C81, 0x0000002E, 0x00000002, 0xFE363C83, 0xFE363C82, 0x0000002E, 0x00000002, 0xFE363C84, 0xFE363C82, 0x0000002F, 0x00000002, 0xFE363C83, 0x0000003C, 0x0000002F, 0x00000002, 0xFE363C84, 0x0000003C, 0x0000002C, 0x00000002, 0xFE363C83, 0xF4ACD481, 0x0000002C, 0x00000002, 0xFE363C84, 0xF4ACD483, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C83, 0xF4ACD482, 0xFE363C84, 0x0000002C, 0x00000002, 0xFE363C82, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000026, 0x00000002, 0xFE363C83, 0xFE363C80, 0x00000026, 0x00000002, 0xFE363C84, 0xFE363C81, 0x0000002C, 0x00000002, 0xFE363C83, 0xF4ACD481, 0x0000002C, 0x00000002, 0xFE363C84, 0xF4ACD483, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C83, 0xF4ACD482, 0xFE363C84, 0x00000057, 0x00000000, 0x00000043, 0x00000001, mac_01_Quizmo_SpinPlayer, 0x00000043, 0x00000004, func_802D2884, 0xF4ACD481, 0xF4ACD483, 0x00000000, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80249258_809AD8 -.word 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000043, 0x00000006, mac_01_Quizmo_AddViewRelativeOffset, 0xFE363C8A, 0xFE363C8C, 0x0000006C, 0xFE363C80, 0xFE363C81, 0x00000026, 0x00000002, 0xFE363C85, 0xF4ACD482, 0x0000002D, 0x00000002, 0xFE363C85, 0xFE363C8B, 0x00000056, 0x00000000, 0x00000043, 0x00000001, mac_01_Quizmo_UpdatePartnerPosition, 0x00000026, 0x00000002, 0xFE363C83, 0xFE363C80, 0x00000026, 0x00000002, 0xFE363C84, 0xFE363C81, 0x00000026, 0x00000002, 0xFE363C86, 0xFE363C85, 0x0000002C, 0x00000002, 0xFE363C83, 0xFE363C8A, 0x0000002C, 0x00000002, 0xFE363C84, 0xFE363C8C, 0x0000002C, 0x00000002, 0xFE363C86, 0xFE363C8B, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFC, 0xFE363C83, 0xFE363C86, 0xFE363C84, 0x00000057, 0x00000000, 0x00000043, 0x00000001, mac_01_Quizmo_SpinPartner, 0x00000043, 0x00000003, NpcFacePlayer, 0xFFFFFFFC, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0x00000106, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80249390_809C10 -.word 0x00000043, 0x00000005, GetNpcPos, 0x00000005, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000043, 0x00000006, mac_01_Quizmo_AddViewRelativeOffset, 0xFE363C8A, 0xFE363C8C, 0xFFFFFFBA, 0xFE363C80, 0xFE363C81, 0x00000056, 0x00000000, 0x00000026, 0x00000002, 0xFE363C82, 0x00000000, 0x00000005, 0x00000001, 0x0000003C, 0x00000026, 0x00000002, 0xFE363C83, 0xFE363C80, 0x00000026, 0x00000002, 0xFE363C84, 0xFE363C81, 0x0000002E, 0x00000002, 0xFE363C83, 0xFE363C82, 0x0000002E, 0x00000002, 0xFE363C84, 0xFE363C82, 0x0000002F, 0x00000002, 0xFE363C83, 0x0000003C, 0x0000002F, 0x00000002, 0xFE363C84, 0x0000003C, 0x0000002C, 0x00000002, 0xFE363C83, 0xFE363C8A, 0x0000002C, 0x00000002, 0xFE363C84, 0xFE363C8C, 0x00000043, 0x00000005, SetNpcPos, 0x00000005, 0xFE363C83, 0xF4ACD482, 0xFE363C84, 0x0000002C, 0x00000002, 0xFE363C82, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000003C, 0x00000043, 0x00000003, NpcFacePlayer, 0x00000005, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000005, 0x00AF0001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802494FC_809D7C -.word 0x00000044, 0x00000001, D_802490A8_809928, 0x00000044, 0x00000001, D_80249258_809AD8, 0x00000046, 0x00000001, D_80249390_809C10, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010028, 0x00000008, 0x00000001, 0x00000014, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80249570_809DF0 -.word 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010016, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802495AC_809E2C -.word 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010006, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010007, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000003, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000002, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010008, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFE, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFD, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010009, 0x00000008, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010006, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010007, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000003, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000002, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010008, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFE, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFD, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010009, 0x00000008, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010006, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010007, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000003, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000002, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010008, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFE, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFD, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010009, 0x00000008, 0x00000001, 0x00000002, 0x00000006, 0x00000000, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xF4ACD482, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024A0F4_80A974 -.word 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010023, 0x00000005, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024A134_80A9B4 -.word 0x00000056, 0x00000000, 0x00000043, 0x00000006, mac_01_Quizmo_AddViewRelativeOffset, 0xF4ACD481, 0xF4ACD483, 0x00000019, 0xFE363C80, 0xFE363C81, 0x00000026, 0x00000002, 0xFE363C82, 0xF4ACD481, 0x0000002C, 0x00000002, 0xFE363C82, 0xFE363C80, 0x00000026, 0x00000002, 0xFE363C83, 0xF4ACD483, 0x0000002C, 0x00000002, 0xFE363C83, 0xFE363C81, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0x00000102, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFC, 0xFE363C82, 0xFE363C83, 0x00000028, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0x00000106, 0x00000057, 0x00000000, 0x00000043, 0x00000004, PlayerMoveTo, 0xF4ACD481, 0xF4ACD483, 0x00000028, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024A210_80AA90 -.word 0x00000045, 0x00000002, D_802495AC_809E2C, 0xFE363C81, 0x00000008, 0x00000001, 0x0000003C, 0x00000049, 0x00000001, 0xFE363C81, 0x00000005, 0x00000001, 0x00000005, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000002, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000046, 0x00000001, D_8024A134_80A9B4, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024A2C0_80AB40 -.word 0x00000045, 0x00000002, D_8024A0F4_80A974, 0xFE363C81, 0x00000008, 0x00000001, 0x0000003C, 0x00000005, 0x00000001, 0x00000005, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000002, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000049, 0x00000001, 0xFE363C81, 0x00000046, 0x00000001, D_8024A134_80A9B4, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024A370_80ABF0 -.word 0x0000000D, 0x00000002, 0xF5DE02E0, 0x0000003F, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xF4ACD481, 0xF4ACD482, 0xF4ACD483, 0x00000043, 0x00000003, NpcFacePlayer, 0xFFFFFFFF, 0x00000010, 0x0000000A, 0x00000002, 0xF5DE02E0, 0x0000003F, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00AF0004, 0x00AF0001, 0x00000000, 0x0008000A, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8406267, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00AF0004, 0x00AF0001, 0x00000000, 0x00080009, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00AF0004, 0x00AF0001, 0x00000000, 0x00080008, 0x00000024, 0x00000002, 0xF8406267, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, ShowChoice, 0x001E000D, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000006, ContinueSpeech, 0xFFFFFFFF, 0x00AF0004, 0x00AF0001, 0x00000000, 0x0008000C, 0x00000046, 0x00000001, D_80248D24_8095A4, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF8406281, 0x00000001, 0x00000043, 0x00000001, mac_01_Quizmo_HideEntities, 0x00000043, 0x00000001, mac_01_Quizmo_HideWorld, 0x00000044, 0x00000001, D_80248DD4_809654, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000200, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000005, 0x00000200, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000148, 0x00000001, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000005, 0x00000100, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0x00000106, 0x00000045, 0x00000002, D_802494FC_809D7C, 0xFE363C81, 0x00000043, 0x00000006, ContinueSpeech, 0xFFFFFFFF, 0x00AF0004, 0x00AF0001, 0x00000000, 0x0008000B, 0x00000043, 0x00000002, PlaySound, 0x00000089, 0x00000005, 0x00000001, 0x00000000, 0x00000055, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000001, mac_01_Quizmo_CreateStage, 0x00000005, 0x00000001, 0x00000005, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000002, 0x00000006, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x002C0000, 0x00000027, 0x00000002, 0xFE363C80, 0xF5DE02E0, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00AF0005, 0x00AF0006, 0x00000000, 0xFE363C80, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010028, 0x00000024, 0x00000002, 0xFE363C80, 0x002D0000, 0x00000027, 0x00000002, 0xFE363C80, 0xF5DE02E0, 0x00000043, 0x00000002, PlaySound, 0x0000008E, 0x00000043, 0x00000002, ShowChoice, 0xFE363C80, 0x00000049, 0x00000001, 0xFE363C81, 0x00000043, 0x00000002, StopSound, 0x0000008E, 0x00000044, 0x00000001, D_80249570_809DF0, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, PlaySound, 0x0000008D, 0x00000043, 0x00000002, mac_01_Quizmo_UnkStageEffectMode, 0xFE363C80, 0x00000024, 0x00000002, 0xF4ACD484, 0x00000000, 0x00000043, 0x00000001, mac_01_Quizmo_CreateWorker, 0x00000008, 0x00000001, 0x00000028, 0x00000043, 0x00000001, mac_01_Quizmo_UpdateRecords, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000006E, 0x00000043, 0x00000001, CloseChoice, 0x00000024, 0x00000002, 0xF4ACD484, 0x00000000, 0x00000057, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000005, 0x00AF0007, 0x00000024, 0x00000002, 0xF4ACD484, 0x00000001, 0x00000056, 0x00000000, 0x00000043, 0x00000002, mac_01_Quizmo_SetStageLightsDelay, 0x00000001, 0x00000008, 0x00000001, 0x00000006, 0x00000008, 0x00000001, 0x00000006, 0x00000008, 0x00000001, 0x00000006, 0x00000043, 0x00000002, mac_01_Quizmo_SetStageLightsDelay, 0x00000002, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, PlaySound, 0x0000021C, 0x00000008, 0x00000001, 0x00000006, 0x00000043, 0x00000002, PlaySound, 0x0000021C, 0x00000008, 0x00000001, 0x00000006, 0x00000043, 0x00000002, PlaySound, 0x0000021C, 0x00000008, 0x00000001, 0x00000006, 0x00000043, 0x00000002, PlaySound, 0x0000021C, 0x00000057, 0x00000000, 0x00000043, 0x00000002, PlaySound, 0x0000008A, 0x00000043, 0x00000001, mac_01_Quizmo_SetVannaAnim_Clap, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000032, 0x00000043, 0x00000006, mac_01_Quizmo_AddViewRelativeOffset, 0x00000000, 0x00000000, 0x00000053, 0xFE363C80, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000007, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000044, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000001, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFD, 0x00000043, 0x00000006, mac_01_Quizmo_AddViewRelativeOffset, 0x00000000, 0x00000000, 0x0000003A, 0xFE363C80, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000007, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000044, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000001, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001E, 0x00000043, 0x00000006, mac_01_Quizmo_AddViewRelativeOffset, 0x00000000, 0x00000000, 0x0000005D, 0xFE363C80, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000007, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000044, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000001, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000045, 0x00000002, D_8024A210_80AA90, 0xFE363C81, 0x00000027, 0x00000002, 0xF5DE02E0, 0x00000001, 0x0000000D, 0x00000002, 0xF5DE02E0, 0x0000003F, 0x00000043, 0x00000006, ContinueSpeech, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000000, 0x00080010, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000005, 0x00AF0006, 0x00000005, 0x00000001, 0x00000000, 0x00000055, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000005, 0x00AF0005, 0x00000024, 0x00000002, 0xFE363C80, 0x0000015C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000046, 0x00000001, D_80248C34_8094B4, 0x00000043, 0x00000002, AddStarPieces, 0x00000001, 0x00000043, 0x00000002, mac_01_Quizmo_SetStageLightsDelay, 0x0000000F, 0x00000043, 0x00000001, mac_01_Quizmo_SetVannaAnim_Idle, 0x00000043, 0x00000003, SetMessageValue, 0xF5DE02E0, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00AF0004, 0x00AF0001, 0x00000000, 0x00080011, 0x00000012, 0x00000000, 0x00000043, 0x00000006, ContinueSpeech, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000000, 0x0008000E, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000005, 0x00AF0006, 0x00000005, 0x00000001, 0x00000000, 0x00000055, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000005, 0x00AF0005, 0x00000024, 0x00000002, 0xFE363C80, 0x0000015C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000046, 0x00000001, D_80248C34_8094B4, 0x00000043, 0x00000002, AddStarPieces, 0x00000001, 0x00000043, 0x00000002, mac_01_Quizmo_SetStageLightsDelay, 0x0000000F, 0x00000043, 0x00000001, mac_01_Quizmo_SetVannaAnim_Idle, 0x00000043, 0x00000003, SetMessageValue, 0xF5DE02E0, 0x00000000, 0x0000000A, 0x00000002, 0xF5DE02E0, 0x00000001, 0x00000043, 0x00000003, SetMessageMsg, MessageSingular, 0x00000001, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetMessageMsg, MessagePlural, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00AF0004, 0x00AF0001, 0x00000000, 0x0008000F, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000005, 0x00AF0009, 0x00000024, 0x00000002, 0xF4ACD484, 0x00000002, 0x00000043, 0x00000002, PlaySound, 0x0000021D, 0x00000043, 0x00000002, PlaySound, 0x0000008B, 0x00000045, 0x00000002, D_8024A2C0_80AB40, 0xFE363C81, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x0000000F, PlayEffect, 0x0000002B, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000006, ContinueSpeech, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000000, 0x0008000D, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000005, 0x00AF000A, 0x00000005, 0x00000001, 0x00000000, 0x00000055, 0x00000002, 0xFE363C81, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, mac_01_Quizmo_UnkStageEffectMode, 0xFFFFFFFF, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, PlaySound, 0x0000008F, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000002, StopSound, 0x00000089, 0x00000057, 0x00000000, 0x00000043, 0x00000001, mac_01_Quizmo_SetVannaAnim_Wave, 0x00000043, 0x00000001, mac_01_Quizmo_DestroyEffects, 0x00000046, 0x00000001, D_80248D24_8095A4, 0x00000044, 0x00000001, D_8024906C_8098EC, 0x00000043, 0x00000001, mac_01_Quizmo_FadeInWorld, 0x00000043, 0x00000001, mac_01_Quizmo_ShowEntities, 0x00000024, 0x00000002, 0xF8406281, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024B0A0_80B920 -.word 0x00000043, 0x00000001, mac_01_Quizmo_ShouldAppear, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFF, 0x01000000, 0x00000000, 0x00000043, 0x00000003, SetNpcSprite, 0xFFFFFFFF, 0x00AF0001, 0x00000043, 0x00000001, mac_01_Quizmo_RenderInit, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024B114_80B994 -.word 0x0000003C, 0x00000001, 0x80262A48, 0x00000024, 0x00000002, 0xF8406269, 0x00000001, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000043, 0x00000003, SetPlayerFlagBits, 0x00400000, 0x00000001, 0x00000046, 0x00000001, D_8024A370_80ABF0, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000000, 0x00000043, 0x00000003, SetPlayerFlagBits, 0x00400000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024B194_80BA14 -.word 0x00000043, 0x00000001, mac_01_Quizmo_NPC_Aux_Impl, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024B1B0_80BA30 -.word 0x3F333333, 0x0000001E, 0x00000014, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001 - -dlabel D_8024B1E0_80BA60 -.word 0x00000043, 0x00000002, BasicAI_Main, D_8024B1B0_80BA30, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024B200_80BA80 -.word 0x00AF0001, 0x0023001C, D_8024B0A0_80B920, D_8024B114_80B994, 0x00000000, 0x00000000, D_8024B194_80BA14, 0x00000000, 0x00000D01, 0x00000000, 0x00630000, 0x00AF0001, 0x0023001C, D_8024B0A0_80B920, D_8024B114_80B994, D_8024B1E0_80BA60, 0x00000000, D_8024B194_80BA14, 0x00000000, 0x00000C01, 0x00000000, 0x00630010 - -dlabel D_8024B258_80BAD8 -.word D_8024CB70_80D3F0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x02EE0000, D_8024B590_80BE10, 0x00000000 - -dlabel D_8024B284_80BB04 -.word D_8024CB70_80D3F0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024B258_80BAD8, 0x00000000, 0x02BC0000, D_8024B590_80BE10, 0x00000000 - -dlabel D_8024B2B0_80BB30 -.word D_8024CB70_80D3F0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024B284_80BB04, 0x00000000, 0x028A0000, D_8024B590_80BE10, 0x00000000 - -dlabel D_8024B2DC_80BB5C -.word D_8024CB70_80D3F0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024B2B0_80BB30, 0x00000000, 0x02580000, D_8024B590_80BE10, 0x00000000 - -dlabel D_8024B308_80BB88 -.word D_8024CB70_80D3F0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024B2DC_80BB5C, 0x00000000, 0x02260000, D_8024B590_80BE10, 0x00000000 - -dlabel D_8024B334_80BBB4 -.word D_8024CB70_80D3F0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024B308_80BB88, 0x00000000, 0x01F40000, D_8024B590_80BE10, 0x00000000 - -dlabel D_8024B360_80BBE0 -.word D_8024CB70_80D3F0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024B334_80BBB4, 0x00000000, 0x01C20000, D_8024B590_80BE10, 0x00000000 - -dlabel D_8024B38C_80BC0C -.word D_8024CB70_80D3F0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024B360_80BBE0, 0x00000000, 0x01900000, D_8024B590_80BE10, 0x00000000 - -dlabel D_8024B3B8_80BC38 -.word D_8024CB70_80D3F0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024B38C_80BC0C, 0x00000000, 0x015E0000, D_8024B590_80BE10, 0x00000000 - -dlabel D_8024B3E4_80BC64 -.word D_8024CB70_80D3F0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024B3B8_80BC38, 0x00000000, 0x012C0000, D_8024B590_80BE10, 0x00000000 - -dlabel D_8024B410_80BC90 -.word D_8024CB70_80D3F0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024B3E4_80BC64, 0x00000000, 0x00FA0000, D_8024B590_80BE10, 0x00000000 - -dlabel D_8024B43C_80BCBC -.word D_8024CB70_80D3F0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024B410_80BC90, 0x00000000, 0x00C80000, D_8024B590_80BE10, 0x00000000 - -dlabel D_8024B468_80BCE8 -.word D_8024CB70_80D3F0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024B43C_80BCBC, 0x00000000, 0x00960000, D_8024B590_80BE10, 0x00000000 - -dlabel D_8024B494_80BD14 -.word D_8024CB70_80D3F0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024B468_80BCE8, 0x00000000, 0x00640000, D_8024B590_80BE10, 0x00000000 - -dlabel D_8024B4C0_80BD40 -.word D_8024CB70_80D3F0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024B494_80BD14, 0x00000000, 0x00320000, D_8024B590_80BE10, 0x00000000 - -dlabel D_8024B4EC_80BD6C -.word D_8024CB70_80D3F0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024B4C0_80BD40, 0x00000000, 0x00000000, D_8024B590_80BE10, 0x00000000 - -dlabel D_8024B518_80BD98 -.word 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8024B4EC_80BD6C, 0xFFFF0000, 0x00000000, 0x00000000, D_8024B518_80BD98, D_8024B4EC_80BD6C, D_8024B4C0_80BD40, D_8024B494_80BD14, D_8024B468_80BCE8, D_8024B43C_80BCBC, D_8024B410_80BC90, D_8024B3E4_80BC64, D_8024B3B8_80BC38, D_8024B38C_80BC0C, D_8024B360_80BBE0, D_8024B334_80BBB4, D_8024B308_80BB88, D_8024B2DC_80BB5C, D_8024B2B0_80BB30, D_8024B284_80BB04, D_8024B258_80BAD8, 0x00000000, 0x00000000 - -dlabel D_8024B590_80BE10 -.word 0x00000000, 0x00000000, 0x04000000, 0xDB1396FF, 0x00000000, 0x00000000, 0x04120038, 0xB615A5FF, 0x00000000, 0x00000000, 0x04000038, 0xD05CC5FF, 0x00000000, 0x00000000, 0x03ED0000, 0xF94FB2FF, 0x00000000, 0x00000000, 0x04000071, 0xBB15A1FF, 0x00000000, 0x00000000, 0x03ED0071, 0xD75CC0FF, 0x00000000, 0x00000000, 0x041200AA, 0xB615A5FF, 0x00000000, 0x00000000, 0x040000AA, 0xD05CC5FF, 0x00000000, 0x00000000, 0x040000E3, 0xAE15ACFF, 0x00000000, 0x00000000, 0x03ED00E3, 0xC65BCFFF, 0x00000000, 0x00000000, 0x0412011C, 0xB615A5FF, 0x00000000, 0x00000000, 0x0400011C, 0xD05CC5FF, 0x00000000, 0x00000000, 0x04000155, 0xBF159FFF, 0x00000000, 0x00000000, 0x03ED0155, 0xDC5BBDFF, 0x00000000, 0x00000000, 0x0412018E, 0xB615A5FF, 0x00000000, 0x00000000, 0x0400018E, 0xD05CC5FF, 0x00000000, 0x00000000, 0x040001C7, 0xA515BAFF, 0x00000000, 0x00000000, 0x03ED01C7, 0xBB56DEFF, 0x00000000, 0x00000000, 0x0400041C, 0x8E20F5FF, 0x00000000, 0x00000000, 0x03ED0400, 0xAC55F8FF, 0x00000000, 0x00000000, 0x001201C7, 0x14564BFF, 0x00000000, 0x00000000, 0x001203FF, 0xF85554FF, 0x00000000, 0x00000000, 0x0000041C, 0xF52072FF, 0x00000000, 0x00000000, 0x000001C7, 0x321567FF, 0x00000000, 0x00000000, 0x00000038, 0x305C3BFF, 0x00000000, 0x00000000, 0x00120000, 0x4B4F16FF, 0x00000000, 0x00000000, 0x00120071, 0x365C35FF, 0x00000000, 0x00000000, 0x000000AA, 0x305C3BFF, 0x00000000, 0x00000000, 0x001200E3, 0x245B43FF, 0x00000000, 0x00000000, 0x0000011C, 0x305C3BFF, 0x00000000, 0x00000000, 0x00120155, 0x3A5B31FF, 0x00000000, 0x00000000, 0x0000018E, 0x305C3BFF, 0x00000000, 0x00000000, 0x00120000, 0x4B4F16FF, 0x00000000, 0x00000000, 0x00000038, 0x305C3BFF, 0x00000000, 0x00000000, 0xFFEE0038, 0x4A155BFF, 0x00000000, 0x00000000, 0x00000000, 0x601339FF, 0x00000000, 0x00000000, 0x00120071, 0x365C35FF, 0x00000000, 0x00000000, 0x00000071, 0x4F1557FF, 0x00000000, 0x00000000, 0x000000AA, 0x305C3BFF, 0x00000000, 0x00000000, 0xFFEE00AA, 0x4A155BFF, 0x00000000, 0x00000000, 0x001200E3, 0x245B43FF, 0x00000000, 0x00000000, 0x000000E3, 0x411561FF, 0x00000000, 0x00000000, 0x0000011C, 0x305C3BFF, 0x00000000, 0x00000000, 0xFFEE011C, 0x4A155BFF, 0x00000000, 0x00000000, 0x00120155, 0x3A5B31FF, 0x00000000, 0x00000000, 0x00000155, 0x521554FF, 0x00000000, 0x00000000, 0x0000018E, 0x305C3BFF, 0x00000000, 0x00000000, 0xFFEE018E, 0x4A155BFF, 0x00000000, 0x00000000, 0x001201C7, 0x14564BFF, 0x00000000, 0x00000000, 0x000001C7, 0x321567FF - -dlabel D_8024B8B0_80C130 -.word 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D - -dlabel D_8024CB70_80D3F0 -.word 0xD7000002, 0xFFFFFFFF, 0xE7000000, 0x00000000, 0xFC121824, 0xFF33FFFF, 0xFD100000, D_8024CCD8_80D558, 0xF5100000, 0x07094140, 0xE6000000, 0x00000000, 0xF3000000, 0x071FF200, 0xE7000000, 0x00000000, 0xF5100800, 0x00094140, 0xF2000000, 0x0003C07C, 0xD9FFFFFF, 0x00020000, 0x01020040, D_8024B8B0_80C130, 0x06000204, 0x00000406, 0x0602080A, 0x00020A04, 0x06080C0E, 0x00080E0A, 0x060C1012, 0x000C120E, 0x06101416, 0x00101612, 0x0614181A, 0x00141A16, 0x06181C1E, 0x00181E1A, 0x061C2022, 0x001C221E, 0x06202426, 0x00202622, 0x06282A2C, 0x00282C2E, 0x06060430, 0x00063032, 0x06040A34, 0x00043430, 0x060A0E36, 0x000A3634, 0x060E1238, 0x000E3836, 0x0612163A, 0x00123A38, 0x06161A3C, 0x00163C3A, 0x061A1E3E, 0x001A3E3C, 0x061E2228, 0x001E283E, 0x0622262A, 0x00222A28, 0x0626242C, 0x00262C2A, 0x01012024, D_8024B8B0_80C130, 0x06000204, 0x00000406, 0x0602080A, 0x00020A04, 0x06080C0E, 0x00080E0A, 0x060C1012, 0x000C120E, 0x06101416, 0x00101612, 0x0614181A, 0x00141A16, 0x06181C1E, 0x00181E1A, 0x061C2022, 0x001C221E, 0xE7000000, 0x00000000, 0xFC323864, 0xFF73FFFF, 0xD7000000, 0x00010001, 0xDF000000, 0x00000000 - -dlabel D_8024CCD8_80D558 -.word 0x9D1D9D1D, 0x9D1D9D1D, 0x9D1D9D1D, 0x9D1D9D1D, 0x9D1D9D1D, 0x9D1D9D1D, 0x9D1D9D1D, 0x9D1D9D1D, 0x9D1DBDE5, 0xBDE5BDE5, 0xBDE5BDE5, 0xBDE5BDE5, 0xBDE5BDE5, 0xBDE5BDE5, 0xBDE5BDE5, 0xBDE5BDE5, 0x9D1DBDE5, 0xDEF7D6AB, 0xDEF7D6AB, 0xDEF7D6AB, 0xDEF7D6AB, 0xDEF7D6AB, 0xDEF7D6AB, 0xDEF7D6AB, 0x9D1DBDE5, 0xD6ABDEF7, 0xD6ABDEF7, 0xD6ABDEF7, 0xD6ABDEF7, 0xD6ABDEF7, 0xD6ABDEF7, 0xD6ABDEF7, 0x9D1DBDE5, 0xDEF7D6AB, 0xDEF7D6AB, 0xDEF7D6AB, 0xDEF7D6AB, 0xDEF7D6AB, 0xDEF7D6AB, 0xDEF7D6AB, 0x9D1DBDE5, 0xBDE5BDE5, 0xBDE5BDE5, 0xBDE5BDE5, 0xBDE5BDE5, 0xBDE5BDE5, 0xBDE5BDE5, 0xBDE5BDE5, 0x33E93C6B, 0x3C6B3C6B, 0x3C6B3C6B, 0x3C6B3C6B, 0x3C6B3C6B, 0x3C6B3C6B, 0x3C6B3C6B, 0x3C6B3C6B, 0x3C6B44F1, 0x44F144F1, 0x44F15D73, 0x5D7344F1, 0x44F15D73, 0x5D7344F1, 0x44F144F1, 0x44F144F1, 0x33E93C6B, 0x44F144F1, 0x44F144F1, 0x5D735D73, 0x5D735D73, 0x44F144F1, 0x44F144F1, 0x3C6B33E9, 0x9D1D33E9, 0x3C6B44F1, 0x44F144F1, 0x44F15D73, 0x5D7344F1, 0x44F144F1, 0x44F13C6B, 0x33E99D1D, 0xBDE59D1D, 0x33E93C6B, 0x44F144F1, 0x44F144F1, 0x44F144F1, 0x44F144F1, 0x3C6B33E9, 0x9D1D9D1D, 0xBDE5BDE5, 0x9D1D33E9, 0x3C6B44F1, 0x44F144F1, 0x44F144F1, 0x44F13C6B, 0x33E99D1D, 0x9D1D9B01, 0xBDE5BDE5, 0xBDE59D1D, 0x33E93C6B, 0x44F144F1, 0x44F144F1, 0x3C6B33E9, 0x9D1DBDE5, 0x9B01C405, 0xD6ABBDE5, 0xBDE5BDE5, 0x9D1D33E9, 0x3C6B44F1, 0x44F13C6B, 0x23659D1D, 0xBDE59D1D, 0x9B01C405, 0xD6ABD6AB, 0xBDE5BDE5, 0xBDE59D1D, 0x33E93C6B, 0x3C6B2365, 0x9D1DBDE5, 0x9D1D9B01, 0xC405D48B, 0xBDE5D6AB, 0xD6ABBDE5, 0xBDE5BDE5, 0x9D1D33E9, 0x23659D1D, 0x9D1D9D1D, 0x9D1D9B01, 0xC405D48B, 0xBDE5D6AB, 0xD6ABBDE5, 0xBDE5BDE5, 0x9D1D9B01, 0x9B019B01, 0x9B019B01, 0x9B01C405, 0xD48BD48B, 0xD6ABD6AB, 0xBDE5BDE5, 0xBDE59D1D, 0x33E99B01, 0xC405C405, 0xC405C405, 0xC405D48B, 0xD48BD48B, 0xD6ABBDE5, 0xBDE5BDE5, 0x9D1D33E9, 0x3C6B33E9, 0x9B01C405, 0xC405C405, 0xD48BD48B, 0x9B01D48B, 0xBDE5BDE5, 0xBDE59D1D, 0x33E93C6B, 0x44F13C6B, 0x33E99B01, 0x9B01C405, 0xC405D48B, 0x9B01D48B, 0xBDE5BDE5, 0x9D1D33E9, 0x3C6B44F1, 0x44F144F1, 0x3C6B33E9, 0x23659B01, 0xC405D48B, 0x9B01D48B, 0xBDE59D1D, 0x33E93C6B, 0x44F144F1, 0x44F144F1, 0x44F13C6B, 0x33E99B01, 0xC405D48B, 0xD48BD48B, 0x9D1D33E9, 0x3C6B44F1, 0x44F15D73, 0x44F144F1, 0x3C6B33E9, 0x23659B01, 0xC405D48B, 0xD48BD48B, 0x33E93C6B, 0x44F144F1, 0x5D735D73, 0x44F144F1, 0x3C6B33E9, 0x9B01C405, 0xC405C405, 0xC405C405, 0x33E93C6B, 0x44F144F1, 0x5D735D73, 0x44F144F1, 0x3C6B33E9, 0x9B01C405, 0xC405C405, 0x9B019B01, 0x9D1D33E9, 0x3C6B44F1, 0x44F15D73, 0x44F13C6B, 0x33E99B01, 0xC405C405, 0xC4059B01, 0x23659D1D, 0xBDE59D1D, 0x33E93C6B, 0x44F144F1, 0x44F13C6B, 0x33E99B01, 0xC4059B01, 0x9B012365, 0x9D1DBDE5, 0xBDE5BDE5, 0x9D1D33E9, 0x3C6B44F1, 0x44F13C6B, 0x33E99B01, 0x9B0133E9, 0x23659D1D, 0xBDE5BDE5, 0xBDE5BDE5, 0xBDE59D1D, 0x33E93C6B, 0x44F144F1, 0x3C6B33E9, 0x33E92365, 0x9D1DBDE5, 0xBDE5BDE5, 0xD6ABBDE5, 0xBDE5BDE5, 0x9D1D33E9, 0x3C6B44F1, 0x3C6B3C6B, 0x33E99D1D, 0xBDE5BDE5, 0xBDE5D6AB, 0xD6ABD6AB, 0xBDE5BDE5, 0xBDE59D1D, 0x33E93C6B, 0x3C6B33E9, 0x9D1DBDE5, 0xBDE5BDE5, 0xD6ABD6AB, 0xBDE5D6AB, 0xD6ABBDE5, 0xBDE5BDE5, 0x9D1D33E9, 0x33E99D1D, 0xBDE5BDE5, 0xBDE5D6AB, 0xD6AB05EF, 0x00130005, 0x00010000, 0x00000000, 0x00080001, 0x00000000, 0x00000011, 0x000100B6, 0x00B600B6, 0x00050002, 0x00000000, 0x00000008, 0x00020000, 0x00000000, 0x00110002, 0x00B600B6, 0x00B60005, 0x00030000, 0x00000000, 0x00080003, 0x00000000, 0x00000011, 0x000300B6, 0x00B600B6, 0x00050004, 0x00000000, 0x00000008, 0x00040000, 0x00000000, 0x00110004, 0x00B600B6, 0x00B60005, 0x00050000, 0x00000000, 0x00080005, 0x00000000, 0x00000011, 0x000500B6, 0x00B600B6, 0x00050006, 0x00000000, 0x00000008, 0x00060000, 0x00000000, 0x00110006, 0x00B600B6, 0x00B60005, 0x00070000, 0x00000000, 0x00080007, 0x00000000, 0x00000011, 0x000700B6, 0x00B600B6, 0x00050008, 0x00000000, 0x00000008, 0x00080000, 0x00000000, 0x00110008, 0x00B600B6, 0x00B60005, 0x00090000, 0x00000000, 0x00080009, 0x00000000, 0x00000011, 0x000900B6, 0x00B600B6, 0x0005000A, 0x00000000, 0x00000008, 0x000A0000, 0x00000000, 0x0011000A, 0x00B600B6, 0x00B60005, 0x000B0000, 0x00000000, 0x0008000B, 0x00000000, 0x00000011, 0x000B00B6, 0x00B600B6, 0x0005000C, 0x00000000, 0x00000008, 0x000C0000, 0x00000000, 0x0011000C, 0x00B600B6, 0x00B60005, 0x000D0000, 0x00000000, 0x0008000D, 0x00000000, 0x00000011, 0x000D00B6, 0x00B600B6, 0x0005000E, 0x00000000, 0x00000008, 0x000E0000, 0x00000000, 0x0011000E, 0x00B600B6, 0x00B60005, 0x000F0000, 0x00000000, 0x0008000F, 0x00000000, 0x00000011, 0x000F00B6, 0x00B600B6, 0x00050010, 0x00000000, 0x00000008, 0x00100000, 0x00000000, 0x00110010, 0x00B600B6, 0x00B60005, 0x00110000, 0x00000000, 0x00080011, 0x00000000, 0x00000011, 0x001100B6, 0x00B600B6, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00010001, 0x00030000 - -dlabel D_8024D3CC_80DC4C -.word 0x00000043, 0x00000003, EnableModel, 0xFE363C84, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0xFE363C85, 0x00000001, 0x00000043, 0x00000006, RotateModel, 0xFE363C86, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000006, RotateModel, 0xFE363C87, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024D444_80DCC4 -.word 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C87, 0x00000024, 0x00000002, 0xFE363C88, 0xFE363C86, 0x00000024, 0x00000002, 0xFE363C87, 0xFE363C85, 0x00000024, 0x00000002, 0xFE363C86, 0xFE363C84, 0x00000008, 0x00000001, 0x00000046, 0x00000043, 0x00000003, EnableModel, 0xFE363C86, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, EnableModel, 0xFE363C86, 0x00000001, 0x00000057, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x000000B4, 0x00000014, 0x00000002, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateModel, 0xFE363C88, 0xFE363C80, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000043, 0x00000006, RotateModel, 0xFE363C89, 0xFE363C80, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0xFE363C87, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024D59C_80DE1C -.word 0x00000043, 0x00000004, mac_01_ToadHouse_InitScreenOverlay, 0x00000000, 0x00000000, 0x00000000, 0x00000046, 0x00000001, D_8025BAE0_81C360, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C83, 0x00000043, 0x00000001, mac_01_ToadHouse_DoesPlayerNeedSleep, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000024, 0x00000002, 0xFE363C88, 0xFE363C80, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830004, 0x00830001, 0x00000000, 0xFE363C88, 0x00000043, 0x00000002, ShowChoice, 0x001E0006, 0x00000008, 0x00000001, 0x00000003, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000006, ContinueSpeech, 0xFFFFFFFF, 0x00830004, 0x00830001, 0x00000000, 0xFE363C89, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, ContinueSpeech, 0xFFFFFFFF, 0x00830004, 0x00830001, 0x00000000, 0xFE363C8A, 0x00000043, 0x00000002, SetPlayerJumpscale, 0x00000001, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFF, 0x00000100, 0x00000001, 0x00000043, 0x00000001, mac_01_ToadHouse_DisableStatusMenu, 0x0000000B, 0x00000002, 0xFE363C84, 0x00000000, 0x00000044, 0x00000001, D_8024D444_80DCC4, 0x00000013, 0x00000000, 0x00000043, 0x00000002, mac_01_ToadHouse_PutPartnerAway, 0xFE363C8A, 0x00000008, 0x00000001, 0x00000014, 0x00000046, 0x00000001, D_8025BB80_81C400, 0x00000056, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x000000FF, 0x0000003C, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000003, mac_01_ToadHouse_UpdateScreenOverlay, 0x00000003, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, FullyRestoreHPandFP, 0x00000043, 0x00000001, FullyRestoreSP, 0x0000000B, 0x00000002, 0xFE363C84, 0x00000000, 0x00000044, 0x00000001, D_8024D3CC_80DC4C, 0x00000013, 0x00000000, 0x00000043, 0x00000002, mac_01_ToadHouse_GetPartnerBackOut, 0xFE363C8A, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000005, MakeLerp, 0x000000FF, 0x00000000, 0x0000001E, 0x00000000, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000003, mac_01_ToadHouse_UpdateScreenOverlay, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000069, 0x00000046, 0x00000001, D_8025BDDC_81C65C, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFF, 0x00000100, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830004, 0x00830001, 0x00000000, 0xFE363C8B, 0x00000043, 0x00000001, mac_01_ToadHouse_ShowStatusMenu, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel mac_01_ItemChoice_HasSelectedItem -.word 0x00000000 - -dlabel mac_01_ItemChoice_SelectedItemID -.word 0x00000000 - -dlabel D_8024D94C_80E1CC -.word 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C81, 0x00000043, 0x00000001, ShowKeyChoicePopup, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, RemoveKeyItemAt, 0xFE363C81, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000004, mac_01_AddPlayerHandsOffset, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000042, 0x00000002, 0xFE363C80, 0x00050000, 0x00000043, 0x00000007, MakeItemEntity, 0xFE363C80, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000001, 0x00000000, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00060005, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000043, 0x00000002, RemoveItemEntity, 0xFE363C80, 0x00000023, 0x00000000, 0x00000043, 0x00000002, mac_01_ItemChoice_SaveSelected, 0xFE363C8A, 0x00000043, 0x00000001, CloseChoicePopup, 0x00000048, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024DA90_80E310 -.word 0x00000043, 0x00000002, func_80243D60_8045E0, 0xFE363C80, 0x0000004E, 0x00000006, D_8024D94C_80E1CC, 0x00000010, 0x00000000, mac_01_D_80262A70, 0x00000000, 0x00000001, 0x00000043, 0x00000002, func_80243CD4_804554, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024DAE0_80E360 -.word 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000004, mac_01_LetterDelivery_CalcLetterPos, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000005, SetItemPos, 0xFE363C80, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024DB60_80E3E0 -.word 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C81, 0x00000043, 0x00000001, ShowKeyChoicePopup, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, RemoveKeyItemAt, 0xFE363C81, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000004, mac_01_LetterDelivery_CalcLetterPos, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000042, 0x00000002, 0xFE363C80, 0x00050000, 0x00000043, 0x00000007, MakeItemEntity, 0xFE363C80, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000001, 0x00000000, 0x00000045, 0x00000002, D_8024DAE0_80E360, 0xFE363C8A, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0x00040002, 0x00000043, 0x00000004, GetAngleBetweenNPCs, 0xFE363C89, 0xFFFFFFFC, 0xFE363C8B, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000005, GetNpcPos, 0xFE363C89, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000100, 0x00000001, 0x0000000E, 0x00000002, 0xFE363C8B, 0x000000B4, 0x00000027, 0x00000002, 0xFE363C86, 0x00000014, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C86, 0xFFFFFFEC, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFE363C87, 0x0000000A, 0x00000043, 0x00000003, SetNpcJumpscale, 0xFFFFFFFC, 0xF24A7A80, 0x00000043, 0x00000006, NpcJump1, 0xFFFFFFFC, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0x00000014, 0x00000049, 0x00000001, 0xFE363C8A, 0x00000043, 0x00000002, RemoveItemEntity, 0xFE363C80, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, GetNpcYaw, 0xFFFFFFFC, 0xFE363C8A, 0x00000027, 0x00000002, 0xFE363C8A, 0x000000B4, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFC, 0xFE363C8A, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000006, NpcJump1, 0xFFFFFFFC, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000014, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0x00040001, 0x00000043, 0x00000004, NpcFaceNpc, 0xFFFFFFFC, 0xFE363C89, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000100, 0x00000000, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000008, 0x00000001, 0x00000005, 0x00000023, 0x00000000, 0x00000043, 0x00000002, mac_01_ItemChoice_SaveSelected, 0xFE363C8A, 0x00000043, 0x00000001, CloseChoicePopup, 0x00000048, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024DE84_80E704 -.word 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, func_80243D60_8045E0, 0xFE363C80, 0x0000004E, 0x00000006, D_8024DB60_80E3E0, 0x00000010, 0x00000000, mac_01_D_80262A70, 0x00000000, 0x00000001, 0x00000043, 0x00000002, func_80243CD4_804554, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024DEF4_80E774 -.word 0x00000024, 0x00000002, 0xFE363C8C, 0x00000000, 0x0000000C, 0x00000002, 0xF5DE0180, 0xFFFFFFBA, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, mac_01_LetterDelivery_SaveNpcAnim, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C80, 0x00000043, 0x00000003, FindKeyItem, 0xFE363C85, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000004, 0x0000000B, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000003, PlayerFaceNpc, 0xFE363C82, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, GetNpcPos, 0xFE363C82, 0xFE363C8D, 0xFE363C80, 0xFE363C8E, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C8D, 0xFE363C8E, 0xFE363C8F, 0x00000043, 0x00000003, SetNpcJumpscale, 0xFFFFFFFC, 0xF24A7A80, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000006, NpcJump1, 0xFFFFFFFC, 0xFE363C8D, 0xFE363C80, 0xFE363C8F, 0x0000000A, 0x00000043, 0x00000007, SpeakToNpc, 0xFFFFFFFC, 0x00040006, 0x00040001, 0x00000000, 0xFE363C82, 0xFE363C87, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000046, 0x00000001, D_8024DE84_80E704, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFC, 0x00040006, 0x00040001, 0x00000005, 0xFE363C88, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000001, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFC, 0x00040006, 0x00040001, 0x00000005, 0xFE363C89, 0x0000000B, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000000, 0xFE363C8A, 0x00000013, 0x00000000, 0x00000043, 0x00000001, EnablePartnerAI, 0x0000000B, 0x00000002, 0xFE363C86, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C86, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000046, 0x00000001, D_80248C34_8094B4, 0x00000043, 0x00000002, AddKeyItem, 0xFE363C86, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000002, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, mac_01_LetterDelivery_RestoreNpcAnim, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024E1EC_80EA6C -.word 0x00000036, 0x00000000 - -dlabel D_8024E1F4_80EA74 -.word 0x00000043, 0x0000000B, mac_01_LetterDelivery_Init, 0x00000000, 0x00A50004, 0x00A50001, 0x00000036, 0x00000000, 0x00030043, 0x00030044, 0x00030045, 0x00030046, D_8024E1EC_80EA6C, 0x00000046, 0x00000001, D_8024DEF4_80E774, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024E244_80EAC4 -.word 0x0000000A, 0x00000002, 0xFE363C8C, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x0000015C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000046, 0x00000001, D_80248C34_8094B4, 0x00000043, 0x00000002, AddStarPieces, 0x00000001, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000000, 0x00000087, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024E2C0_80EB40 -.word 0x0000003E, 0x00000000 - -dlabel D_8024E2C8_80EB48 -.word 0x00000043, 0x0000000B, mac_01_LetterDelivery_Init, 0x00000012, 0x00A80004, 0x00A80001, 0x0000003E, 0x00000000, 0x00030078, 0x00030079, 0x0003007A, 0x0003007B, D_8024E2C0_80EB40, 0x00000046, 0x00000001, D_8024DEF4_80E774, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024E318_80EB98 -.word 0x0000000A, 0x00000002, 0xFE363C8C, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x0000015C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000046, 0x00000001, D_80248C34_8094B4, 0x00000043, 0x00000002, AddStarPieces, 0x00000001, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024E37C_80EBFC -.word 0x00000054, 0x00000000 - -dlabel D_8024E384_80EC04 -.word 0x00000043, 0x0000000B, mac_01_LetterDelivery_Init, 0x00000013, 0x00B60008, 0x00B60001, 0x00000054, 0x00000000, 0x000300E0, 0x000300E1, 0x000300E2, 0x000300E3, D_8024E37C_80EBFC, 0x00000046, 0x00000001, D_8024DEF4_80E774, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024E3D4_80EC54 -.word 0x0000000A, 0x00000002, 0xFE363C8C, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x0000015C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000046, 0x00000001, D_80248C34_8094B4, 0x00000043, 0x00000002, AddStarPieces, 0x00000001, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024E438_80ECB8 -.word 0x00000053, 0x00000000 - -dlabel D_8024E440_80ECC0 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00B60008, 0x00B60001, 0x00000000, 0x000300E8, 0x00000024, 0x00000002, 0xFE363C80, 0x0000015C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000046, 0x00000001, D_80248C34_8094B4, 0x00000043, 0x00000002, AddStarPieces, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00B60008, 0x00B60001, 0x00000000, 0x000300E9, 0x00000024, 0x00000002, 0xF8405E92, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024E4DC_80ED5C -.word 0x0000000A, 0x00000002, 0xF8405E92, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, FindKeyItem, 0x00000053, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF97188C4, 0x00000000, 0x00000024, 0x00000002, 0xF97188C4, 0x00000001, 0x0000000A, 0x00000002, 0xF8405E91, 0x00000000, 0x00000024, 0x00000002, 0xF8405E91, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300E4, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300E5, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300E5, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00B60008, 0x00B60001, 0x00000000, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C80, D_8024E438_80ECB8, 0x00000024, 0x00000002, 0xFE363C81, 0x00000013, 0x00000046, 0x00000001, D_8024DA90_80E310, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001B, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8024E440_80ECC0, 0x00000022, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00B60008, 0x00B60001, 0x00000000, 0x000300E6, 0x00000024, 0x00000002, 0xFE363C80, D_8024E438_80ECB8, 0x00000024, 0x00000002, 0xFE363C81, 0x00000013, 0x00000046, 0x00000001, D_8024DA90_80E310, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001B, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8024E440_80ECC0, 0x0000001C, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00B60008, 0x00B60001, 0x00000000, 0x000300E7, 0x00000023, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024E6F8_80EF78 -.word 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFE363C80, 0xB0000021, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024E740_80EFC0 -.word 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000052, 0x000001C1, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0xFFFFFFB0, 0x0000001E, 0x0000000A, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateModel, 0x00000027, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024E7F0_80F070 -.word 0x00000043, 0x00000005, MakeLerp, 0xFFFFFFB0, 0x00000000, 0x0000001E, 0x0000000A, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateModel, 0x00000027, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000052, 0x000001C2, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024E8A0_80F120 -.word 0x00000043, 0x00000003, EnableModel, 0x00000032, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000148, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000032, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFFE, 0x00000043, 0x00000005, TranslateModel, 0x00000032, 0xFFFFFDB2, 0xFE363C80, 0xFFFFFD7A, 0x00000027, 0x00000002, 0xFE363C81, 0x00000003, 0x0000000F, 0x00000002, 0xFE363C81, 0x00000168, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFE98, 0x00000013, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000032, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000032, 0xFFFFFDB2, 0xFE363C80, 0xFFFFFD7A, 0x00000027, 0x00000002, 0xFE363C81, 0x00000003, 0x0000000F, 0x00000002, 0xFE363C81, 0x00000168, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFE98, 0x00000013, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000032, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xF4ACD486, 0x00000001, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000005, 0x00000001, 0x00000096, 0x00000027, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000032, 0xFFFFFDB2, 0xFE363C80, 0xFFFFFD7A, 0x00000027, 0x00000002, 0xFE363C81, 0x00000006, 0x0000000F, 0x00000002, 0xFE363C81, 0x00000168, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFE98, 0x00000013, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000032, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000032, 0xFFFFFDB2, 0xFE363C80, 0xFFFFFD7A, 0x00000027, 0x00000002, 0xFE363C81, 0x00000003, 0x0000000F, 0x00000002, 0xFE363C81, 0x00000168, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFE98, 0x00000013, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000032, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xF4ACD486, 0x00000002, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000005, 0x00000001, 0x00000032, 0x00000027, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000005, TranslateModel, 0x00000032, 0xFFFFFDB2, 0xFE363C80, 0xFFFFFD7A, 0x00000027, 0x00000002, 0xFE363C81, 0x00000003, 0x0000000F, 0x00000002, 0xFE363C81, 0x00000168, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFE98, 0x00000013, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x00000032, 0xFE363C81, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000032, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024EC64_80F4E4 -.word 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A5000A, 0x00000043, 0x00000002, GetModelCenter, 0x0000002F, 0x00000043, 0x00000006, PlaySoundAt, 0x00000207, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000052, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xF4ACD481, 0xFE363C8F, 0x00000008, 0x00000001, 0x0000001E, 0x00000024, 0x00000002, 0xF4ACD486, 0x00000000, 0x00000044, 0x00000001, D_8024E8A0_80F120, 0x00000008, 0x00000001, 0x0000001E, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_802440FC_80497C, 0x00000057, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetCamDistance, 0x00000000, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000026, 0x00000002, 0xFE363C80, 0xF24EECE7, 0x00000012, 0x00000000, 0x00000026, 0x00000002, 0xFE363C80, 0xF246081A, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C80, 0x00000043, 0x00000004, GetCamPitch, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000026, 0x00000002, 0xFE363C81, 0xF24A4E80, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000024, 0x00000002, 0xF4ACD486, 0x00000001, 0x00000043, 0x0000000F, PlayEffect, 0x00000053, 0x00000000, 0xFFFFFED6, 0x00000015, 0xFFFFFEB6, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xF4ACD482, 0xFE363C8F, 0x00000043, 0x00000002, GetModelCenter, 0x0000002F, 0x00000043, 0x0000000F, PlayEffect, 0x00000051, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000001, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xF4ACD483, 0xFE363C8F, 0x00000043, 0x0000000F, PlayEffect, 0x00000051, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000001, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xF4ACD484, 0xFE363C8F, 0x00000043, 0x0000000F, PlayEffect, 0x00000051, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000001, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xF4ACD485, 0xFE363C8F, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_802443E0_804C60, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000032, 0x00000043, 0x00000002, GetModelCenter, 0x0000002F, 0x00000043, 0x00000006, PlaySoundAt, 0x00000208, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000052, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7C80, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, GetModelCenter, 0x0000002F, 0x00000043, 0x00000006, PlaySoundAt, 0x00000208, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000052, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7C80, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_802441EC_804A6C, 0x00000057, 0x00000000, 0x00000043, 0x00000002, GetModelCenter, 0x0000002F, 0x00000043, 0x00000006, PlaySoundAt, 0x00000208, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000052, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7C80, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000046, 0x00000043, 0x00000002, func_802D7B10, 0xF4ACD482, 0x00000008, 0x00000001, 0x00000028, 0x00000043, 0x00000006, PlaySoundAt, 0x00000607, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, func_802446AC_804F2C, 0xF4ACD481, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, func_802D7B10, 0xF4ACD481, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_80244308_804B88, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000002E, 0x00000024, 0x00000002, 0xF4ACD486, 0x00000002, 0x00000043, 0x00000003, ResetCam, 0x00000000, 0xF24A8E80, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x00030036, 0x00000043, 0x00000002, ShowCoinCounter, 0x00000001, 0x00000043, 0x00000002, ShowChoice, 0x001E000D, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, ShowCoinCounter, 0x00000000, 0x00000043, 0x00000006, ContinueSpeech, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x00030039, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, mac_01_GetPlayerCoins, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000005, 0x00000043, 0x00000002, ShowCoinCounter, 0x00000000, 0x00000043, 0x00000006, ContinueSpeech, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x0003003A, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, AddCoin, 0xFFFFFFFB, 0x00000043, 0x00000002, ShowCoinCounter, 0x00000000, 0x00000043, 0x00000006, ContinueSpeech, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x00030037, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50008, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50008, 0x00A50008, 0x00000000, 0x00030038, 0x00000044, 0x00000001, 0x80246824, 0x00000008, 0x00000001, 0x00000014, 0x0000000A, 0x00000002, 0xFD050F8C, 0x00000000, 0x0000003E, 0x00000002, 0x00000014, 0xFD050F8C, 0x00000013, 0x00000000, 0x0000003C, 0x00000001, 0xFD050F8C, 0x00000046, 0x00000001, D_8024EC64_80F4E4, 0x00000008, 0x00000001, 0x00000014, 0x00000044, 0x00000001, 0x80246850, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C80, 0x00210000, 0x00000018, 0x00000001, 0xFFFFFF9D, 0x00000024, 0x00000002, 0xFE363C80, 0x00210001, 0x00000018, 0x00000001, 0xFFFFFFA4, 0x00000024, 0x00000002, 0xFE363C80, 0x00210002, 0x00000018, 0x00000001, 0xFFFFFFA7, 0x00000024, 0x00000002, 0xFE363C80, 0x00210003, 0x00000018, 0x00000001, 0xFFFFFFAD, 0x00000024, 0x00000002, 0xFE363C80, 0x00210004, 0x00000018, 0x00000001, 0xFFFFFFB3, 0x00000024, 0x00000002, 0xFE363C80, 0x00210005, 0x00000018, 0x00000001, 0xFFFFFFBA, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00210006, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00210007, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFBB, 0x00000024, 0x00000002, 0xFE363C80, 0x00210008, 0x00000018, 0x00000001, 0xFFFFFFBC, 0x00000024, 0x00000002, 0xFE363C80, 0x00210009, 0x00000018, 0x00000001, 0xFFFFFFBF, 0x00000024, 0x00000002, 0xFE363C80, 0x0021000A, 0x00000018, 0x00000001, 0xFFFFFFC0, 0x00000024, 0x00000002, 0xFE363C80, 0x0021000B, 0x00000018, 0x00000001, 0xFFFFFFC1, 0x00000024, 0x00000002, 0xFE363C80, 0x0021000C, 0x00000018, 0x00000001, 0xFFFFFFC2, 0x00000024, 0x00000002, 0xFE363C80, 0x0021000D, 0x00000018, 0x00000001, 0xFFFFFFC7, 0x00000024, 0x00000002, 0xFE363C80, 0x0021000E, 0x00000018, 0x00000001, 0xFFFFFFC9, 0x00000024, 0x00000002, 0xFE363C80, 0x0021000F, 0x00000018, 0x00000001, 0xFFFFFFCC, 0x00000024, 0x00000002, 0xFE363C80, 0x00210010, 0x00000018, 0x00000001, 0xFFFFFFCF, 0x00000024, 0x00000002, 0xFE363C80, 0x00210011, 0x00000018, 0x00000001, 0xFFFFFFD0, 0x00000024, 0x00000002, 0xFE363C80, 0x00210012, 0x00000018, 0x00000001, 0xFFFFFFD2, 0x00000024, 0x00000002, 0xFE363C80, 0x00210013, 0x00000018, 0x00000001, 0xFFFFFFD6, 0x00000024, 0x00000002, 0xFE363C80, 0x00210014, 0x00000018, 0x00000001, 0xFFFFFFD7, 0x00000024, 0x00000002, 0xFE363C80, 0x00210015, 0x00000018, 0x00000001, 0xFFFFFFDA, 0x00000024, 0x00000002, 0xFE363C80, 0x00210016, 0x00000018, 0x00000001, 0xFFFFFFDC, 0x00000024, 0x00000002, 0xFE363C80, 0x00210017, 0x00000018, 0x00000001, 0xFFFFFFE0, 0x00000024, 0x00000002, 0xFE363C80, 0x00210018, 0x00000018, 0x00000001, 0xFFFFFFF0, 0x0000000A, 0x00000002, 0xF8405F98, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00210019, 0x00000022, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8405FA1, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0021001A, 0x00000022, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8405FAD, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0021001B, 0x00000022, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0021001C, 0x00000018, 0x00000001, 0xFFFFFFF3, 0x00000024, 0x00000002, 0xFE363C80, 0x0021001D, 0x00000018, 0x00000001, 0xFFFFFFF6, 0x00000024, 0x00000002, 0xFE363C80, 0x0021001E, 0x00000018, 0x00000001, 0xFFFFFFF8, 0x00000024, 0x00000002, 0xFE363C80, 0x0021001F, 0x00000018, 0x00000001, 0xFFFFFFFA, 0x00000024, 0x00000002, 0xFE363C80, 0x00210020, 0x00000018, 0x00000001, 0xFFFFFFFB, 0x00000024, 0x00000002, 0xFE363C80, 0x00210021, 0x00000018, 0x00000001, 0xFFFFFFFC, 0x00000024, 0x00000002, 0xFE363C80, 0x00210022, 0x00000018, 0x00000001, 0xFFFFFFFD, 0x00000024, 0x00000002, 0xFE363C80, 0x00210023, 0x00000018, 0x00000001, 0xFFFFFFFE, 0x00000024, 0x00000002, 0xFE363C80, 0x00210024, 0x00000018, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00210025, 0x00000018, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00210026, 0x00000018, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00210027, 0x00000018, 0x00000001, 0x00000007, 0x00000024, 0x00000002, 0xFE363C80, 0x00210028, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x00210029, 0x00000018, 0x00000001, 0x0000000B, 0x00000024, 0x00000002, 0xFE363C80, 0x0021002A, 0x00000018, 0x00000001, 0x0000000E, 0x00000024, 0x00000002, 0xFE363C80, 0x0021002B, 0x00000018, 0x00000001, 0x0000000F, 0x00000024, 0x00000002, 0xFE363C80, 0x0021002C, 0x00000018, 0x00000001, 0x00000010, 0x00000024, 0x00000002, 0xFE363C80, 0x0021002D, 0x00000018, 0x00000001, 0x00000012, 0x00000024, 0x00000002, 0xFE363C80, 0x0021002E, 0x00000018, 0x00000001, 0x00000015, 0x00000024, 0x00000002, 0xFE363C80, 0x0021002F, 0x00000018, 0x00000001, 0x00000019, 0x00000024, 0x00000002, 0xFE363C80, 0x00210030, 0x00000018, 0x00000001, 0x0000001C, 0x00000024, 0x00000002, 0xFE363C80, 0x00210031, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x00210032, 0x00000018, 0x00000001, 0x00000028, 0x00000024, 0x00000002, 0xFE363C80, 0x00210033, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x00210034, 0x00000018, 0x00000001, 0x0000002D, 0x00000024, 0x00000002, 0xFE363C80, 0x00210035, 0x00000018, 0x00000001, 0x0000002E, 0x00000024, 0x00000002, 0xFE363C80, 0x00210036, 0x00000021, 0x00000002, 0x0000002E, 0x00000030, 0x0000000A, 0x00000002, 0xF84060DE, 0x00000000, 0x0000000A, 0x00000002, 0xF84060DF, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00210037, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00210038, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00210039, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0x00000035, 0x00000024, 0x00000002, 0xFE363C80, 0x0021003A, 0x00000018, 0x00000001, 0x00000037, 0x00000024, 0x00000002, 0xFE363C80, 0x0021003B, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x0021003C, 0x00000018, 0x00000001, 0x0000003E, 0x00000024, 0x00000002, 0xFE363C80, 0x0021003D, 0x00000018, 0x00000001, 0x00000043, 0x00000024, 0x00000002, 0xFE363C80, 0x0021003E, 0x00000018, 0x00000001, 0x00000048, 0x00000024, 0x00000002, 0xFE363C80, 0x0021003F, 0x00000018, 0x00000001, 0x00000049, 0x00000024, 0x00000002, 0xFE363C80, 0x00210040, 0x00000018, 0x00000001, 0x0000004A, 0x00000024, 0x00000002, 0xFE363C80, 0x00210041, 0x00000018, 0x00000001, 0x0000004C, 0x00000024, 0x00000002, 0xFE363C80, 0x00210042, 0x00000018, 0x00000001, 0x0000004E, 0x00000024, 0x00000002, 0xFE363C80, 0x00210043, 0x00000018, 0x00000001, 0x0000004F, 0x00000024, 0x00000002, 0xFE363C80, 0x00210044, 0x00000018, 0x00000001, 0x00000050, 0x00000024, 0x00000002, 0xFE363C80, 0x00210045, 0x00000018, 0x00000001, 0x00000054, 0x00000024, 0x00000002, 0xFE363C80, 0x00210046, 0x00000018, 0x00000001, 0x00000055, 0x00000024, 0x00000002, 0xFE363C80, 0x00210047, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x00210048, 0x00000018, 0x00000001, 0x0000005B, 0x00000024, 0x00000002, 0xFE363C80, 0x00210049, 0x00000018, 0x00000001, 0x0000005E, 0x00000024, 0x00000002, 0xFE363C80, 0x0021004A, 0x00000018, 0x00000001, 0x0000005F, 0x0000000B, 0x00000002, 0xF5DE02AA, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x0021004B, 0x00000022, 0x00000000, 0x00000013, 0x00000000, 0x0000000B, 0x00000002, 0xF5DE02AB, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x0021004C, 0x00000022, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0021004D, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x0021004E, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0xFE363C80, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8024FE24_8106A4 -.word 0x00000043, 0x00000002, GetPlayerActionState, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x0000000E, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000010, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000002, GetPlayerActionState, 0xFE363C80, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x0000000E, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000010, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000027, 0x00000002, 0xF5DE019B, 0x00000001, 0x0000000C, 0x00000002, 0xF5DE019B, 0x00000003, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, mac_01_UnkPositionFunc, 0xFFFFFE84, 0xFFFFFF0B, 0xFFFFFF1F, 0xFFFFFE68, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFF18, 0x00000024, 0x00000002, 0xFE363C84, 0xFFFFFEB5, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFED7, 0x00000024, 0x00000002, 0xFE363C84, 0xFFFFFE77, 0x00000013, 0x00000000, 0x00000043, 0x00000007, MakeItemEntity, 0x000000ED, 0xFE363C82, 0x000000DC, 0xFE363C84, 0x0000000D, 0xF8405C7F, 0x00000008, 0x00000001, 0x00000023, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50003, 0x00000043, 0x00000005, GetNpcPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, NpcJump0, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50001, 0x00000043, 0x00000005, GetNpcPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetCamType, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x000000FA, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0x0000000F, 0xFFFFFFF8, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000003, PlayerFaceNpc, 0x00000000, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000005, 0x00030041, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x00030042, 0x00000024, 0x00000002, 0xF8405C7E, 0x00000001, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000048, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C7E, 0x00000000, 0x00000047, 0x00000005, D_8024FE24_8106A4, 0x00000080, 0x0000004C, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000007, MakeItemEntity, 0x000000ED, 0xFFFFFF18, 0x00000014, 0xFFFFFEB5, 0x00000011, 0xF8405C7F, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x0000000A, 0x00000002, 0xF8405C7A, 0x00000001, 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0x0003001E, 0x000000A0, 0x00000028, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C79, 0x00000000, 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0x0003001C, 0x000000A0, 0x00000028, 0x00000024, 0x00000002, 0xF8405C79, 0x00000001, 0x00000012, 0x00000000, 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0x0003001D, 0x000000A0, 0x00000028, 0x00000024, 0x00000002, 0xF8405C7A, 0x00000001, 0x00000013, 0x00000000, 0x0000001B, 0x00000001, 0xFFFFFF96, 0x0000000A, 0x00000002, 0xF8405C7B, 0x00000000, 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0x0003001F, 0x000000A0, 0x00000028, 0x00000024, 0x00000002, 0xF8405C7B, 0x00000001, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_80250414_810C94, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80250414_810C94 -.word 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0x00030020, 0x000000A0, 0x00000028, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000031, 0x00000001, 0x00000056, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000052, 0x000001C1, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0xFFFFFFB0, 0x0000000F, 0x00000008, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateModel, 0x00000027, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000000, 0x00000000, 0x00000005, 0xF24A8280, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000043, 0x00000003, SetPlayerFlagBits, 0x00200000, 0x00000001, 0x00000043, 0x00000003, InterpPlayerYaw, 0x0000010E, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010017, 0x00000043, 0x00000002, SetPlayerJumpscale, 0xF24A7E80, 0x00000043, 0x00000005, PlayerJump1, 0xFFFFFF22, 0x00000014, 0xFFFFFF62, 0x00000008, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, SetPlayerFlagBits, 0x00200000, 0x00000000, 0x00000043, 0x00000003, func_80243380_803C00, 0x00000001, 0x00000025, 0x00000043, 0x00000004, func_80243500_803D80, 0xFFFFFF29, 0x00000014, 0xFFFFFF62, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0xFFFFFF29, 0x000003E8, 0xFFFFFF62, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x0000005A, 0x0000000A, 0x00000001, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000004, func_802435C0_803E40, 0xFE363C80, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000004, func_80243500_803D80, 0xFFFFFF29, 0x00000015, 0xFFFFFF62, 0x00000043, 0x00000003, PlaySoundAtPlayer, 0x00000162, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000032, 0x00000043, 0x00000005, SetNpcPos, 0x00000000, 0xFFFFFF0F, 0x00000014, 0xFFFFFEF2, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50002, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0xFFFFFF58, 0xFFFFFF3A, 0x00000014, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50001, 0x00000043, 0x00000003, GetAngleToPlayer, 0x00000000, 0xFE363C80, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000000, 0xFE363C80, 0x00000005, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x00030021, 0x00000043, 0x00000004, func_80243500_803D80, 0xFFFFFF29, 0x00000014, 0xFFFFFF62, 0x00000043, 0x00000005, MakeLerp, 0x0000005A, 0x00000000, 0x0000000F, 0x00000004, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000004, func_802435C0_803E40, 0xFE363C80, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetPlayerPos, 0xFFFFFF22, 0x00000014, 0xFFFFFF62, 0x00000043, 0x00000001, func_80243494_803D14, 0x00000043, 0x00000003, InterpPlayerYaw, 0x0000005A, 0x00000000, 0x00000043, 0x00000002, SetPlayerActionState, 0x00000003, 0x00000043, 0x00000002, SetPlayerJumpscale, 0xF24A7E80, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, PlayerJump, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000F, 0x00000043, 0x00000002, SetPlayerActionState, 0x0000000A, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x00030022, 0x00000056, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50002, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0xFFFFFEED, 0xFFFFFECF, 0x0000001E, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50001, 0x00000043, 0x00000005, SetNpcPos, 0x00000000, 0xFFFFFEAF, 0x00000014, 0xFFFFFE98, 0x00000043, 0x00000003, SetNpcYaw, 0x00000000, 0x00000087, 0x00000057, 0x00000000, 0x00000043, 0x00000004, PlayerMoveTo, 0xFFFFFF58, 0xFFFFFF3A, 0x00000014, 0x00000043, 0x00000004, PlayerMoveTo, 0xFFFFFEED, 0xFFFFFECF, 0x0000001E, 0x00000044, 0x00000001, D_8024E7F0_80F070, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFC, 0xFFFFFF10, 0x00000014, 0xFFFFFEE4, 0x00000043, 0x00000001, func_802447E0_805060, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8F, 0x00000035, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000001, func_802448A0_805120, 0x00000057, 0x00000000, 0x00000043, 0x00000006, RotateGroup, 0x00000026, 0x000000B4, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFAA2B58A, 0x00000001, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000000, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFFFFFF06, 0x00000014, 0xFFFFFEE8, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000001, func_80244848_8050C8, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000000, 0x00000087, 0x00000005, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x00030023, 0x00000043, 0x00000001, func_802447E0_805060, 0x00000008, 0x00000001, 0x0000003C, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0008001D, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_80244848_8050C8, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, ContinueSpeech, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x00030024, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0008001E, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0008001C, 0x00000008, 0x00000001, 0x00000032, 0x00000043, 0x00000005, GetNpcPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetCamType, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x000000C8, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0x0000000F, 0xFFFFFFF6, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x00030025, 0x00000024, 0x00000002, 0xF5DE0180, 0xFFFFFF9A, 0x00000043, 0x00000003, ResetCam, 0x00000000, 0xF24A8E80, 0x00000056, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x0000004F, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000004E, 0x7FFFFE00, 0x00000043, 0x00000004, AwaitPlayerLeave, 0xFFFFFEE8, 0xFFFFFED4, 0x00000028, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x0000004E, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000004F, 0x7FFFFE00, 0x00000057, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80250D14_811594 -.word 0x00000043, 0x00000004, AwaitPlayerApproach, 0xFFFFFF7E, 0xFFFFFF92, 0x00000096, 0x00000043, 0x00000003, SetSelfEnemyFlagBits, 0x08000000, 0x00000001, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000000, 0x00000300, 0x00000001, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0x0000019A, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000000, 0x0000019A, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50001, 0x00000043, 0x00000003, SetSelfEnemyFlagBits, 0x08000000, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000000, 0x00000300, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80250DFC_81167C -.word 0x00000043, 0x00000004, SetNpcVar, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, func_802CF56C, 0x00000002, 0x00000056, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50002, 0x00000043, 0x00000003, SetNpcSpeed, 0x00000000, 0xF24A8A80, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0x0000019A, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50001, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000000, 0x0000005A, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000014, 0x00650104, 0x00650101, 0x00000000, 0x00030029, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000015, 0x00650004, 0x00650001, 0x00000000, 0x0003002A, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000F, 0x00000002, 0xFE363C80, 0x0000019A, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000009, SetCamProperties, 0x00000000, 0xF24A8A80, 0x0000019A, 0x00000000, 0x00000000, 0x00000140, 0x0000000F, 0xFFFFFFFA, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, SetPlayerSpeed, 0xF24A8680, 0x00000043, 0x00000004, PlayerMoveTo, 0x000001CC, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlayerFaceNpc, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x0003002B, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x000001E0, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlayerFaceNpc, 0x00000014, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000016, 0x00650205, 0x00650201, 0x00000000, 0x0003002C, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000017, 0x00650305, 0x00650301, 0x00000000, 0x0003002D, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x0000019A, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlayerFaceNpc, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x0003002E, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8E80, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000000, 0x00000209, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50008, 0x00000043, 0x00000005, GetNpcPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x0000000C, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000001, 0x00000032, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000003C, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A5000A, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x0000000F, PlayEffect, 0x00000052, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000001, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x000000B4, 0x00000043, 0x00000003, PlayerFaceNpc, 0x00000014, 0x00000000, 0x00000043, 0x00000009, SetCamProperties, 0x00000000, 0xF24A8A80, 0x000001E0, 0x00000000, 0x00000000, 0x00000140, 0x0000000F, 0xFFFFFFFA, 0x00000043, 0x00000003, PushSong, 0x00000052, 0x00000000, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFAA2B594, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000018, 0x0066010B, 0x0066010B, 0x00000005, 0x0003002F, 0x00000024, 0x00000002, 0xFAA2B594, 0x00000001, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000014, 0x0000020A, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0x00000014, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000027, 0x00000002, 0xFE363C85, 0x00000005, 0x00000043, 0x0000000F, PlayEffect, 0x0000005E, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000002, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000038, 0x00000001, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000001, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000014, 0x00650106, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000014, 0x00002049, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0x00000014, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000005, SetNpcPos, 0x00000014, 0xFE363C83, 0xFFFFFC18, 0xFE363C82, 0x00000043, 0x00000005, SetNpcPos, 0x00000018, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000003, SetNpcJumpscale, 0x00000018, 0xF24A7E80, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000018, 0x0066010B, 0x00000043, 0x00000006, NpcJump0, 0x00000018, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x0000000A, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000014, 0x0000020A, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0x00000015, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000027, 0x00000002, 0xFE363C85, 0x00000005, 0x00000043, 0x0000000F, PlayEffect, 0x0000005E, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000002, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000038, 0x00000001, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000001, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000015, 0x00650006, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000015, 0x00002049, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0x00000015, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000005, SetNpcPos, 0x00000015, 0xFE363C83, 0xFFFFFC18, 0xFE363C82, 0x00000043, 0x00000005, SetNpcPos, 0x00000019, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000003, SetNpcJumpscale, 0x00000019, 0xF24A7E80, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000019, 0x0066000B, 0x00000043, 0x00000006, NpcJump0, 0x00000019, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x0000000A, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000014, 0x0000020A, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0x00000016, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000027, 0x00000002, 0xFE363C85, 0x00000005, 0x00000043, 0x0000000F, PlayEffect, 0x0000005E, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000002, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000038, 0x00000001, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000001, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000016, 0x00650206, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000016, 0x00002049, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0x00000016, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000005, SetNpcPos, 0x00000016, 0xFE363C83, 0xFFFFFC18, 0xFE363C82, 0x00000043, 0x00000005, SetNpcPos, 0x0000001A, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000003, SetNpcJumpscale, 0x0000001A, 0xF24A7E80, 0x00000043, 0x00000003, SetNpcAnimation, 0x0000001A, 0x0066020B, 0x00000043, 0x00000006, NpcJump0, 0x0000001A, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x0000000A, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000014, 0x0000020A, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0x00000017, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000027, 0x00000002, 0xFE363C85, 0x00000005, 0x00000043, 0x0000000F, PlayEffect, 0x0000005E, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000002, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000038, 0x00000001, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000001, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000017, 0x00650306, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000017, 0x00002049, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0x00000017, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000005, SetNpcPos, 0x00000017, 0xFE363C83, 0xFFFFFC18, 0xFE363C82, 0x00000043, 0x00000005, SetNpcPos, 0x0000001B, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000003, SetNpcJumpscale, 0x0000001B, 0xF24A7E80, 0x00000043, 0x00000003, SetNpcAnimation, 0x0000001B, 0x0066030B, 0x00000043, 0x00000006, NpcJump0, 0x0000001B, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x0000000A, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50001, 0x00000005, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xFAA2B594, 0x00000001, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000018, 0x00660104, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000019, 0x00660004, 0x00000043, 0x00000003, SetNpcAnimation, 0x0000001A, 0x00660204, 0x00000043, 0x00000003, SetNpcAnimation, 0x0000001B, 0x00660304, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x00030030, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000018, 0x00660114, 0x00660104, 0x00000000, 0x00030031, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000018, 0x0000005A, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000018, 0x00660114, 0x00660104, 0x00000005, 0x00030032, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000018, 0x0000005A, 0x00000000, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000019, 0x0000005A, 0x00000000, 0x00000043, 0x00000004, InterpNpcYaw, 0x0000001A, 0x0000005A, 0x00000000, 0x00000043, 0x00000004, InterpNpcYaw, 0x0000001B, 0x0000005A, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000018, 0x00660103, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000019, 0x00660003, 0x00000043, 0x00000003, SetNpcAnimation, 0x0000001A, 0x00660203, 0x00000043, 0x00000003, SetNpcAnimation, 0x0000001B, 0x00660303, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x0000001A, 0x00000174, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, SetNpcSpeed, 0x00000018, 0xF24A9A80, 0x00000043, 0x00000005, NpcMoveTo, 0x00000018, 0x000002BC, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, SetNpcSpeed, 0x00000019, 0xF24A9A80, 0x00000043, 0x00000005, NpcMoveTo, 0x00000019, 0x000002BC, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, SetNpcSpeed, 0x0000001A, 0xF24A9A80, 0x00000043, 0x00000005, NpcMoveTo, 0x0000001A, 0x000002BC, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, SetNpcSpeed, 0x0000001B, 0xF24A9A80, 0x00000043, 0x00000005, NpcMoveTo, 0x0000001B, 0x000002BC, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, PopSong, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x0000019A, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000003, PlayerFaceNpc, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x00030033, 0x00000043, 0x00000003, SetNpcSpeed, 0x00000000, 0xF24A8680, 0x00000043, 0x00000005, GetNpcPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C83, 0xFFFFFFCE, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50002, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0xFE363C83, 0xFE363C82, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50001, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50002, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0xFE363C80, 0xFE363C82, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x00030034, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, ResetCam, 0x00000000, 0x00000002, 0x00000057, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFF6A, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50002, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0xFE363C80, 0xFE363C82, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50001, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000000, 0x00000085, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000000, 0xFFFFFEAF, 0x00000014, 0xFFFFFE98, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x0000004E, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000004F, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000013, 0x7FFFFE00, 0x00000024, 0x00000002, 0xF5DE0180, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xF971888E, 0x00000000, 0x00000024, 0x00000002, 0xF971888F, 0x00000000, 0x00000024, 0x00000002, 0xF9718890, 0x00000000, 0x00000024, 0x00000002, 0xF9718891, 0x00000000, 0x00000024, 0x00000002, 0xF9718892, 0x00000000, 0x00000024, 0x00000002, 0xF9718893, 0x00000000, 0x00000024, 0x00000002, 0xF9718894, 0x00000000, 0x00000043, 0x00000002, RemoveEncounter, 0x00000018, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802520D8_812958 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF9B, 0x0000000A, 0x00000002, 0xF8405C7C, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A50004, 0x00A50001, 0x00000010, 0x00030026, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A50004, 0x00A50001, 0x00000000, 0x00030027, 0x00000024, 0x00000002, 0xF5DE0180, 0xFFFFFF9B, 0x00000058, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlayerFaceNpc, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000059, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000000, 0x00000100, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50002, 0x00000043, 0x00000003, SetNpcSpeed, 0x00000000, 0xF24A8A80, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0xFFFFFEA2, 0xFFFFFEE8, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0xFFFFFF1A, 0xFFFFFEF2, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50001, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000000, 0x00000100, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000054, 0x000001C1, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0xFFFFFFB0, 0x0000000F, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateModel, 0x00000027, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50002, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0xFFFFFF5D, 0xFFFFFF27, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x0000004F, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000004E, 0x7FFFFE00, 0x00000043, 0x00000005, MakeLerp, 0xFFFFFFB0, 0x00000000, 0x0000000F, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateModel, 0x00000027, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000054, 0x000001C2, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0xFFFFFF6A, 0x0000000A, 0xFFFFFF60, 0x00000043, 0x00000003, SetNpcYaw, 0x00000000, 0x0000005A, 0x00000044, 0x00000001, D_80250D14_811594, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A50004, 0x00A50001, 0x00000010, 0x00030028, 0x00000018, 0x00000001, 0xFFFFFFA4, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A50004, 0x00A50001, 0x00000010, 0x00030035, 0x00000016, 0x00000001, 0x0000003D, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000010, 0x0003004C, 0x0000001B, 0x00000001, 0xFFFFFFD8, 0x0000000A, 0x00000002, 0xF8405C7D, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0003003E, 0x0000000F, 0x00000002, 0xF5DE0180, 0xFFFFFFF4, 0x0000000C, 0x00000002, 0xF5DE0180, 0x00000007, 0x00000024, 0x00000002, 0xFE363C80, 0x0003003D, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A50004, 0x00A50001, 0x00000000, 0xFE363C80, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, GetNpcPos, 0x00000000, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000002C, 0x00000002, 0xFE363C80, 0xFE363C83, 0x0000002C, 0x00000002, 0xFE363C81, 0xFE363C84, 0x0000002C, 0x00000002, 0xFE363C82, 0xFE363C85, 0x0000002F, 0x00000002, 0xFE363C80, 0xF24A8280, 0x0000002F, 0x00000002, 0xFE363C81, 0xF24A8280, 0x0000002F, 0x00000002, 0xFE363C82, 0xF24A8280, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xF24F2A80, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A50004, 0x00A50001, 0x00000000, 0x0003003F, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlayerFaceNpc, 0x00000000, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C7D, 0x00000001, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000000, 0x00000100, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50002, 0x00000043, 0x00000003, SetNpcSpeed, 0x00000000, 0xF24A8680, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0xFFFFFF56, 0xFFFFFF1F, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50001, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000031, 0x00000001, 0x00000046, 0x00000001, D_8024E740_80EFC0, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50002, 0x00000043, 0x00000003, SetNpcSpeed, 0x00000000, 0xF24A8680, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0xFFFFFEF7, 0xFFFFFED4, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50001, 0x00000046, 0x00000001, D_8024E7F0_80F070, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000031, 0x00000000, 0x00000024, 0x00000002, 0xF8405C7D, 0x00000001, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000000, 0x00000085, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000000, 0xFFFFFEAF, 0x00000014, 0xFFFFFE98, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000000, 0x00000100, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x0000004E, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000004F, 0x7FFFFE00, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8E80, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C7E, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A50004, 0x00A50001, 0x00000010, 0x00030040, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A50004, 0x00A50001, 0x00000010, 0x0003003B, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A50004, 0x00A50001, 0x00000010, 0x0003003B, 0x00000023, 0x00000000, 0x00000046, 0x00000001, D_8024E1F4_80EA74, 0x00000046, 0x00000001, D_8024E244_80EAC4, 0x0000000B, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802529FC_81327C -.word 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x00000085, 0x00000001, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0xFFFFFF9B, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x0000019A, 0x00000000, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000004E, 0x7FFFFE00, 0x00000021, 0x00000002, 0x0000003C, 0x0000003D, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000004F, 0x7FFFFE00, 0x0000001B, 0x00000001, 0xFFFFFFD8, 0x0000000A, 0x00000002, 0xF8405C7D, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000000, 0xFFFFFF79, 0x00000014, 0xFFFFFF06, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00A50006, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000004E, 0x7FFFFE00, 0x00000012, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000004F, 0x7FFFFE00, 0x00000013, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000004F, 0x7FFFFE00, 0x00000023, 0x00000000, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_802520D8_812958, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80252B60_8133E0 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000014, 0x00650104, 0x00650101, 0x00000000, 0x0003004D, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000015, 0x00650004, 0x00650001, 0x00000000, 0x0003004E, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000016, 0x00650204, 0x00650201, 0x00000000, 0x0003004F, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000017, 0x00650304, 0x00650301, 0x00000000, 0x00030050, 0x00000018, 0x00000001, 0xFFFFFF9B, 0x00000043, 0x00000007, AdjustCam, 0x00000000, 0xF24A8A80, 0x00000000, 0x0000012C, 0xF24AB680, 0xF24A5C80, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000014, 0x00650104, 0x00650101, 0x00000000, 0x00030051, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000015, 0x00650004, 0x00650001, 0x00000000, 0x00030052, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000016, 0x00650204, 0x00650201, 0x00000000, 0x00030053, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000017, 0x00650304, 0x00650301, 0x00000000, 0x00030054, 0x00000024, 0x00000002, 0xF8405C7C, 0x00000001, 0x00000043, 0x00000003, ResetCam, 0x00000000, 0x00000005, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80252CE4_813564 -.word 0x00000005, 0x00000001, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0xFFFFFF9B, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000014, 0x00000001, 0xFE363C81, 0x0000001B, 0x00000001, 0x000001CC, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000023, 0x00000000, 0x00000014, 0x00000001, 0xFE363C83, 0x00000021, 0x00000002, 0xFFFFFFCE, 0x00000046, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000002, PartnerCanUseAbility, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000046, 0x00000001, D_80250DFC_81167C, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80252E54_8136D4 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80252B60_8133E0, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_80252CE4_813564, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80252E8C_81370C -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80252B60_8133E0, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x0000000B, 0x00000002, 0xF5DE0180, 0x0000003C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, SetNpcPos, 0x0000001D, 0xFFFFFEEA, 0x00000014, 0xFFFFFE88, 0x00000043, 0x00000003, SetNpcYaw, 0x0000001D, 0x00000000, 0x00000008, 0x00000001, 0x00000028, 0x00000043, 0x00000002, SetPlayerSpeed, 0xF24A8680, 0x00000043, 0x00000004, PlayerMoveTo, 0xFFFFFEEC, 0xFFFFFECF, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x00030047, 0x00000043, 0x00000003, NpcFacePlayer, 0x0000001D, 0x00000005, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000005, GetNpcPos, 0x0000001D, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000009, SetCamProperties, 0x00000000, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x000000FA, 0x0000000F, 0xFFFFFFF7, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000001D, 0x00CD0004, 0x00CD0001, 0x00000000, 0x00030048, 0x00000043, 0x00000005, GetNpcPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x00030049, 0x00000043, 0x00000003, ResetCam, 0x00000000, 0x00000005, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000001D, 0x00CD0004, 0x00CD0001, 0x00000000, 0x0003004A, 0x00000056, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x0000001D, 0x00CD0002, 0x00000043, 0x00000005, NpcMoveTo, 0x0000001D, 0xFFFFFF1A, 0xFFFFFEFC, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0x0000001D, 0xFFFFFF47, 0xFFFFFF3E, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x0000001D, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000054, 0x000001C1, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C80, 0x00000008, 0x00000043, 0x00000006, RotateModel, 0x00000027, 0xFE363C80, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000005, 0x00000001, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFF8, 0x00000043, 0x00000006, RotateModel, 0x00000027, 0xFE363C80, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000054, 0x000001C2, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00A50004, 0x00A50001, 0x00000000, 0x0003004B, 0x00000024, 0x00000002, 0xF5DE0180, 0x0000003D, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025326C_813AEC -.word 0x00A50001, 0x00240020, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_80253298_813B18 -.word 0x00000000, D_8025326C_813AEC, 0xC3A88000, 0x41A00000, 0xC3B40000, 0x00402D09, D_802529FC_81327C, 0x00000000, 0x00000000, 0x0000001E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A50001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x001A0021 - -dlabel D_80253488_813D08 -.word 0x00000014, D_80248AC0_809340, 0x43FC8000, 0x00000000, 0x40A00000, 0x00402D09, D_80252E54_8136D4, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00650101, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x001A0027, 0x00000015, D_80248AC0_809340, 0x44048000, 0x00000000, 0xC20C0000, 0x00402D09, D_80252E8C_81370C, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00650001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x001A0028, 0x00000016, D_80248AC0_809340, 0x44070000, 0x00000000, 0x00000000, 0x00402D09, D_80252E8C_81370C, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00650201, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x001A0029, 0x00000017, D_80248AC0_809340, 0x44098000, 0x00000000, 0x420C0000, 0x00402D09, D_80252E8C_81370C, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00650301, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x001A002A - -dlabel D_80253C48_8144C8 -.word 0x00660003, 0x00660004, 0x0066000B, 0x00660014, 0xFFFFFFFF - -dlabel D_80253C5C_8144DC -.word 0x00000018, D_80248AC0_809340, 0x00000000, 0xC47A0000, 0x00000000, 0x00402F09, 0x00000000, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00660004, 0x00660002, 0x00660003, 0x00660003, 0x00660004, 0x00660004, 0x0066000A, 0x0066000A, 0x00660003, 0x00660003, 0x00660003, 0x00660003, 0x00660003, 0x00660003, 0x00660003, 0x00660003, 0x00000000, 0x00000000, D_80253C48_8144C8, 0x00000000, 0x00000019, D_80248AC0_809340, 0x00000000, 0xC47A0000, 0x00000000, 0x00402F09, 0x00000000, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00660104, 0x00660102, 0x00660103, 0x00660103, 0x00660104, 0x00660104, 0x0066010A, 0x0066010A, 0x00660103, 0x00660103, 0x00660103, 0x00660103, 0x00660103, 0x00660103, 0x00660103, 0x00660103, 0x00000000, 0x00000000, D_80253C48_8144C8, 0x00000000, 0x0000001A, D_80248AC0_809340, 0x00000000, 0xC47A0000, 0x00000000, 0x00402F09, 0x00000000, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00660204, 0x00660202, 0x00660203, 0x00660203, 0x00660204, 0x00660204, 0x0066020A, 0x0066020A, 0x00660203, 0x00660203, 0x00660203, 0x00660203, 0x00660203, 0x00660203, 0x00660203, 0x00660203, 0x00000000, 0x00000000, D_80253C48_8144C8, 0x00000000, 0x0000001B, D_80248AC0_809340, 0x00000000, 0xC47A0000, 0x00000000, 0x00402F09, 0x00000000, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00660304, 0x00660302, 0x00660303, 0x00660303, 0x00660304, 0x00660304, 0x0066030A, 0x0066030A, 0x00660303, 0x00660303, 0x00660303, 0x00660303, 0x00660303, 0x00660303, 0x00660303, 0x00660303, 0x00000000, 0x00000000, D_80253C48_8144C8, 0x00000000 - -dlabel D_8025441C_814C9C -.word 0x0000001D, D_80248B44_8093C4, 0x00000000, 0xC47A0000, 0x00000000, 0x11300F08, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00CD0001, 0x00CD0002, 0x00CD0001, 0x00CD0001, 0x00CD0001, 0x00CD0001, 0x00CD0001, 0x00CD0001, 0x00CD0001, 0x00CD0001, 0x00CD0001, 0x00CD0001, 0x00CD0001, 0x00CD0001, 0x00CD0001, 0x00CD0001, 0x00000000, 0x00000000, 0x00000000, 0x001A001F - -dlabel D_8025460C_814E8C -.word 0x0000000A, 0x00000002, 0xF8405C80, 0x00000000, 0x00000024, 0x00000002, 0xF8405C80, 0x00000001, 0x00000024, 0x00000002, 0xF97188C1, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00A70004, 0x00A70001, 0x00000000, 0x00030000, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF97188C1, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00A70004, 0x00A70001, 0x00000000, 0x00030001, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xF97188C1, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00A70004, 0x00A70006, 0x00000000, 0x00030002, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802546EC_814F6C -.word 0x00000024, 0x00000002, 0xFE363C80, 0xF8405C84, 0x00000027, 0x00000002, 0xFE363C80, 0xF8405C85, 0x00000027, 0x00000002, 0xFE363C80, 0xF8405C86, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000003, 0x0000000C, 0x00000002, 0xF5DE0180, 0x00000029, 0x00000024, 0x00000002, 0xFE363C81, 0x00030005, 0x00000012, 0x00000000, 0x00000043, 0x00000001, func_80244984_805204, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00030006, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00030005, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00A70004, 0x00A70005, 0x00000000, 0xFE363C81, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C81, 0x00000000, 0x00000024, 0x00000002, 0xF8405C81, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00A70004, 0x00A70005, 0x00000000, 0x00030003, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00A70004, 0x00A70005, 0x00000000, 0x00030004, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80254858_8150D8 -.word 0x00000030, 0x00000000 - -dlabel D_80254860_8150E0 -.word 0x0000000A, 0x00000002, 0xF8405C82, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00A70004, 0x00A70005, 0x00000000, 0x0003000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00A70004, 0x00A70005, 0x00000000, 0x00030008, 0x00000024, 0x00000002, 0xFE363C80, D_80254858_8150D8, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000046, 0x00000001, D_8024DA90_80E310, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00A70004, 0x00A70005, 0x00000000, 0x0003000B, 0x0000001C, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00A70004, 0x00A70005, 0x00000000, 0x00030009, 0x00000008, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x0000011E, 0x00000024, 0x00000002, 0xFE363C83, 0x00000002, 0x00000046, 0x00000001, D_80248C34_8094B4, 0x00000043, 0x00000003, AddBadge, 0xFE363C80, 0xFE363C81, 0x00000024, 0x00000002, 0xF8405C82, 0x00000001, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000002, 0x00A70004, 0x00A70001, 0x00000000, 0x00030011, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802549F8_815278 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0x00000002, 0x00A70004, 0x00A70001, 0x00000000, 0x0003000C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80254A28_8152A8 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0x00000002, 0x00A70004, 0x00A70001, 0x00000000, 0x00030014, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80254A58_8152D8 -.word 0x00000043, 0x00000001, func_80244984_805204, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000002, 0x00A70004, 0x00A70001, 0x00000000, 0x0003000F, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xF8405C84, 0x00000027, 0x00000002, 0xFE363C80, 0xF8405C85, 0x00000027, 0x00000002, 0xFE363C80, 0xF8405C86, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000003, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000002, 0x00A70004, 0x00A70001, 0x00000000, 0x0003000E, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000002, 0x00A70004, 0x00A70001, 0x00000000, 0x0003000D, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80254B44_8153C4 -.word 0x0000000A, 0x00000002, 0xF8405C82, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000002, 0x00A70004, 0x00A70005, 0x00000000, 0x00030012, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000002, 0x00A70004, 0x00A70001, 0x00000000, 0x00030010, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80254BB4_815434 -.word 0x00000043, 0x00000005, SetNpcPos, 0x00000001, 0xFFFFFF06, 0x00000000, 0x00000127, 0x00000003, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00A70000, 0x00000043, 0x00000005, NpcMoveTo, 0x00000001, 0xFFFFFEFC, 0x00000119, 0x00000004, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00A70002, 0x00000043, 0x00000005, NpcMoveTo, 0x00000001, 0xFFFFFE66, 0x00000119, 0x0000003C, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00A70001, 0x00000043, 0x00000006, RotateGroup, 0x00000093, 0x0000003C, 0x00000000, 0x00000000, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetNpcPos, 0x00000001, 0xFFFFFE69, 0x00000000, 0x00000119, 0x00000043, 0x00000006, RotateGroup, 0x00000093, 0x00000028, 0x00000000, 0x00000000, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetNpcPos, 0x00000001, 0xFFFFFE6C, 0x00000000, 0x00000119, 0x00000043, 0x00000006, RotateGroup, 0x00000093, 0x00000014, 0x00000000, 0x00000000, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetNpcPos, 0x00000001, 0xFFFFFE6F, 0x00000000, 0x00000119, 0x00000043, 0x00000006, RotateGroup, 0x00000093, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00A70000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000002, 0x0000005A, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00A70006, 0x00000008, 0x00000001, 0x0000001E, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x00000002, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000002, 0x00A70007, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, TranslateModel, 0x00000096, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000005, TranslateModel, 0x00000096, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000005, TranslateModel, 0x00000096, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000005, TranslateModel, 0x00000096, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000002, 0x00A70001, 0x00000008, 0x00000001, 0x00000014, 0x00000006, 0x00000000, 0x00000005, 0x00000001, 0x00000003, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000002, 0x00A70007, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, TranslateModel, 0x00000096, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000005, TranslateModel, 0x00000096, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000005, TranslateModel, 0x00000096, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000005, TranslateModel, 0x00000096, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000002, 0x00A70001, 0x00000008, 0x00000001, 0x00000002, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00A70000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00A70001, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00A70002, 0x00000043, 0x00000005, NpcMoveTo, 0x00000001, 0xFFFFFF06, 0x00000127, 0x0000003C, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00A70001, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00A70007, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000002, 0x00A70005, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000002, 0x00A70000, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000002, 0xFFFFFFA6, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00A70004, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000002, 0x00A70000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00A70006, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000002, 0x00A70004, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00A70004, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000002, 0x00A70001, 0x00000008, 0x00000001, 0x00000014, 0x00000056, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x0000005A, 0x00000028, 0x00000002, 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateGroup, 0x00000093, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x0000000A, ShowEmote, 0x00000002, 0x00000001, 0xFFFFFFD3, 0x00000014, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000002, 0x00A70000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000001, 0x00A70000, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80255280_815B00 -.word 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0xFFFFFF1F, 0x00000000, 0x0000014A, 0x00000005, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x0000000C, 0x00000002, 0xFE363C81, 0x00000032, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000013, 0x00000000, 0x00000014, 0x00000001, 0xFE363C83, 0x00000021, 0x00000002, 0x00000118, 0x0000017C, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000003, InterpPlayerYaw, 0x0000010E, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFE7, 0x00000043, 0x00000003, SetNpcSpeed, 0xFFFFFFFF, 0xF24A8A80, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A70003, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0xFE363C80, 0xFE363C82, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A70001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000002, 0x00A70004, 0x00A70005, 0x00000000, 0x00030013, 0x00000056, 0x00000000, 0x00000043, 0x00000004, func_802D1270, 0xFFFFFEE8, 0x0000014A, 0xF24A8A80, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetNpcSpeed, 0xFFFFFFFF, 0xF24A8A80, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A70003, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0xFFFFFECF, 0x0000014A, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A70001, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000002, 0x00A70004, 0x00A70005, 0x00000000, 0x00030014, 0x00000024, 0x00000002, 0xF8405C83, 0x00000001, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80255500_815D80 -.word 0x00000024, 0x00000002, 0xFE363C80, 0xF24B4E80, 0x00000024, 0x00000002, 0xFE363C81, 0xF2477A80, 0x00000024, 0x00000002, 0xFE363C82, 0xF245CA80, 0x00000024, 0x00000002, 0xFE363C83, 0xF2511E80, 0x00000043, 0x00000003, GetNpcPointer, 0x00000002, 0xFE363C87, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, func_802449F8_805278, 0x00000043, 0x00000005, SetNpcPos, 0x00000002, 0xFE363C84, 0x00000000, 0xFE363C85, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802555AC_815E2C -.word 0x00000258, 0x00000000, 0x00000256, 0x00000000, 0x00000253, 0x00000000, 0x0000024E, 0x00000000, 0x00000247, 0x00000000, 0x0000023E, 0x00000000, 0x00000232, 0x00000000, 0x00000223, 0x00000000, 0x00000211, 0x00000000, 0x000001FD, 0x00000000, 0x000001E9, 0x00000000, 0x000001D5, 0x00000000, 0x000001C1, 0x00000000, 0x000001AD, 0x00000000, 0x00000199, 0x00000000, 0x00000185, 0x00000000, 0x00000171, 0x00000000, 0x0000015D, 0x00000000, 0x00000149, 0x00000000, 0x00000135, 0x00000000, 0x00000121, 0x00000000, 0x0000010D, 0x00000000, 0x000000F9, 0x00000000, 0x000000E5, 0x00000000, 0x000000D1, 0x00000000, 0x000000BD, 0x00000000, 0x000000A9, 0x00000000, 0x00000095, 0x00000000, 0x00000081, 0x00000000, 0x0000006D, 0x00000000, 0x00000059, 0x00000000, 0x00000045, 0x00000000, 0x00000031, 0x00000000, 0x0000001D, 0x00000000, 0x00000009, 0x00000000, 0xFFFFFFF5, 0xFFFFFFF5, 0xFFFFFFF0, 0xFFFFFFF0, 0xFFFFFFEE, 0xFFFFFFEE, 0xFFFFFFED, 0xFFFFFFED, 0xFFFFFFED, 0xFFFFFFED, 0xFFFFFFED, 0xFFFFFFED, 0xFFFFFFED, 0xFFFFFFED, 0xFFFFFFF1, 0xFFFFFFF1, 0xFFFFFFFB, 0xFFFFFFFB, 0x00000002, 0x00000002, 0x00000003, 0x00000003, 0x00000001, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8025573C_815FBC -.word 0x00000024, 0x00000002, 0xFAA2B58B, 0x00000001, 0x00000043, 0x00000003, SetNpcYaw, 0x00000001, 0x0000010E, 0x00000056, 0x00000000, 0x00000043, 0x00000006, PlaySoundAt, 0x000000A9, 0x00000000, 0xFFFFFF24, 0x00000025, 0x0000010F, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0xFFFFFF24, 0x0000001E, 0x00000009, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateModel, 0x00000094, 0xFE363C80, 0x00000001, 0x00000000, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000004, 0x00000056, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0xFFFFFF88, 0x0000000A, 0x00000007, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000001, UpdateLerp, 0x0000002F, 0x00000002, 0xFE363C80, 0xF24AA280, 0x00000043, 0x00000005, TranslateModel, 0x00000096, 0x00000000, 0xFE363C80, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x00000064, 0x00000005, 0x00000007, 0x00000003, 0x00000001, 0x00000002, 0x00000043, 0x00000001, UpdateLerp, 0x0000002F, 0x00000002, 0xFE363C80, 0xF24AA280, 0x00000043, 0x00000005, TranslateModel, 0x00000098, 0x00000000, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000008D, 0x00000001, 0x00000043, 0x00000001, func_80244CC0_805540, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000043, 0x000000AA, 0x00000000, 0x00000030, 0x00000001, D_802555AC_815E2C, 0x00000005, 0x00000001, 0x00000032, 0x00000032, 0x00000002, 0xFE363C80, 0xFD050F80, 0x00000043, 0x00000006, RotateGroup, 0x00000093, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x0000002F, 0x00000002, 0xFE363C80, 0xF24AA280, 0x00000024, 0x00000002, 0xFD050F81, 0xFE363C80, 0x00000043, 0x00000006, RotateGroup, 0x00000091, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x0000002F, 0x00000002, 0xFE363C80, 0xF24D9A80, 0x0000002C, 0x00000002, 0xFE363C80, 0xF24A7E80, 0x00000043, 0x00000005, ScaleGroup, 0x00000093, 0xFE363C80, 0x00000001, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0x00000001, 0xFFFFFF2B, 0x00000006, 0x00000100, 0x00000010, 0x0000000A, 0x00000002, 0xF8405C84, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x00000040, 0x7FFFFE00, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C85, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x0000003F, 0x7FFFFE00, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C86, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x0000003E, 0x7FFFFE00, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80255B30_8163B0 -.word 0x00000024, 0x00000002, 0xFAA2B58B, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C84, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000040, 0x7FFFFE00, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C85, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000003F, 0x7FFFFE00, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C86, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000003E, 0x7FFFFE00, 0x00000013, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0x00000001, 0xFFFFFF24, 0xFFFFFFCA, 0x00000105, 0x00000010, 0x00000056, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000043, 0x000000AC, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x00000258, 0x00000032, 0x00000000, 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateGroup, 0x00000093, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x0000002F, 0x00000002, 0xFE363C80, 0xF24AA280, 0x00000024, 0x00000002, 0xFD050F81, 0xFE363C80, 0x00000043, 0x00000006, RotateGroup, 0x00000091, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x0000002F, 0x00000002, 0xFE363C80, 0xF24D9A80, 0x0000002C, 0x00000002, 0xFE363C80, 0xF24A7E80, 0x00000043, 0x00000005, ScaleGroup, 0x00000093, 0xFE363C80, 0x00000001, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000008D, 0x00000000, 0x00000043, 0x00000001, mac_01_UnkMachiFunc, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0xFFFFFF24, 0x00000000, 0x00000014, 0x00000001, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateModel, 0x00000094, 0xFE363C80, 0x00000001, 0x00000000, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, PlaySoundAt, 0x000000AB, 0x00000000, 0xFFFFFF24, 0x00000025, 0x0000010F, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000056, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0xFFFFFF88, 0x00000000, 0x0000000A, 0x0000000A, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000001, UpdateLerp, 0x0000002F, 0x00000002, 0xFE363C80, 0xF24AA280, 0x00000043, 0x00000005, TranslateModel, 0x00000096, 0x00000000, 0xFE363C80, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000064, 0x00000000, 0x00000005, 0x0000000A, 0x00000003, 0x00000001, 0x00000002, 0x00000043, 0x00000001, UpdateLerp, 0x0000002F, 0x00000002, 0xFE363C80, 0xF24AA280, 0x00000043, 0x00000005, TranslateModel, 0x00000098, 0x00000000, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000001F, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80255F60_8167E0 -.word 0x0000000F, 0x00000002, 0xFD050F8D, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xFD050F8E, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFAA2B58B, 0x00000001, 0x00000024, 0x00000002, 0xFD050F8D, 0x00000001, 0x00000046, 0x00000001, D_8025573C_815FBC, 0x00000024, 0x00000002, 0xFD050F8D, 0x00000002, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80255FEC_81686C -.word 0x0000000A, 0x00000002, 0xFD050F8D, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFD050F8E, 0x00000001, 0x00000024, 0x00000002, 0xFAA2B58B, 0x00000000, 0x00000003, 0x00000001, 0x0000000A, 0x0000000A, 0x00000002, 0xFD050F8D, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFD050F8E, 0x00000002, 0x00000046, 0x00000001, D_80255B30_8163B0, 0x00000024, 0x00000002, 0xFD050F8D, 0x00000000, 0x00000024, 0x00000002, 0xFD050F8E, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802560B4_816934 -.word 0x00000024, 0x00000002, 0xFD050F8D, 0x00000000, 0x00000024, 0x00000002, 0xFD050F8E, 0x00000000, 0x00000024, 0x00000002, 0xF97188C0, 0x00000000, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFFB6, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025460C_814E8C, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_80254BB4_815434, 0x00000018, 0x00000001, 0xFFFFFFF3, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_802546EC_814F6C, 0x00000024, 0x00000002, 0xF97188C0, 0x00000001, 0x0000001C, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C82, 0x00000001, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_802546EC_814F6C, 0x00000024, 0x00000002, 0xF97188C0, 0x00000001, 0x00000012, 0x00000000, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80254860_8150E0, 0x00000043, 0x00000005, SetNpcPos, 0x00000001, 0xFFFFFF06, 0x00000000, 0x00000127, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000024, 0x00000002, 0xF97188C1, 0x00000000, 0x00000043, 0x00000004, SetModelFlags, 0x00000092, 0x00000200, 0x00000000, 0x00000043, 0x00000003, EnableGroup, 0x00000091, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000003E, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000003F, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000040, 0x7FFFFE00, 0x00000043, 0x00000006, RotateGroup, 0x00000091, 0x0000003C, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000006, RotateGroup, 0x00000093, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, ScaleGroup, 0x00000093, 0xF24A7FB4, 0x00000001, 0xF24A7FB4, 0x00000024, 0x00000002, 0xFD050F81, 0x0000003C, 0x00000043, 0x00000004, MakeLocalVertexCopy, 0x00000000, 0x0000008D, 0x00000001, 0x00000043, 0x00000004, SetCustomGfxBuilders, 0x00000000, func_80244B98_805418, 0x00000000, 0x00000043, 0x00000004, SetModelCustomGfx, 0x0000008D, 0x00000000, 0xFFFFFFFF, 0x0000000A, 0x00000002, 0xF97188C0, 0x00000001, 0x00000047, 0x00000005, D_80255F60_8167E0, 0x00000080, 0x00000042, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80255FEC_81686C, 0x00000080, 0x0000000E, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetNpcJumpscale, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, SetModelFlags, 0x0000008E, 0x00000004, 0x00000000, 0x00000043, 0x00000004, SetModelFlags, 0x0000008F, 0x00000004, 0x00000000, 0x00000043, 0x00000004, SetModelFlags, 0x00000090, 0x00000004, 0x00000000, 0x00000043, 0x00000001, mac_01_UnkMachiFunc, 0x00000003, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C84, 0x00000000, 0x00000043, 0x00000002, GetModelCenter, 0x00000090, 0x00000043, 0x00000002, func_80244E10_805690, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C85, 0x00000000, 0x00000043, 0x00000002, GetModelCenter, 0x0000008F, 0x00000043, 0x00000002, func_80244E10_805690, 0x00000001, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C86, 0x00000000, 0x00000043, 0x00000002, GetModelCenter, 0x0000008E, 0x00000043, 0x00000002, func_80244E10_805690, 0x00000002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000057, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802564C0_816D40 -.word 0x00000043, 0x00000005, SetNpcScale, 0x00000002, 0xF24A7D80, 0xF24A7D80, 0xF24A7D80, 0x00000043, 0x00000005, SetNpcPos, 0x00000002, 0xFFFFFF1A, 0x00000000, 0x00000140, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000002, 0xFFFFFFA6, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000002, 0x00A70001, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFFB6, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_802549F8_815278, 0x00000018, 0x00000001, 0xFFFFFFCA, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80254A28_8152A8, 0x0000000A, 0x00000002, 0xF8405C83, 0x00000000, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_80255280_815B00, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0xFFFFFECF, 0x00000000, 0x0000014A, 0x00000043, 0x00000003, SetNpcYaw, 0xFFFFFFFF, 0x0000005A, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF3, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80254A58_8152D8, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_80255500_815D80, 0x0000001C, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C82, 0x00000001, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80254A58_8152D8, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_80255500_815D80, 0x00000012, 0x00000000, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80254B44_8153C4, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80256684_816F04 -.word 0x00A70000, 0x00A70001, 0x00A70002, 0x00A70004, 0x00A70005, 0x00A70006, 0x00A70007, 0xFFFFFFFF - -dlabel D_802566A4_816F24 -.word 0x00000000, 0x00240018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000 - -dlabel D_802566D0_816F50 -.word 0x00000000, 0x001B0012, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000 - -dlabel D_802566FC_816F7C -.word 0x00000001, D_802566A4_816F24, 0xC3550000, 0xC2580000, 0x43800000, 0x00002D09, D_802560B4_816934, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A70001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80256684_816F04, 0x001A0024, 0x00000002, D_802566D0_816F50, 0xC37A0000, 0x00000000, 0x43838000, 0x00002D09, D_802564C0_816D40, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A70001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80256684_816F04, 0x001A0025 - -dlabel D_80256ADC_81735C -.word 0x00000001, 0x00000054, 0x0020001B, 0x0020001C - -dlabel D_80256AEC_81736C -.word 0x0020001D, 0x00000001, 0x00000054, 0x00200018, 0x00200019, 0x0020001A, 0x00000001, 0x00000054, 0x0020001E, 0x0020001F, 0x00200020, 0x00000002, 0x00000054, 0x00200027, 0x00200028, 0x00200029, 0x00000002, 0x00000054, 0x00200024, 0x00200025, 0x00200026, 0x00000002, 0x00000054, 0x00200021, 0x00200022, 0x00200023, 0x00000003, 0x00000054, 0x0020002D, 0x0020002E, 0x0020002F, 0x00000003, 0x00000054, 0x00200030, 0x00200031, 0x00200032, 0x00000003, 0x00000054, 0x0020002A, 0x0020002B, 0x0020002C, 0x00000004, 0x00000054, 0x00200033, 0x00200034, 0x00200035, 0x00000004, 0x00000054, 0x00200036, 0x00200037, 0x00200038, 0x00000009, 0x00000054, 0x00200039, 0x0020003A, 0x0020003B, 0x00000009, 0x00000054, 0x0020003C, 0x0020003D, 0x0020003E, 0x00000006, 0x00000054, 0x0020003F, 0x00200040, 0x00200041, 0x00000006, 0x00000054, 0x00200042, 0x00200043, 0x00200044, 0x00000007, 0x00000054, 0x00200048, 0x00200049, 0x0020004A, 0x00000007, 0x00000054, 0x00200045, 0x00200046, 0x00200047, 0x00000008, 0x00000054, 0x0020004E, 0x0020004F, 0x00200050, 0x00000008, 0x00000054, 0x0020004B, 0x0020004C, 0x0020004D - -dlabel D_80256C58_8174D8 -.word 0x00000069, 0x00000000 - -dlabel D_80256C60_8174E0 -.word 0x00000043, 0x00000003, FindKeyItem, 0x00000069, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x008A0002, 0x008A0001, 0x00000000, 0x00030060, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x008A0002, 0x008A0001, 0x00000000, 0x00030061, 0x00000024, 0x00000002, 0xFE363C80, D_80256C58_8174D8, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000046, 0x00000001, D_8024DA90_80E310, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x008A0002, 0x008A0001, 0x00000000, 0x00030063, 0x0000001C, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x008A0002, 0x008A0001, 0x00000000, 0x00030062, 0x00000024, 0x00000002, 0xF8405C8A, 0x00000001, 0x00000008, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x0000015C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000046, 0x00000001, D_80248C34_8094B4, 0x00000043, 0x00000002, AddStarPieces, 0x00000001, 0x00000008, 0x00000001, 0x0000000A, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80256DDC_81765C -.word 0x0000000F, 0x00000002, 0xF5DE0180, 0xFFFFFFF3, 0x0000000A, 0x00000002, 0xF8405C8A, 0x00000000, 0x00000046, 0x00000001, D_80256C60_8174E0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C88, 0x00000000, 0x00000024, 0x00000002, 0xF8405C88, 0x00000001, 0x00000043, 0x00000001, func_80244E90_805710, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x008A0002, 0x008A0001, 0x00000000, 0x00030055, 0x00000023, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000001, func_80244E90_805710, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x008A0002, 0x008A0001, 0x00000000, 0x00030057, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x008A0002, 0x008A0001, 0x00000000, 0x00030056, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, func_80245018_805898, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, func_80245028_8058A8, 0x00000008, 0x00000001, 0x00000005, 0x0000000A, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x008A0002, 0x008A0001, 0x00000000, 0x00030059, 0x00000043, 0x00000002, ShowChoice, 0x001E000D, 0x00000043, 0x00000001, CloseMessage, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000004, 0x00000001, 0x00000063, 0x00000012, 0x00000000, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C81, 0x00000043, 0x00000001, func_8024522C_805AAC, 0x00000008, 0x00000001, 0x00000005, 0x0000000A, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, func_80245440_805CC0, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFC, 0x0000005A, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x008A0002, 0x008A0001, 0x00000000, 0x0003005C, 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0xFE363C80, 0x000000A0, 0x00000028, 0x00000008, 0x00000001, 0x00000005, 0x0000000C, 0x00000002, 0xF5DE0180, 0xFFFFFFB6, 0x00000004, 0x00000001, 0x00000063, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x008A0002, 0x008A0001, 0x00000000, 0x0003005A, 0x00000043, 0x00000002, ShowChoice, 0x001E000D, 0x00000043, 0x00000001, CloseMessage, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000003, 0x00000001, 0x00000063, 0x0000000A, 0x00000002, 0xF8405C89, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x008A0002, 0x008A0001, 0x00000000, 0x0003005D, 0x00000024, 0x00000002, 0xF8405C89, 0x00000001, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x008A0002, 0x008A0001, 0x00000000, 0x0003005E, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802571E0_817A60 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x008A0002, 0x008A0001, 0x00000000, 0x00010043, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80257210_817A90 -.word 0x00000043, 0x00000004, SetNpcCollisionSize, 0xFFFFFFFF, 0x00000024, 0x0000002A, 0x00000014, 0x00000001, 0xF5DE0180, 0x0000001B, 0x00000001, 0x00000060, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_802571E0_817A60, 0x0000001C, 0x00000000, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80256DDC_81765C, 0x00000023, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0xFFFFFFDC, 0x00000024, 0x00000002, 0xF8405C1A, 0x00000001, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x0000000B, 0x00000024, 0x00000002, 0xF8405C19, 0x00000001, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF8405C1B, 0x00000001, 0x0000000F, 0x00000002, 0xF5DE0180, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xF8405C1E, 0x00000001, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000007, 0x00000024, 0x00000002, 0xF8405C1D, 0x00000001, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x0000003C, 0x00000024, 0x00000002, 0xF8405C1C, 0x00000001, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000029, 0x00000024, 0x00000002, 0xF8405C21, 0x00000001, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0xFFFFFFBC, 0x00000024, 0x00000002, 0xF8405C1F, 0x00000001, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x0000004D, 0x00000024, 0x00000002, 0xF8405C20, 0x00000001, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000007, 0x00000024, 0x00000002, 0xF8405C22, 0x00000001, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE01FB, 0x00000002, 0x00000024, 0x00000002, 0xF8405C23, 0x00000001, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000029, 0x00000024, 0x00000002, 0xF8405C24, 0x00000001, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0xFFFFFFF3, 0x00000024, 0x00000002, 0xF8405C25, 0x00000001, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000059, 0x00000024, 0x00000002, 0xF8405C26, 0x00000001, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000029, 0x00000024, 0x00000002, 0xF8405C27, 0x00000001, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x0000002B, 0x00000024, 0x00000002, 0xF8405C29, 0x00000001, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x0000005B, 0x00000024, 0x00000002, 0xF8405C28, 0x00000001, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x0000003C, 0x00000024, 0x00000002, 0xF8405C2B, 0x00000001, 0x00000013, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000059, 0x00000024, 0x00000002, 0xF8405C2A, 0x00000001, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80257568_817DE8 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00040006, 0x00040001, 0x00000000, 0x00030064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80257598_817E18 -.word 0x00040000, 0x00040001, 0x00040006, 0xFFFFFFFF - -dlabel D_802575A8_817E28 -.word 0x00000043, 0x00000004, SetNpcCollisionSize, 0xFFFFFFFF, 0x00000025, 0x0000001A, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80257568_817DE8, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00040001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802575F8_817E78 -.word 0x00000043, 0x00000005, GetNpcPos, 0x00000006, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C83, 0x00000014, 0x00000043, 0x00000007, MakeItemEntity, 0x00000069, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000005, 0x00000001, 0x0000008C, 0x00000043, 0x00000005, GetNpcPos, 0x00000006, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C83, 0x00000014, 0x00000043, 0x00000005, SetItemPos, 0xFE363C89, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000002, RemoveItemEntity, 0xFE363C89, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802576EC_817F6C -.word 0x00000043, 0x00000005, SetNpcPos, 0x00000006, 0x00000165, 0x00000014, 0xFFFFFE48, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000006, 0x003B0004, 0x00000044, 0x00000001, D_802575F8_817E78, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000008, 0x00000001, 0x0000003C, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000006, 0x0000032C, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0x00000006, 0x000000F7, 0x00000014, 0xFFFFFE48, 0x00000014, 0x00000024, 0x00000002, 0xFE363C80, 0x00000006, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFE363C80, 0x0000203F, 0x00000000, 0x00000045, 0x00000002, D_8024E6F8_80EF78, 0xFE363C8A, 0x00000043, 0x00000005, NpcMoveTo, 0x00000006, 0x000000B4, 0xFFFFFE66, 0x00000014, 0x00000043, 0x00000005, NpcMoveTo, 0x00000006, 0x00000096, 0xFFFFFEB3, 0x00000008, 0x00000049, 0x00000001, 0xFE363C8A, 0x00000043, 0x00000005, SetNpcPos, 0x00000006, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000024, 0x00000002, 0xF8405C8D, 0x00000001, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x0000000C, 0x00000002, 0xF5DE0180, 0xFFFFFFF3, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xF5DE0180, 0x00000005, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000B, 0x00000002, 0xF8405C8D, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000003, 0x008A0002, 0x008A0004, 0x00000000, 0x0003005F, 0x00000044, 0x00000001, D_802576EC_817F6C, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80257900_818180 -.word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, GetNpcPos, 0x00000012, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000009, SetCamProperties, 0x00000000, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000012C, 0x00000010, 0xFFFFFFF8, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000012, 0x00A80004, 0x00A80001, 0x00000000, 0x0003006F, 0x00000043, 0x00000003, ResetCam, 0x00000000, 0x00000004, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802579AC_81822C -.word 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x000000AA, 0x0000001B, 0x0000017C, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x003B0003, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000005A, 0x00000001, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x0000032C, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0x000000B4, 0x0000001B, 0x00000118, 0x0000000F, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x000000DC, 0x000000FA, 0x0000000F, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x0000032C, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0x00000136, 0x0000001B, 0x000000FA, 0x0000000F, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x0000015E, 0x00000118, 0x0000000F, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000001, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x0000032C, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0x00000168, 0x0000001B, 0x0000017C, 0x0000000F, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x0000012C, 0x000001C2, 0x0000000F, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x000000E6, 0x000001C2, 0x0000000F, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x000000AA, 0x0000017C, 0x0000000F, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80257B64_8183E4 -.word 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x0000015E, 0x0000001B, 0x00000118, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x003B0003, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000001, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x0000032C, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0x00000168, 0x0000001B, 0x0000017C, 0x0000000F, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x0000012C, 0x000001C2, 0x0000000F, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x000000E6, 0x000001C2, 0x0000000F, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x000000AA, 0x0000017C, 0x0000000F, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000005A, 0x00000001, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x0000032C, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0x000000B4, 0x0000001B, 0x00000118, 0x0000000F, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x000000DC, 0x000000FA, 0x0000000F, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x0000032C, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0x00000136, 0x0000001B, 0x000000FA, 0x0000000F, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x0000015E, 0x00000118, 0x0000000F, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80257D1C_81859C -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xF8405C90, 0x00000027, 0x00000002, 0xFE363C8A, 0xF8405C91, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x003B000C, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFF, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0xFE363C80, 0x0000001B, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000003, SetNpcSpeed, 0xFFFFFFFF, 0xF24A9A80, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x003B0003, 0x00000043, 0x0000000A, ShowSweat, 0xFFFFFFFF, 0x00000001, 0xFFFFFFD3, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000014, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFE363C80, 0x0000203F, 0x00000000, 0x00000045, 0x00000002, D_8024E6F8_80EF78, 0xFE363C89, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x000000A0, 0x00000190, 0x00000000, 0x00000049, 0x00000001, 0xFE363C89, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000002, 0x00000044, 0x00000001, D_80257900_818180, 0x00000013, 0x00000000, 0x00000043, 0x0000000A, ShowSweat, 0xFFFFFFFF, 0x00000001, 0xFFFFFFD3, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000014, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x0000032C, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0x0000006E, 0x00000014, 0x000001A4, 0x00000000, 0x00000043, 0x0000000A, ShowSweat, 0xFFFFFFFF, 0x00000001, 0xFFFFFFD3, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000014, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x0000032C, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0x00000028, 0x00000000, 0x000001C2, 0x00000000, 0x00000043, 0x0000000A, ShowSweat, 0xFFFFFFFF, 0x00000001, 0xFFFFFFD3, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000014, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0xFFFFFFE2, 0x00000226, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0xFFFFFFE2, 0x000002BC, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80258004_818884 -.word 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000002, GetOwnerEncounterTrigger, 0xFE363C81, 0x00000014, 0x00000001, 0xFE363C81, 0x00000016, 0x00000001, 0x00000004, 0x00000016, 0x00000001, 0x00000002, 0x00000016, 0x00000001, 0x00000006, 0x0000001C, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x0000000E, 0x00000002, 0xFE363C81, 0x00000032, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000E, 0x00000002, 0xFE363C83, 0x00000050, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x000000E1, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x0000203E, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80258114_818994 -.word 0x00000046, 0x00000001, D_80258004_818884, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF8405C90, 0x00000001, 0x00000043, 0x00000003, BindNpcAI, 0xFFFFFFFF, D_80257D1C_81859C, 0x00000043, 0x00000003, SetSelfEnemyFlagBits, 0x1F000000, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80258188_818A08 -.word 0x00000046, 0x00000001, D_80258004_818884, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF8405C91, 0x00000001, 0x00000043, 0x00000003, BindNpcAI, 0xFFFFFFFF, D_80257D1C_81859C, 0x00000043, 0x00000003, SetSelfEnemyFlagBits, 0x1F000000, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802581FC_818A7C -.word 0x0000000A, 0x00000002, 0xF8405C90, 0x00000000, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_802579AC_81822C, 0x00000043, 0x00000003, BindNpcHit, 0xFFFFFFFF, D_80258114_818994, 0x00000012, 0x00000000, 0x00000043, 0x00000002, RemoveNpc, 0xFFFFFFFF, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80258264_818AE4 -.word 0x0000000A, 0x00000002, 0xF8405C91, 0x00000000, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_80257B64_8183E4, 0x00000043, 0x00000003, BindNpcHit, 0xFFFFFFFF, D_80258188_818A08, 0x00000012, 0x00000000, 0x00000043, 0x00000002, RemoveNpc, 0xFFFFFFFF, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802582CC_818B4C -.word 0x0000000A, 0x00000002, 0xF5DE0180, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00010045, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00030077, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00990003, 0x00990002, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025833C_818BBC -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000021, 0x00000002, 0x00000027, 0x0000002A, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x000000C8, 0x00000014, 0x000001F4, 0x00000043, 0x00000003, SetNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_802582CC_818B4C, 0x00000016, 0x00000001, 0x00000060, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x000000E6, 0x0000001E, 0x00000190, 0x00000043, 0x00000003, SetNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_802582CC_818B4C, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80258404_818C84 -.byte 0x00, 0x00, 0x00 - -dlabel D_80258407_818C87 -.byte 0x00 - -dlabel D_80258408_818C88 -.word 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000059, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000005A, 0x7FFFFE00, 0x00000043, 0x00000003, EnableModel, 0x000000B3, 0x00000001, 0x00000043, 0x00000004, SetModelCustomGfx, 0x000000B3, 0x00000004, 0xFFFFFFFF, 0x00000043, 0x00000004, SetCustomGfxBuilders, 0x00000004, func_802454B4_805D34, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x000000FF, 0x0000001E, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000002, func_80245488_805D08, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80258504_818D84 -.word 0x00000024, 0x00000002, 0xFE363C81, 0x000000FF, 0x00000005, 0x00000001, 0xFE363C80, 0x00000005, 0x00000001, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0xFFFFFFFB, 0x00000043, 0x00000002, func_80245488_805D08, 0xFE363C81, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000005, 0x00000001, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x00000005, 0x00000043, 0x00000002, func_80245488_805D08, 0xFE363C81, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802585B8_818E38 -.word 0x00000043, 0x00000005, MakeLerp, 0x000000FF, 0x00000000, 0x0000001E, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000002, func_80245488_805D08, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x000000B3, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x00000059, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x0000005A, 0x7FFFFE00, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80258684_818F04 -.word 0x00000043, 0x00000009, SetCamProperties, 0x00000000, 0x00000001, 0x0000010A, 0x0000001B, 0x00000175, 0x0000012C, 0x0000000F, 0xFFFFFFFA, 0x00000044, 0x00000001, 0x802468F8, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000000, 0x0000010A, 0x00000032, 0x00000152, 0x00000001, 0xFE363C89, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000059, 0x000002A2, 0x00000000, 0x00000046, 0x00000001, D_80258408_818C88, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x0000000F, PlayEffect, 0x0000000D, 0x0000010A, 0x00000032, 0x00000152, 0x00000064, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x0000000F, PlayEffect, 0x0000000D, 0x000000F0, 0x00000032, 0x00000152, 0x00000064, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x0000000F, PlayEffect, 0x0000000D, 0x00000124, 0x00000032, 0x00000152, 0x00000064, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000045, 0x00000002, D_80258504_818D84, 0xFE363C82, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, EnableModel, 0x000000B1, 0x00000001, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000059, 0x000002A3, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x00000BF4, 0x00000050, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateModel, 0x000000B1, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x000000B1, 0x00000000, 0x00000043, 0x00000003, EnableGroup, 0x000000AE, 0x00000001, 0x00000043, 0x00000002, func_802D7B10, 0xFE363C89, 0x00000043, 0x00000006, PlaySoundAt, 0x000002A4, 0x00000000, 0x0000010A, 0x00000032, 0x00000152, 0x00000005, 0x00000001, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000052, 0x00000005, 0x0000010A, 0x00000032, 0x00000152, 0x00000001, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000055, 0x00000002, 0xFE363C82, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_802585B8_818E38, 0x00000043, 0x00000003, ResetCam, 0x00000000, 0x00000001, 0x00000044, 0x00000001, D_80246770_806FF0, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x0000003E, 0x00000000 - -dlabel D_80258A54_8192D4 -.word 0x0000002B, 0x0000002C, 0x0000002D, 0x0000002E, 0x00000000 - -dlabel D_80258A68_8192E8 -.word 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFF, 0x00000100, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000012, 0x00A80004, 0x00A80001, 0x00000000, 0xFE363C84, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0x0000010A, 0x0000001B, 0x00000175, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x0000010A, 0x0000001B, 0x00000175, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0x00000001, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000005A, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A80003, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x000000AF, 0x000001BC, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0x000000C8, 0x0000001B, 0x000001B3, 0x00000000, 0x00000014, 0x00000001, 0xFE363C85, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x000000C8, 0x00000197, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x000000DC, 0x000001A4, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x000000C8, 0x0000010E, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x00000136, 0x000001A4, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x0000014A, 0x0000010E, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x00000136, 0x000001A4, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x0000014A, 0x00000197, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A80005, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x000002A1, 0x00000000, 0x00000014, 0x00000001, 0xFE363C85, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x000000C4, 0x00000001, 0x00000043, 0x00000003, EnableModel, 0x000000C6, 0x00000001, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, EnableModel, 0x000000B9, 0x00000001, 0x00000043, 0x00000003, EnableModel, 0x000000BB, 0x00000001, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, EnableModel, 0x000000BD, 0x00000001, 0x00000043, 0x00000003, EnableModel, 0x000000BF, 0x00000001, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, EnableModel, 0x000000C8, 0x00000001, 0x00000043, 0x00000003, EnableModel, 0x000000CA, 0x00000001, 0x00000023, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C83, 0x00000003, 0x00000056, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A80003, 0x00000014, 0x00000001, 0xFE363C85, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x000000DC, 0x000001A4, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x00000003, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x00000136, 0x000001A4, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x000000BA, 0x000001A9, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0x000000AF, 0x00000014, 0x000001BC, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x00000096, 0x000001E0, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A80001, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFF, 0x00000100, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000003, 0x00000043, 0x00000004, InterpNpcYaw, 0x00000012, 0x0000005A, 0x00000000, 0x00000046, 0x00000001, D_80258684_818F04, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000012, 0x00A80004, 0x00A80001, 0x00000000, 0x00030070, 0x00000024, 0x00000002, 0xF5DE0180, 0x0000002A, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80258FFC_81987C -.word 0x0000000B, 0x00000002, 0xFE363C85, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000012, 0x00A80004, 0x00A80001, 0x00000000, 0x00030075, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, D_80258A54_8192D4, 0x00000024, 0x00000002, 0xFE363C81, 0x00000012, 0x00000046, 0x00000001, D_8024DA90_80E310, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xF8405C94, 0x00000001, 0x00000024, 0x00000002, 0xFE363C84, 0x00030076, 0x00000024, 0x00000002, 0xFE363C85, 0x00000000, 0x00000046, 0x00000001, D_80258A68_8192E8, 0x00000016, 0x00000001, 0x0000002C, 0x00000024, 0x00000002, 0xF8405C95, 0x00000001, 0x00000024, 0x00000002, 0xFE363C84, 0x00030076, 0x00000024, 0x00000002, 0xFE363C85, 0x00000001, 0x00000046, 0x00000001, D_80258A68_8192E8, 0x00000016, 0x00000001, 0x0000002D, 0x00000024, 0x00000002, 0xF8405C96, 0x00000001, 0x00000024, 0x00000002, 0xFE363C84, 0x00030076, 0x00000024, 0x00000002, 0xFE363C85, 0x00000002, 0x00000046, 0x00000001, D_80258A68_8192E8, 0x00000016, 0x00000001, 0x0000002E, 0x00000024, 0x00000002, 0xF8405C97, 0x00000001, 0x00000024, 0x00000002, 0xFE363C84, 0x00030076, 0x00000024, 0x00000002, 0xFE363C85, 0x00000003, 0x00000046, 0x00000001, D_80258A68_8192E8, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802591CC_819A4C -.word 0x00000046, 0x00000001, D_8024E2C8_80EB48, 0x00000046, 0x00000001, D_8024E318_80EB98, 0x0000000B, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x00030065, 0x00000024, 0x00000002, 0xFE363C81, 0x00030065, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C82, 0x00000001, 0x00000018, 0x00000001, 0x00000007, 0x00000024, 0x00000002, 0xFE363C80, 0xF8405C90, 0x00000027, 0x00000002, 0xFE363C80, 0xF8405C91, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C82, 0x00000001, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0003006D, 0x00000024, 0x00000002, 0xFE363C81, 0x0003006E, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0x0000002A, 0x00000024, 0x00000002, 0xFE363C82, 0x00000001, 0x00000018, 0x00000001, 0x00000035, 0x00000024, 0x00000002, 0xFE363C80, 0x00030071, 0x00000024, 0x00000002, 0xFE363C81, 0x00030071, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x00030072, 0x00000024, 0x00000002, 0xFE363C81, 0x00030072, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00030073, 0x00000024, 0x00000002, 0xFE363C81, 0x00030073, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00010042, 0x00000024, 0x00000002, 0xFE363C81, 0x00010042, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C82, 0x00000001, 0x00000024, 0x00000002, 0xFE363C83, 0xF8405C94, 0x00000027, 0x00000002, 0xFE363C83, 0xF8405C95, 0x00000027, 0x00000002, 0xFE363C83, 0xF8405C96, 0x00000027, 0x00000002, 0xFE363C83, 0xF8405C97, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000021, 0x00000002, 0x00000027, 0x00000029, 0x00000024, 0x00000002, 0xFE363C84, 0xF8405C9B, 0x00000027, 0x00000002, 0xFE363C84, 0xF8405E4C, 0x00000027, 0x00000002, 0xFE363C84, 0xF8405F22, 0x00000027, 0x00000002, 0xFE363C84, 0xF840607B, 0x00000024, 0x00000002, 0xFE363C85, 0xF8405C93, 0x0000000A, 0x00000002, 0xFE363C85, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000012, 0x00A80004, 0x00A80001, 0x00000000, 0x00030074, 0x00000024, 0x00000002, 0xF8405C93, 0x00000001, 0x00000013, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C84, 0x00000000, 0x00000046, 0x00000001, D_80258FFC_81987C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000012, 0x00A80004, 0x00A80001, 0x00000000, 0x00030075, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000014, 0x00000001, 0xFE363C83, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00030066, 0x00000024, 0x00000002, 0xFE363C81, 0x00030066, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00030068, 0x00000024, 0x00000002, 0xFE363C81, 0x00030068, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x0003006A, 0x00000024, 0x00000002, 0xFE363C81, 0x0003006A, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x0003006C, 0x00000024, 0x00000002, 0xFE363C81, 0x0003006C, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF9718894, 0x00000000, 0x00000024, 0x00000002, 0xF9718894, 0x00000001, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C81, 0x00000024, 0x00000002, 0xF9718894, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000012, 0x00A80004, 0x00A80001, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C82, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, D_80258A54_8192D4, 0x00000024, 0x00000002, 0xFE363C81, 0x00000012, 0x00000046, 0x00000001, D_8024DA90_80E310, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xF8405C94, 0x00000001, 0x00000024, 0x00000002, 0xFE363C84, 0x00030067, 0x00000024, 0x00000002, 0xFE363C85, 0x00000000, 0x00000046, 0x00000001, D_80258A68_8192E8, 0x00000016, 0x00000001, 0x0000002C, 0x00000024, 0x00000002, 0xF8405C95, 0x00000001, 0x00000024, 0x00000002, 0xFE363C84, 0x00030069, 0x00000024, 0x00000002, 0xFE363C85, 0x00000001, 0x00000046, 0x00000001, D_80258A68_8192E8, 0x00000016, 0x00000001, 0x0000002D, 0x00000024, 0x00000002, 0xF8405C96, 0x00000001, 0x00000024, 0x00000002, 0xFE363C84, 0x0003006B, 0x00000024, 0x00000002, 0xFE363C85, 0x00000002, 0x00000046, 0x00000001, D_80258A68_8192E8, 0x00000016, 0x00000001, 0x0000002E, 0x00000024, 0x00000002, 0xFE363C85, 0x00000003, 0x00000046, 0x00000001, D_80258A68_8192E8, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802597E4_81A064 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802597F4_81A074 -.word 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xF8405C90, 0x00000027, 0x00000002, 0xFE363C80, 0xF8405C91, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A80001, 0x00000043, 0x00000003, SetSelfEnemyFlagBits, 0x00400000, 0x00000000, 0x00000043, 0x00000003, BindNpcAI, 0xFFFFFFFF, D_802597E4_81A064, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFF, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetNpcSpeed, 0xFFFFFFFF, 0xF24A8680, 0x00000027, 0x00000002, 0xFE363C80, 0x00000019, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A80003, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0xFE363C80, 0xFE363C82, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A80001, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000007, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000005A, 0x00000007, 0x00000008, 0x00000001, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFCE, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A80003, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0xFE363C80, 0xFE363C82, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A80001, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000005A, 0x00000007, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000007, 0x00000008, 0x00000001, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C80, 0x00000032, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80259A3C_81A2BC -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000021, 0x00000002, 0xFFFFFFF3, 0x00000005, 0x00000024, 0x00000002, 0xF8405C8F, 0x00000001, 0x00000043, 0x00000003, SetSelfEnemyFlagBits, 0x00400000, 0x00000001, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_802597F4_81A074, 0x00000023, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00A80001, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_802591CC_819A4C, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, GetPlayerActionState, 0xFE363C83, 0x00000024, 0x00000002, 0xFE363C84, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000000, 0x00000027, 0x00000002, 0xFE363C84, 0x00000001, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000001, 0x00000027, 0x00000002, 0xFE363C84, 0x00000001, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000002, 0x00000027, 0x00000002, 0xFE363C84, 0x00000001, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C84, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, func_80245504_805D84, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000059, 0x000002A2, 0x00000000, 0x00000046, 0x00000001, D_80258408_818C88, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000045, 0x00000002, D_80258504_818D84, 0xFE363C82, 0x00000043, 0x00000004, PlayerMoveTo, 0x0000012C, 0x00000172, 0x0000000F, 0x00000043, 0x00000003, InterpPlayerYaw, 0xFFFFFFEA, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000059, 0x000001CF, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0xFFFFFF88, 0x0000000F, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateGroup, 0x000000AE, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000005, MakeLerp, 0xFFFFFF88, 0x00000000, 0x0000000F, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateGroup, 0x000000AE, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000059, 0x000001D0, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, PlayerMoveTo, 0x00000101, 0x0000012C, 0x0000001E, 0x00000008, 0x00000001, 0x0000003C, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0x00000000, 0xFFFFFE0C, 0x00000000, 0x00000043, 0x00000001, func_8024552C_805DAC, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFC, 0x00000000, 0xFFFFFE0C, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000055, 0x00000002, 0xFE363C82, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000059, 0x000006A2, 0x00000000, 0x00000046, 0x00000001, D_802585B8_818E38, 0x00000043, 0x00000003, EnableGroup, 0x000000AE, 0x00000000, 0x00000043, 0x00000003, EnableGroup, 0x000000B1, 0x00000001, 0x00000043, 0x00000005, MakeLerp, 0x000000B4, 0x00000168, 0x00000014, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateModel, 0x000000B1, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0x000000AF, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x0000000A, 0x00000002, 0xF8405B86, 0x00000000, 0x00000024, 0x00000002, 0xF8405B86, 0x00000001, 0x00000043, 0x00000003, FadeOutMusic, 0x00000000, 0x000005DC, 0x00000043, 0x00000004, GotoMapSpecial, 0x80262888, 0x00000006, 0x00000006, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GotoMap, 0x80262880, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000003, InterpPlayerYaw, 0x000000B4, 0x00000002, 0x00000043, 0x00000004, SetPlayerPos, 0x00000108, 0x0000001B, 0x00000140, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFC, 0x00000108, 0x0000001B, 0x00000140, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000059, 0x000002A2, 0x00000000, 0x00000046, 0x00000001, D_80258408_818C88, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000045, 0x00000002, D_80258504_818D84, 0xFE363C82, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000059, 0x000001CF, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0xFFFFFF88, 0x0000000F, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateGroup, 0x000000AE, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000043, 0x00000001, func_80245504_805D84, 0x00000043, 0x00000004, PlayerMoveTo, 0x00000108, 0x00000197, 0x0000001E, 0x00000043, 0x00000005, MakeLerp, 0xFFFFFF88, 0x00000000, 0x0000000F, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000006, RotateGroup, 0x000000AE, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000059, 0x000001D0, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000055, 0x00000002, 0xFE363C82, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000001, 0x0000005D, 0x7FFFFE00, 0x00000043, 0x00000001, func_8024552C_805DAC, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000059, 0x000006A2, 0x00000000, 0x00000046, 0x00000001, D_802585B8_818E38, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000005D, 0x7FFFFE00, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C94, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x000000C4, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x000000C6, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C95, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x000000B9, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x000000BB, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C96, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x000000BD, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x000000BF, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C97, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x000000C8, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x000000CA, 0x00000000, 0x00000013, 0x00000000, 0x0000000C, 0x00000002, 0xF5DE0180, 0x0000002A, 0x00000043, 0x00000003, EnableGroup, 0x000000AE, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000059, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000005A, 0x7FFFFE00, 0x00000013, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000005D, 0x7FFFFE00, 0x00000043, 0x00000003, EnableModel, 0x000000B3, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x000000B1, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025A49C_81AD1C -.word 0x00000043, 0x00000001, WaitForPlayerInputEnabled, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFF, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000000A, 0x00830004, 0x00830001, 0x00000000, 0x0003007D, 0x00000024, 0x00000002, 0xF5DE0180, 0xFFFFFF99, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025A544_81ADC4 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x0003007C, 0x00000018, 0x00000001, 0xFFFFFF9A, 0x00000024, 0x00000002, 0xFE363C80, 0x0003007D, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xFE363C80, 0x0003007E, 0x00000018, 0x00000001, 0xFFFFFFCB, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0003007F, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00030080, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C80, 0x00030081, 0x00000018, 0x00000001, 0x00000007, 0x0000000A, 0x00000002, 0xF8405C8D, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00030082, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C8A, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00030083, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00030084, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x00030085, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x00030086, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x00030087, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x00030088, 0x00000018, 0x00000001, 0x0000003D, 0x00000024, 0x00000002, 0xFE363C80, 0x00030089, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x0003008A, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x0003008B, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00010046, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000000A, 0x00830004, 0x00830001, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025A7A0_81B020 -.word 0x0000000A, 0x00000002, 0xF5DE0180, 0xFFFFFF98, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0xFFFFFFE7, 0x00000000, 0xFFFFFE0C, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_8025A49C_81AD1C, 0x00000013, 0x00000000, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025A544_81ADC4, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025A80C_81B08C -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x0003008C, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C80, 0x0003008D, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xFE363C80, 0x0003008E, 0x00000018, 0x00000001, 0xFFFFFFCB, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0003008F, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00030090, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C80, 0x00030091, 0x00000018, 0x00000001, 0x00000007, 0x0000000A, 0x00000002, 0xF8405C8D, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00030092, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C8A, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00030093, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00030094, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x00030095, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x00030096, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x00030097, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x00030098, 0x00000018, 0x00000001, 0x0000003D, 0x00000024, 0x00000002, 0xFE363C80, 0x00030099, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x0003009A, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x0003009B, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00010047, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000000B, 0x00830004, 0x00830001, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025AA68_81B2E8 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025AA78_81B2F8 -.word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000003, NpcFacePlayer, 0x0000000B, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000000B, 0x00830004, 0x00830001, 0x00000000, 0x00010048, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, SetPlayerSpeed, 0xF24A8A80, 0x00000043, 0x00000004, PlayerMoveTo, 0x00000000, 0x00000244, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025AB1C_81B39C -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025A80C_81B08C, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000060, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0xFFFFFFCE, 0x00000000, 0x00000244, 0x00000043, 0x00000003, SetNpcYaw, 0xFFFFFFFF, 0x0000005A, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_8025AA68_81B2E8, 0x00000047, 0x00000005, D_8025AA78_81B2F8, 0x00000080, 0x00000006, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025ABB8_81B438 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x0003009C, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C80, 0x0003009D, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xFE363C80, 0x0003009E, 0x00000018, 0x00000001, 0xFFFFFFCB, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0003009F, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300A0, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C80, 0x000300A1, 0x00000018, 0x00000001, 0x00000007, 0x0000000A, 0x00000002, 0xF8405C8D, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300A2, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C8A, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300A3, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300A4, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x000300A5, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x000300A6, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x000300A7, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x000300A8, 0x00000018, 0x00000001, 0x0000003D, 0x00000024, 0x00000002, 0xFE363C80, 0x000300A9, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x000300AA, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x000300AB, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x00010049, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000000C, 0x00830304, 0x00830301, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025AE14_81B694 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025AE24_81B6A4 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025ABB8_81B438, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000060, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0xFFFFFF92, 0x00000014, 0xFFFFFE84, 0x00000043, 0x00000003, SetNpcYaw, 0xFFFFFFFF, 0x0000005A, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_8025AE14_81B694, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025AEA4_81B724 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x000300AC, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C80, 0x000300AD, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xFE363C80, 0x000300AE, 0x00000018, 0x00000001, 0xFFFFFFCB, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300AF, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300B0, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C80, 0x000300B1, 0x00000018, 0x00000001, 0x00000007, 0x0000000A, 0x00000002, 0xF8405C8D, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300B2, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C8A, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300B3, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300B4, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x000300B5, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x000300B6, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x000300B7, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x000300B8, 0x00000018, 0x00000001, 0x0000003D, 0x00000024, 0x00000002, 0xFE363C80, 0x000300B9, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x000300BA, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x000300BB, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x0001004A, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000000D, 0x00830304, 0x00830301, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025B100_81B980 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025B110_81B990 -.word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000003, NpcFacePlayer, 0x0000000D, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000000D, 0x00830304, 0x00830301, 0x00000000, 0x0001004B, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, SetPlayerSpeed, 0xF24A8A80, 0x00000043, 0x00000004, PlayerMoveTo, 0x00000258, 0x00000000, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025B1B4_81BA34 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025AEA4_81B724, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000060, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x00000212, 0x00000000, 0xFFFFFFCE, 0x00000043, 0x00000003, SetNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_8025B100_81B980, 0x00000047, 0x00000005, D_8025B110_81B990, 0x00000080, 0x00000000, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025B250_81BAD0 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x000300BC, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C80, 0x000300BD, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xFE363C80, 0x000300BE, 0x00000018, 0x00000001, 0xFFFFFFCB, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300BF, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300C0, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C80, 0x000300C1, 0x00000018, 0x00000001, 0x00000007, 0x0000000A, 0x00000002, 0xF8405C8F, 0x00000000, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xF8405C90, 0x00000027, 0x00000002, 0xFE363C80, 0xF8405C91, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x000300C2, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300C3, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x000300C4, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x000300C5, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x000300C6, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x000300C7, 0x00000018, 0x00000001, 0x0000003D, 0x00000024, 0x00000002, 0xFE363C80, 0x000300C8, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x000300C9, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x000300CA, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x0001004C, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000000E, 0x00830204, 0x00830201, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025B4BC_81BD3C -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025B250_81BAD0, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025B4E0_81BD60 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFF96, 0x00000024, 0x00000002, 0xFE363C80, 0x000300CB, 0x00000018, 0x00000001, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C80, 0x000300CC, 0x00000018, 0x00000001, 0xFFFFFFB5, 0x00000024, 0x00000002, 0xFE363C80, 0x000300CD, 0x00000018, 0x00000001, 0xFFFFFFCB, 0x0000000A, 0x00000002, 0xF8405C9C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300CE, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300CF, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0xFFFFFFF1, 0x00000024, 0x00000002, 0xFE363C80, 0x000300D0, 0x00000018, 0x00000001, 0x00000007, 0x0000000A, 0x00000002, 0xF8405C73, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300D1, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C74, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300D2, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000300D3, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000018, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0x000300D4, 0x00000018, 0x00000001, 0x00000027, 0x00000024, 0x00000002, 0xFE363C80, 0x000300D5, 0x00000018, 0x00000001, 0x0000002B, 0x00000024, 0x00000002, 0xFE363C80, 0x000300D6, 0x00000018, 0x00000001, 0x00000039, 0x00000024, 0x00000002, 0xFE363C80, 0x000300D7, 0x00000018, 0x00000001, 0x0000003D, 0x00000024, 0x00000002, 0xFE363C80, 0x000300D8, 0x00000018, 0x00000001, 0x00000059, 0x00000024, 0x00000002, 0xFE363C80, 0x000300D9, 0x00000018, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x000300DA, 0x0000001B, 0x00000001, 0x00000060, 0x00000024, 0x00000002, 0xFE363C80, 0x0001004D, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000000F, 0x00830104, 0x00830101, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025B73C_81BFBC -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025B4E0_81BD60, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025B760_81BFE0 -.word 0x00000043, 0x00000005, GetNpcPos, 0x00000006, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C83, 0x00000014, 0x00000043, 0x00000007, MakeItemEntity, 0x00000030, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000005, 0x00000001, 0x00000050, 0x00000043, 0x00000005, GetNpcPos, 0x00000006, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C83, 0x00000014, 0x00000043, 0x00000005, SetItemPos, 0xFE363C89, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000002, RemoveItemEntity, 0xFE363C89, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025B854_81C0D4 -.word 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000D, 0x00000002, 0xFE363C82, 0x000000C8, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000032, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000006, 0xFFFFFEC7, 0x00000000, 0x0000014A, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000006, 0x003B0004, 0x00000008, 0x00000001, 0x00000015, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000001, 0x00A70004, 0x00A70001, 0x00000000, 0x00030007, 0x00000044, 0x00000001, D_8025B760_81BFE0, 0x00000024, 0x00000002, 0xFE363C80, 0x00000006, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFE363C80, 0x0000203F, 0x00000000, 0x00000045, 0x00000002, D_8024E6F8_80EF78, 0xFE363C8A, 0x00000043, 0x00000005, NpcMoveTo, 0x00000006, 0xFFFFFFD3, 0x0000014A, 0x0000001E, 0x00000043, 0x00000005, NpcMoveTo, 0x00000006, 0xFFFFFFD3, 0x000002C6, 0x0000001E, 0x00000049, 0x00000001, 0xFE363C8A, 0x00000043, 0x00000005, SetNpcPos, 0x00000006, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025B9F4_81C274 -.word 0x0000000C, 0x00000002, 0xF5DE0180, 0xFFFFFFF3, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xF5DE0180, 0x00000005, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000B, 0x00000002, 0xF8405C8C, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF8405C8C, 0x00000001, 0x00000044, 0x00000001, D_8025B854_81C0D4, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025BA80_81C300 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830004, 0x00830001, 0x00000000, 0x0003001A, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025BAB0_81C330 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00830004, 0x00830001, 0x00000000, 0x00010044, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025BAE0_81C360 -.word 0x0000000A, 0x00000002, 0xF97188C3, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00030015, 0x00000024, 0x00000002, 0xFE363C88, 0x00030016, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0003001B, 0x00000024, 0x00000002, 0xFE363C88, 0x0003001B, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00030017, 0x00000024, 0x00000002, 0xFE363C82, 0x00030018, 0x00000024, 0x00000002, 0xFE363C83, 0x00030019, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025BB80_81C400 -.word 0x00000044, 0x00000001, 0x80246924, 0x00000043, 0x00000004, PlayerMoveTo, 0x00000217, 0xFFFFFF65, 0x00000014, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, mac_01_ToadHouse_CamSetFOV, 0x00000000, 0x00000028, 0x00000043, 0x00000004, SetCamType, 0x00000000, 0x00000004, 0x00000000, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x00000074, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0x00000063, 0xFFFFFFC6, 0x00000043, 0x00000004, SetCamPosA, 0x00000000, 0x000001EF, 0x00000082, 0x00000043, 0x00000004, SetCamPosB, 0x00000000, 0x000001FB, 0xFFFFFFED, 0x00000043, 0x00000004, SetCamPosC, 0x00000000, 0x00000000, 0x00000014, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000057, 0x00000000, 0x00000043, 0x00000004, PlayerMoveTo, 0x00000244, 0xFFFFFF2E, 0x00000014, 0x00000043, 0x00000003, InterpPlayerYaw, 0x00000107, 0x00000001, 0x00000043, 0x00000002, HidePlayerShadow, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010000, 0x00000043, 0x00000002, func_802D286C, 0x00000800, 0x00000043, 0x00000007, func_802D2520, 0x00010002, 0x00000005, 0x00000007, 0x00000001, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000003C, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0008001D, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000003F, 0x00000043, 0x00000003, mac_01_ToadHouse_CamSetFOV, 0x00000000, 0x00000019, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025BDDC_81C65C -.word 0x00000044, 0x00000001, D_80246770_806FF0, 0x00000043, 0x00000002, HidePlayerShadow, 0x00000000, 0x00000043, 0x00000007, func_802D2520, 0x00010002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, SetPlayerSpeed, 0xF24A8680, 0x00000043, 0x00000004, SetPlayerPos, 0x00000238, 0x00000014, 0xFFFFFF46, 0x00000043, 0x00000004, PlayerMoveTo, 0x0000020D, 0xFFFFFF58, 0x00000014, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025BE6C_81C6EC -.word 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000060, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x00000172, 0x00000014, 0xFFFFFF6A, 0x00000043, 0x00000003, SetNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025BAB0_81C330, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8405C8E, 0x00000000, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000021, 0x00000002, 0xFFFFFFF3, 0x00000005, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025BA80_81C300, 0x0000001C, 0x00000000, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8024D59C_80DE1C, 0x00000023, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8024D59C_80DE1C, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF97188C3, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025BF78_81C7F8 -.word 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x0000023C, 0x00000024, 0xFFFFFF1E, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000001, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x003B0003, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000001, 0x00000008, 0x00000001, 0x00000003, 0x0000000A, 0x00000002, 0xFAA2B58F, 0x00000001, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x0000032C, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0x0000021B, 0x00000024, 0xFFFFFF0E, 0x00000008, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000005A, 0x00000001, 0x00000008, 0x00000001, 0x00000003, 0x0000000A, 0x00000002, 0xFAA2B58F, 0x00000001, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x0000032C, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0x0000023C, 0x00000024, 0xFFFFFF1E, 0x00000008, 0x00000008, 0x00000001, 0x00000002, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025C0E4_81C964 -.word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x0000000A, ShowSweat, 0xFFFFFFFF, 0x00000001, 0xFFFFFFD3, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000014, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x003B000C, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFF, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0xFE363C80, 0x00000024, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000003, SetNpcSpeed, 0xFFFFFFFF, 0xF24A9A80, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x003B0003, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000001, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x0000032C, 0x00000000, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFF, 0x00000226, 0x00000014, 0xFFFFFF5F, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000022, 0x000001C1, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C80, 0x00000008, 0x00000043, 0x00000006, RotateModel, 0x0000006D, 0xFE363C80, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000005, 0x00000001, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFF8, 0x00000043, 0x00000006, RotateModel, 0x0000006D, 0xFE363C80, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000022, 0x000001C2, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x0000000A, ShowSweat, 0xFFFFFFFF, 0x00000001, 0xFFFFFFD3, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000014, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFE363C80, 0x0000203F, 0x00000000, 0x00000045, 0x00000002, D_8024E6F8_80EF78, 0xFE363C8A, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFF, 0x000001A4, 0xFFFFFF8A, 0x00000000, 0x00000049, 0x00000001, 0xFE363C8A, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000043, 0x00000003, BindNpcInteract, 0x00000010, D_8024D59C_80DE1C, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025C3C8_81CC48 -.word 0x00000043, 0x00000002, GetOwnerEncounterTrigger, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000004, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000016, 0x00000001, 0x00000006, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, mac_01_UnkPositionFunc, 0x000001C2, 0xFFFFFF42, 0x000001F4, 0xFFFFFF99, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x000000E1, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtNpc, 0xFFFFFFFF, 0x0000203E, 0x00000000, 0x00000024, 0x00000002, 0xF8405C8E, 0x00000001, 0x00000024, 0x00000002, 0xF97188C3, 0x00000001, 0x00000043, 0x00000003, BindNpcAI, 0xFFFFFFFF, D_8025C0E4_81C964, 0x00000043, 0x00000003, SetSelfEnemyFlagBits, 0x1F000000, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025C53C_81CDBC -.word 0x0000000A, 0x00000002, 0xF8405C8E, 0x00000000, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_8025BF78_81C7F8, 0x00000043, 0x00000003, BindNpcHit, 0xFFFFFFFF, D_8025C3C8_81CC48, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025C5B0_81CE30 -.word 0xC2A00000, 0x42D40000, 0x00000000, 0xC2480000, 0x41F00000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8025C5D4_81CE54 -.word 0x00000000, 0x00000000, 0x00000000, 0xC2480000, 0x41F00000, 0x00000000, 0xC28C0000, 0x42D40000, 0x00000000 - -dlabel D_8025C5F8_81CE78 -.word 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000230, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x00000070, 0x00000000, 0x00000008, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, SetPlayerSpeed, 0xF24A8680, 0x00000043, 0x00000004, PlayerMoveTo, 0x000001F4, 0xFFFFFFEC, 0x00000000, 0x00000043, 0x00000001, WaitForPlayerMoveToComplete, 0x00000043, 0x00000003, InterpPlayerYaw, 0x0000010E, 0x00000000, 0x00000043, 0x00000004, ShowMessageAtScreenPos, 0x000300DB, 0x000000A0, 0x00000028, 0x00000005, 0x00000001, 0x00000002, 0x00000043, 0x00000003, InterpPlayerYaw, 0x0000005A, 0x00000007, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, InterpPlayerYaw, 0x0000010E, 0x00000007, 0x00000008, 0x00000001, 0x0000000A, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x0000002D, 0x00000002, 0xFE363C84, 0xF24B4280, 0x0000002C, 0x00000002, 0xFE363C85, 0xF24B1A80, 0x00000043, 0x00000004, InterpNpcYaw, 0x0000001C, 0x0000005A, 0x00000000, 0x00000043, 0x00000005, LoadPath, 0x00000023, D_8025C5B0_81CE30, 0x00000003, 0x0000000A, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, GetNextPathPos, 0x0000002C, 0x00000002, 0xFE363C81, 0xFE363C84, 0x0000002C, 0x00000002, 0xFE363C82, 0xFE363C85, 0x00000043, 0x00000005, SetNpcPos, 0x0000001C, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002A, 0x00000043, 0x00000007, AdjustCam, 0x00000000, 0xF24A8680, 0xFFFFFFF6, 0xFFFFFED4, 0x0000000F, 0xFFFFFFF7, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000001C, 0x00200009, 0x00200001, 0x00000000, 0x000300DC, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00080007, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002A, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, SetNpcJumpscale, 0x0000001C, 0xF24A7E80, 0x00000043, 0x00000005, GetNpcPos, 0x0000001C, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, NpcJump0, 0x0000001C, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000001C, 0x00200009, 0x00200001, 0x00000000, 0x000300DD, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002D, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002A, 0x00000043, 0x00000007, AdjustCam, 0x00000000, 0xF24A8680, 0xFFFFFFD8, 0xFFFFFF38, 0x0000000F, 0xFFFFFFF1, 0x00000043, 0x00000006, SpeakToPlayer, 0x0000001C, 0x00200009, 0x00200001, 0x00000000, 0x000300DE, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, InterpNpcYaw, 0x0000001C, 0x0000010E, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0x0000001C, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000005, LoadPath, 0x00000023, D_8025C5D4_81CE54, 0x00000003, 0x00000001, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, GetNextPathPos, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C82, 0xFE363C85, 0x00000027, 0x00000002, 0xFE363C83, 0xFE363C86, 0x00000043, 0x00000005, SetNpcPos, 0x0000001C, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x0000001C, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000044, 0x00000001, D_80246770_806FF0, 0x00000024, 0x00000002, 0xF5DE0180, 0xFFFFFFB7, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025CB28_81D3A8 -.word 0x0000000A, 0x00000002, 0xF5DE0180, 0xFFFFFFB6, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_8025C5F8_81CE78, 0x00000012, 0x00000000, 0x00000043, 0x00000002, RemoveNpc, 0xFFFFFFFF, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025CB7C_81D3FC -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00B60008, 0x00B60001, 0x00000000, 0x000300DF, 0x00000046, 0x00000001, D_8024E4DC_80ED5C, 0x00000046, 0x00000001, D_8024E384_80EC04, 0x00000046, 0x00000001, D_8024E3D4_80EC54, 0x0000000B, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025CBF0_81D470 -.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000021, 0x00000002, 0x00000029, 0x00000058, 0x0000000A, 0x00000002, 0xF8405DE2, 0x00000000, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025CB7C_81D3FC, 0x00000012, 0x00000000, 0x00000043, 0x00000002, RemoveNpc, 0xFFFFFFFF, 0x00000013, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, RemoveNpc, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025CC80_81D500 -.word 0x00830000, 0x00830001, 0x00830002, 0x00830003, 0x00830004, 0xFFFFFFFF - -dlabel D_8025CC98_81D518 -.word 0x00990002, 0x0099000A, 0x00990003, 0xFFFFFFFF - -dlabel D_8025CCA8_81D528 -.word 0x0000000A, D_80248AC0_809340, 0xC2BC0000, 0x00000000, 0xC2EA0000, 0x00002D09, D_8025A7A0_81B020, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830001, 0x00830002, 0x00830003, 0x00830003, 0x00830001, 0x00830001, 0x00830006, 0x00830006, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00000000, 0x00000000, D_8025CC80_81D500, 0x001A002B, 0x0000000B, D_802489C0_809240, 0xC3110000, 0x00000000, 0xC1C80000, 0x00002D09, D_8025AB1C_81B39C, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000064, 0x00000000, 0xFFFF8001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830001, 0x00830002, 0x00830003, 0x00830003, 0x00830001, 0x00830001, 0x00830006, 0x00830006, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00000000, 0x00000000, D_8025CC80_81D500, 0x001A002C, 0x0000000C, D_80248A68_8092E8, 0x42200000, 0x00000000, 0xC3960000, 0x00002D09, D_8025AE24_81B6A4, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000028, 0x00000000, 0xFFFFFED4, 0xFFFFFFD8, 0x00000000, 0xFFFFFED4, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xFFFF8001, 0x00000000, 0x00000000, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830301, 0x00830302, 0x00830303, 0x00830303, 0x00830301, 0x00830301, 0x00830306, 0x00830306, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00000000, 0x00000000, D_8025CC80_81D500, 0x001A002D, 0x0000000D, D_80248A68_8092E8, 0xC3DC0000, 0x00000000, 0xC1A00000, 0x00002D09, D_8025B1B4_81BA34, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0xFFFFFE48, 0x00000000, 0xFFFFFFEC, 0x0000015E, 0x00000000, 0xFFFFFFEC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xFFFF8001, 0x00000000, 0x00000000, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830301, 0x00830302, 0x00830303, 0x00830303, 0x00830301, 0x00830301, 0x00830306, 0x00830306, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00000000, 0x00000000, D_8025CC80_81D500, 0x001A002E, 0x0000000E, D_80248A68_8092E8, 0x43C80000, 0x41A00000, 0x43820000, 0x00002D09, D_8025B4BC_81BD3C, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000190, 0x00000014, 0x00000104, 0x000001EA, 0x00000014, 0x00000104, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xFFFF8001, 0x00000000, 0x00000000, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830201, 0x00830202, 0x00830203, 0x00830203, 0x00830201, 0x00830201, 0x00830206, 0x00830206, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00830203, 0x00000000, 0x00000000, D_8025CC80_81D500, 0x001A002F, 0x0000000F, D_80248AC0_809340, 0xC3BE0000, 0x41A00000, 0xC2C80000, 0x00002D09, D_8025B73C_81BFBC, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830101, 0x00830102, 0x00830103, 0x00830103, 0x00830101, 0x00830101, 0x00830106, 0x00830106, 0x00830103, 0x00830103, 0x00830103, 0x00830103, 0x00830103, 0x00830103, 0x00830103, 0x00830103, 0x00000000, 0x00000000, D_8025CC80_81D500, 0x001A0030, 0x00000010, D_80248AC0_809340, 0x43F40000, 0x41A00000, 0xC32E0000, 0x00002D09, D_8025BE6C_81C6EC, 0x00000000, 0x00000000, 0x0000001E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830001, 0x00830002, 0x00830003, 0x00830003, 0x00830001, 0x00830001, 0x00830006, 0x00830006, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00000000, 0x00000000, D_8025CC80_81D500, 0x001A0031, 0x00000011, D_80248BD8_809458, 0x00000000, 0xC47A0000, 0x00000000, 0x00002D09, D_8025833C_818BBC, 0x00000000, 0x00000000, 0x00000000, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00990002, 0x0099000E, 0x0099000E, 0x00990002, 0x00990002, 0x00990002, 0x00990002, 0x00990002, 0x00990002, 0x00990002, 0x00990002, 0x00990002, 0x00990002, 0x00990002, 0x00990002, 0x00990002, 0x00000000, 0x00000000, D_8025CC98_81D518, 0x001A0032, 0x00000012, D_80248AC0_809340, 0x43160000, 0x41A00000, 0x43F28000, 0x00002D09, D_80259A3C_81A2BC, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A80001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x001A0026, 0x00000003, D_80248AC0_809340, 0x439C0000, 0x41F00000, 0xC3DB0000, 0x00012D09, D_80257210_817A90, 0x00000000, 0x00000000, 0x0000012C, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x008A0001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x001A0022 - -dlabel D_8025E008_81E888 -.word 0x00000004, D_80248C04_809484, 0x43110000, 0x41A00000, 0xC3EC0000, 0x00000D09, D_802575A8_817E28, 0x00000000, 0x00000000, 0x00000078, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00040001, 0x00040002, 0x00040003, 0x00040003, 0x00040001, 0x00040001, 0x00040000, 0x00040000, 0x00040001, 0x00040001, 0x00040001, 0x00040001, 0x00040001, 0x00040001, 0x00040001, 0x00040001, 0x00000000, 0x00000000, D_80257598_817E18, 0x001A0023 - -dlabel D_8025E1F8_81EA78 -.word 0x00200001, 0x00200005, 0x00200009, 0xFFFFFFFF - -dlabel D_8025E208_81EA88 -.word 0x0000001C, D_80248B70_8093F0, 0xC3AF0000, 0x41A00000, 0xC2C80000, 0x00400D09, D_8025CB28_81D3A8, 0x00000000, 0x00000000, 0x00000112, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00200001, 0x00200005, 0x00200008, 0x00200008, 0x00200001, 0x00200001, 0x00200001, 0x00200001, 0x00200001, 0x00200001, 0x00200001, 0x00200001, 0x00200001, 0x00200001, 0x00200001, 0x00200001, 0x00000000, 0x00000000, D_8025E1F8_81EA78, 0x00000000 - -dlabel D_8025E3F8_81EC78 -.word 0x00000006, D_80248B18_809398, 0x00000000, 0xC47A0000, 0x00000000, 0x00000F09, D_8025B9F4_81C274, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x003B0001, 0x003B0002, 0x003B0003, 0x003B0003, 0x003B0001, 0x003B0001, 0x003B000C, 0x003B000C, 0x003B0015, 0x003B0012, 0x003B0011, 0x003B0010, 0x003B0005, 0x003B0001, 0x003B0001, 0x003B0001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000007, D_80248B18_809398, 0x00000000, 0xC47A0000, 0x00000000, 0x01700F08, D_8025C53C_81CDBC, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x003B0001, 0x003B0002, 0x003B0003, 0x003B0003, 0x003B0001, 0x003B0001, 0x003B000C, 0x003B000C, 0x003B0015, 0x003B0012, 0x003B0011, 0x003B0010, 0x003B0005, 0x003B0001, 0x003B0001, 0x003B0001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, D_80248B18_809398, 0x00000000, 0xC47A0000, 0x00000000, 0x01700F08, D_802581FC_818A7C, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x003B0001, 0x003B0002, 0x003B0003, 0x003B0003, 0x003B0001, 0x003B0001, 0x003B000C, 0x003B000C, 0x003B0015, 0x003B0012, 0x003B0011, 0x003B0010, 0x003B0005, 0x003B0001, 0x003B0001, 0x003B0001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000009, D_80248B18_809398, 0x00000000, 0xC47A0000, 0x00000000, 0x01700F08, D_80258264_818AE4, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x003B0001, 0x003B0002, 0x003B0003, 0x003B0003, 0x003B0001, 0x003B0001, 0x003B000C, 0x003B000C, 0x003B0015, 0x003B0012, 0x003B0011, 0x003B0010, 0x003B0005, 0x003B0001, 0x003B0001, 0x003B0001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8025EBB8_81F438 -.word 0x00B60000, 0x00B60001, 0x00B60008, 0xFFFFFFFF - -dlabel D_8025EBC8_81F448 -.word 0x00000013, D_80248B9C_80941C, 0x44020000, 0x00000000, 0xC1C80000, 0x00002D09, D_8025CBF0_81D470, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00B60001, 0x00B60004, 0x00B60006, 0x00B60006, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00000000, 0x00000000, D_8025EBB8_81F438, 0x001A0000 - -dlabel D_8025EDB8_81F638 -.word 0x00000005, D_8024B200_80BA80, 0xC3DC0000, 0x41A00000, 0xC30C0000, 0x00006D09, 0x00000000, 0x00000001, 0x00010601, 0x0000001E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00AF0001, 0x00AF0002, 0x00AF0003, 0x00AF0003, 0x00AF0001, 0x00AF0001, 0x00AF0000, 0x00AF0000, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00AF0003, 0x00000000, 0x00000000, 0x00000000, 0x001A0002, 0x00000001, D_80253298_813B18, 0x00000000, 0x00000002, D_802566FC_816F7C, 0x00000000, 0x0000000A, D_8025CCA8_81D528, 0x00000000, 0x00000001, D_8025EBC8_81F448, 0x00000000, 0x00000001, D_8025EDB8_81F638, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, D_8025E008_81E888, 0x00000000, 0x00000004, D_80253C5C_8144DC, 0x00000000, 0x00000004, D_80253488_813D08, 0x00000000, 0x00000001, D_80253298_813B18, 0x00000000, 0x00000002, D_802566FC_816F7C, 0x00000000, 0x0000000A, D_8025CCA8_81D528, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, D_8025E008_81E888, 0x00000000, 0x00000001, D_80253298_813B18, 0x00000000, 0x00000002, D_802566FC_816F7C, 0x00000000, 0x0000000A, D_8025CCA8_81D528, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, D_8025E208_81EA88, 0x00000000, 0x00000001, D_80253298_813B18, 0x00000000, 0x00000002, D_802566FC_816F7C, 0x00000000, 0x0000000A, D_8025CCA8_81D528, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000004, D_8025E3F8_81EC78, 0x00000000, 0x00000001, D_80253298_813B18, 0x00000000, 0x00000002, D_802566FC_816F7C, 0x00000000, 0x0000000A, D_8025CCA8_81D528, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, D_8025441C_814C9C, 0x00000000, 0x00000001, D_80253298_813B18, 0x00000000, 0x00000002, D_802566FC_816F7C, 0x00000000, 0x00000001, D_8025EBC8_81F448, 0x00000000, 0x0000000A, D_8025CCA8_81D528, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8025F140_81F9C0 -.word 0x00000000, 0x00180018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_8025F16C_81F9EC -.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001 - -dlabel D_8025F19C_81FA1C -.word 0x00000043, 0x00000002, dup_mac_01_PatrolNoAttackAI_Main, D_8025F16C_81F9EC, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_8025F19C_81FA1C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_8025F19C_81FA1C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010 - -dlabel D_8025F214_81FA94 -.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000, 0x00000000, 0x00170013, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_8025F26C_81FAEC -.word 0x00000000, D_8025F140_81F9C0, 0x00000000, 0xC47A0000, 0x00000000, 0x00000F0D, 0x00000000, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00820000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, D_8025F214_81FA94, 0xC2BC0000, 0x00000000, 0xC2EA0000, 0x00002D09, 0x00000000, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830001, 0x00830002, 0x00830003, 0x00830003, 0x00830001, 0x00830001, 0x00830006, 0x00830006, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00830003, 0x00000000, 0x00000000, 0x00000000, 0x001A002B, 0x00000002, D_8025F214_81FA94, 0x42200000, 0x00000000, 0xC3960000, 0x00002D09, 0x00000000, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000028, 0x00000000, 0xFFFFFED4, 0xFFFFFFD8, 0x00000000, 0xFFFFFED4, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xFFFF8001, 0x00000000, 0x00000000, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830301, 0x00830302, 0x00830303, 0x00830303, 0x00830301, 0x00830301, 0x00830306, 0x00830306, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00830303, 0x00000000, 0x00000000, 0x00000000, 0x001A002D, 0x00000003, D_8025F214_81FA94, 0xC3BE0000, 0x41A00000, 0xC2C80000, 0x00002D09, 0x00000000, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00830101, 0x00830102, 0x00830103, 0x00830103, 0x00830101, 0x00830101, 0x00830106, 0x00830106, 0x00830103, 0x00830103, 0x00830103, 0x00830103, 0x00830103, 0x00830103, 0x00830103, 0x00830103, 0x00000000, 0x00000000, 0x00000000, 0x001A0030, 0x00000004, D_8025F26C_81FAEC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_01/8202D0.data.s b/ver/us/asm/data/world/area_mac/mac_01/8202D0.data.s deleted file mode 100644 index 703d829cb7..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_01/8202D0.data.s +++ /dev/null @@ -1,138 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_8025FA50_8202D0 -.word 0x00000000, 0x00180018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_8025FA7C_8202FC -.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000, 0x00000000, 0x00170013, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_8025FAD4_820354 -.word 0x00000000, 0x00280018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_8025FB00_820380 -.word 0x00000000, 0x00260018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_8025FB2C_8203AC -.word 0x00000000, 0x00200018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_8025FB58_8203D8 -.word 0x00000000, 0x00230018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010 - -dlabel D_8025FB84_820404 -.word 0x00000000, 0x00170014, 0x00000000, 0x00000000, 0x00000000, EnemyNpcHit, 0x00000000, EnemyNpcDefeat, 0x00000000, 0x00000000, 0x00060000 - -dlabel D_8025FBB0_820430 -.word 0x00000000, 0x001A0017, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000 - -dlabel D_8025FBDC_82045C -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00B60008, 0x00B60001, 0x00000000, 0x0001003C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FC0C_82048C -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025FBDC_82045C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FC30_8204B0 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00B40004, 0x00B40001, 0x00000000, 0x0001003D, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FC60_8204E0 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025FC30_8204B0, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FC84_820504 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00B50004, 0x00B50001, 0x00000000, 0x0001003E, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FCB4_820534 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025FC84_820504, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FCD8_820558 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00910204, 0x00910201, 0x00000000, 0x0001004E, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FD08_820588 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025FCD8_820558, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FD2C_8205AC -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x008F0007, 0x008F0002, 0x00000000, 0x0001004F, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FD5C_8205DC -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025FD2C_8205AC, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FD80_820600 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A70004, 0x00A70001, 0x00000000, 0x00010040, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FDB0_820630 -.word 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0xFFFFFF1F, 0x00000000, 0x00000140, 0x00000043, 0x00000003, SetNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025FD80_820600, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FE04_820684 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00A70004, 0x00A70001, 0x00000000, 0x00010041, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FE34_8206B4 -.word 0x00000043, 0x00000005, SetNpcScale, 0xFFFFFFFF, 0xF24A7D80, 0xF24A7D80, 0xF24A7D80, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0xFFFFFF06, 0x00000000, 0x00000127, 0x00000043, 0x00000003, SetNpcYaw, 0xFFFFFFFF, 0x0000010E, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025FE04_820684, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FEA4_820724 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00930004, 0x00930001, 0x00000000, 0x00010050, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FED4_820754 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025FEA4_820724, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FEF8_820778 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00930004, 0x00930001, 0x00000000, 0x00010051, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FF28_8207A8 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025FEF8_820778, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FF4C_8207CC -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x00AD0004, 0x00AD0001, 0x00000010, 0x00010052, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FF7C_8207FC -.word 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00AD0005, 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025FF4C_8207CC, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FFB4_820834 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x008E0002, 0x008E0001, 0x00000010, 0x00010053, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8025FFE4_820864 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_8025FFB4_820834, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80260008_820888 -.word 0x00000043, 0x00000006, SpeakToPlayer, 0xFFFFFFFF, 0x008E0102, 0x008E0101, 0x00000010, 0x00010054, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80260038_8208B8 -.word 0x00000043, 0x00000003, BindNpcInteract, 0xFFFFFFFF, D_80260008_820888, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8026005C_8208DC -.word 0x00B60000, 0x00B60001, 0x00B60008, 0xFFFFFFFF - -dlabel D_8026006C_8208EC -.word 0x00B40000, 0x00B40001, 0x00B40004, 0xFFFFFFFF - -dlabel D_8026007C_8208FC -.word 0x00B50000, 0x00B50001, 0x00B50004, 0xFFFFFFFF - -dlabel D_8026008C_82090C -.word 0x008F0000, 0x008F0002, 0x008F0007, 0xFFFFFFFF - -dlabel D_8026009C_82091C -.word 0x00910000, 0x00910001, 0x00910004, 0xFFFFFFFF - -dlabel D_802600AC_82092C -.word 0x00000013, D_8025FAD4_820354, 0x42700000, 0x00000000, 0xC2F00000, 0x00002D09, D_8025FC0C_82048C, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00B60001, 0x00B60004, 0x00B60006, 0x00B60006, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00B60001, 0x00000000, 0x00000000, D_8026005C_8208DC, 0x00000000, 0x0000001E, D_8025FB00_820380, 0x42C80000, 0x00000000, 0xC2DC0000, 0x00002D09, D_8025FC60_8204E0, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00B40001, 0x00B40002, 0x00B40003, 0x00B40003, 0x00B40001, 0x00B40001, 0x00B40001, 0x00B40001, 0x00B40001, 0x00B40001, 0x00B40001, 0x00B40001, 0x00B40001, 0x00B40001, 0x00B40001, 0x00B40001, 0x00000000, 0x00000000, D_8026006C_8208EC, 0x00000000, 0x0000001F, D_8025FB2C_8203AC, 0xC3A50000, 0x00000000, 0x43A50000, 0x00002D09, D_8025FCB4_820534, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00B50001, 0x00B50001, 0x00B50001, 0x00B50001, 0x00B50001, 0x00B50001, 0x00B50001, 0x00B50001, 0x00B50001, 0x00B50001, 0x00B50001, 0x00B50001, 0x00B50001, 0x00B50001, 0x00B50001, 0x00B50001, 0x00000000, 0x00000000, D_8026007C_8208FC, 0x00000000, 0x00000020, D_8025FB58_8203D8, 0x43960000, 0x41A00000, 0xC2C80000, 0x00002D09, D_8025FD5C_8205DC, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x008F0002, 0x008F0005, 0x008F0006, 0x008F0006, 0x008F0002, 0x008F0002, 0x008F0000, 0x008F0000, 0x008F0000, 0x008F0000, 0x008F0000, 0x008F0000, 0x008F0000, 0x008F0000, 0x008F0000, 0x008F0000, 0x00000000, 0x00000000, D_8026008C_82090C, 0x00000000, 0x00000021, D_8025FB84_820404, 0x437C0000, 0x41A00000, 0xC2C80000, 0x00002D09, D_8025FD08_820588, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00910201, 0x00910202, 0x00910203, 0x00910203, 0x00910201, 0x00910201, 0x00910200, 0x00910200, 0x00910200, 0x00910200, 0x00910200, 0x00910200, 0x00910200, 0x00910200, 0x00910200, 0x00910200, 0x00000000, 0x00000000, D_8026009C_82091C, 0x00000000 - -dlabel D_80260A5C_8212DC -.word 0x00A70000, 0x00A70001, 0x00A70004, 0xFFFFFFFF - -dlabel D_80260A6C_8212EC -.word 0x00000001, D_8025FA50_8202D0, 0xC3550000, 0xC2580000, 0x43800000, 0x00002D09, D_8025FDB0_820630, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A70001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80260A5C_8212DC, 0x001A0024, 0x00000002, D_8025FA50_8202D0, 0xC37A0000, 0x00000000, 0x43838000, 0x00002D09, D_8025FE34_8206B4, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00A70001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80260A5C_8212DC, 0x001A0025 - -dlabel D_80260E4C_8216CC -.word 0x00930000, 0x00930001, 0x00930004, 0xFFFFFFFF - -dlabel D_80260E5C_8216DC -.word 0x00000022, D_8025FBB0_820430, 0xC1200000, 0x00000000, 0x43B40000, 0x00002D01, D_8025FED4_820754, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00930001, 0x00930002, 0x00930003, 0x00930003, 0x00930001, 0x00930001, 0x00930000, 0x00930000, 0x00930001, 0x00930001, 0x00930001, 0x00930001, 0x00930001, 0x00930001, 0x00930001, 0x00930001, 0x00000000, 0x00000000, D_80260E4C_8216CC, 0x00000000, 0x00000023, D_8025FBB0_820430, 0x41C80000, 0x00000000, 0x43960000, 0x00002D01, D_8025FF28_8207A8, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00930001, 0x00930002, 0x00930003, 0x00930003, 0x00930001, 0x00930001, 0x00930000, 0x00930000, 0x00930001, 0x00930001, 0x00930001, 0x00930001, 0x00930001, 0x00930001, 0x00930001, 0x00930001, 0x00000000, 0x00000000, D_80260E4C_8216CC, 0x00000000 - -dlabel D_8026123C_821ABC -.word 0x00AD0000, 0x00AD0001, 0x00AD0005, 0x00AD0004, 0xFFFFFFFF - -dlabel D_80261250_821AD0 -.word 0x008E0000, 0x008E0001, 0x008E0002, 0xFFFFFFFF - -dlabel D_80261260_821AE0 -.word 0x00000024, D_8025FA7C_8202FC, 0x43820000, 0x41A00000, 0x440C0000, 0x00402D09, D_8025FF7C_8207FC, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00AD0001, 0x00AD0000, 0x00AD0000, 0x00AD0000, 0x00AD0000, 0x00AD0000, 0x00AD0000, 0x00AD0000, 0x00AD0000, 0x00AD0000, 0x00AD0000, 0x00AD0000, 0x00AD0000, 0x00AD0000, 0x00AD0000, 0x00AD0000, 0x00000000, 0x00000000, D_8026123C_821ABC, 0x001A0057, 0x00000025, D_8025FA7C_8202FC, 0x43660000, 0x41A00000, 0x43FA0000, 0x00402D09, D_8025FFE4_820864, 0x00000000, 0x00000000, 0x0000005A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x008E0001, 0x008E0001, 0x008E0001, 0x008E0001, 0x008E0001, 0x008E0001, 0x008E0001, 0x008E0001, 0x008E0001, 0x008E0001, 0x008E0001, 0x008E0001, 0x008E0001, 0x008E0001, 0x008E0001, 0x008E0001, 0x00000000, 0x00000000, D_80261250_821AD0, 0x001A0059, 0x00000026, D_8025FA7C_8202FC, 0x43960000, 0x41A00000, 0x43FA0000, 0x00402D09, D_80260038_8208B8, 0x00000000, 0x00000000, 0x0000010E, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x008E0101, 0x008E0100, 0x008E0100, 0x008E0100, 0x008E0100, 0x008E0100, 0x008E0100, 0x008E0100, 0x008E0100, 0x008E0100, 0x008E0100, 0x008E0100, 0x008E0100, 0x008E0100, 0x008E0100, 0x008E0100, 0x00000000, 0x00000000, D_80261250_821AD0, 0x001A0095, 0x00000005, D_802600AC_82092C, 0x00000000, 0x00000002, D_80260A6C_8212EC, 0x00000000, 0x00000002, D_80260E5C_8216DC, 0x00000000, 0x00000003, D_80261260_821AE0, 0x00000000, 0x0000000A, D_8025CCA8_81D528, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_01/822100.data.s b/ver/us/asm/data/world/area_mac/mac_01/822100.data.s deleted file mode 100644 index 70c4436f3f..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_01/822100.data.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_80261880_822100 -.word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000003, EnableModel, 0x0000008D, 0x00000000, 0x00000043, 0x00000001, dup_mac_01_UnkMachiFunc, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFFFFFDD0, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFFFFFDD0, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xF24E6280, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000005, SetNpcPos, 0x00000000, 0xFFFFFE34, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetNpcYaw, 0x00000000, 0x0000005A, 0x00000056, 0x00000000, 0x00000043, 0x00000004, func_802D1270, 0xFFFFFF9C, 0x00000000, 0xF24A8A80, 0x00000043, 0x00000004, func_802D1270, 0xFFFFFFE7, 0xFFFFFFE7, 0xF24A8A80, 0x00000043, 0x00000004, func_802D1270, 0x00000000, 0xFFFFFF9C, 0xF24A8A80, 0x00000043, 0x00000004, func_802D1270, 0x00000000, 0xFFFFFE70, 0xF24A8A80, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, SetNpcSpeed, 0x00000000, 0xF24A8A80, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x0082000A, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0xFFFFFF9C, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x0082001E, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0xFFFFFFE7, 0xFFFFFFE7, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0x00000000, 0xFFFFFF9C, 0x00000000, 0x00000043, 0x00000005, NpcMoveTo, 0x00000000, 0x00000000, 0xFFFFFEAC, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x0082001C, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000005, MakeLerp, 0x0000012C, 0x00000190, 0x00000064, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000004B, 0x00000043, 0x00000003, GotoMap, 0x80262A30, 0x00000004, 0x00000008, 0x00000001, 0x00000064, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_mac/mac_01/822460.data.s b/ver/us/asm/data/world/area_mac/mac_01/822460.data.s deleted file mode 100644 index 13715958ad..0000000000 --- a/ver/us/asm/data/world/area_mac/mac_01/822460.data.s +++ /dev/null @@ -1,42 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_80261BE0_822460 -.word 0x00000030, 0x00000001, 0xFE363C80, 0x00000034, 0x00000004, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C85, 0xFE363C8F, 0xFE363C87, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000005, 0x00000030, 0x00000001, 0xFE363C81, 0x00000031, 0x00000001, 0xFE363C82, 0x00000005, 0x00000001, 0xFE363C82, 0x00000031, 0x00000001, 0xFE363C83, 0x00000043, 0x00000006, mac_01_TransformFoliage, 0xFE363C83, 0xF24A7AE7, 0x00000001, 0xFE363C8F, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, PlaySoundAtModel, 0xFE363C83, 0x00000153, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000030, 0x00000001, 0xFE363C81, 0x00000031, 0x00000001, 0xFE363C82, 0x00000005, 0x00000001, 0xFE363C82, 0x00000031, 0x00000001, 0xFE363C83, 0x00000043, 0x00000006, mac_01_TransformFoliage, 0xFE363C83, 0xF24A7AE7, 0xFFFFFFFF, 0xFE363C8F, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000030, 0x00000001, 0xFE363C81, 0x00000031, 0x00000001, 0xFE363C82, 0x00000005, 0x00000001, 0xFE363C82, 0x00000031, 0x00000001, 0xFE363C83, 0x00000043, 0x00000005, TranslateModel, 0xFE363C83, 0x00000000, 0x00000000, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C82, 0x00000000, 0x00000030, 0x00000001, 0xFE363C82, 0x00000031, 0x00000001, 0xFE363C83, 0x00000005, 0x00000001, 0xFE363C83, 0x00000031, 0x00000001, 0xFE363C84, 0x00000033, 0x00000003, 0xFE363C85, 0xFE363C86, 0xFE363C87, 0x00000033, 0x00000003, 0xFE363C88, 0xFE363C89, 0xFE363C8A, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000007, DropItemEntity, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0xFE363C89, 0x00000012, 0x00000000, 0x00000043, 0x00000003, GetValueByRef, 0xFE363C8A, 0xFE363C8B, 0x0000000A, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000043, 0x00000003, SetValueByRef, 0xFE363C8A, 0x00000001, 0x00000043, 0x00000007, DropItemEntity, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0xFE363C89, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x0000000B, 0x00000002, 0xFE363C84, 0x00000000, 0x00000046, 0x00000001, 0xFE363C84, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80261F40_8227C0 -.word 0x0000004C, 0x00000001, 0xF24A8280, 0x00000030, 0x00000001, 0xFE363C80, 0x00000034, 0x00000004, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000031, 0x00000001, 0xFE363C85, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C86, 0xFE363C8F, 0xFE363C88, 0x00000043, 0x00000002, PlaySound, 0x00000165, 0x00000043, 0x00000002, PlaySound, 0x00000166, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000005, 0x00000001, 0x00000005, 0x00000030, 0x00000001, 0xFE363C81, 0x00000031, 0x00000001, 0xFE363C82, 0x00000005, 0x00000001, 0xFE363C82, 0x00000031, 0x00000001, 0xFE363C83, 0x00000043, 0x00000006, mac_01_TransformFoliage, 0xFE363C83, 0xF24A7AE7, 0xF24A7B4D, 0xFE363C8F, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, PlaySoundAtModel, 0xFE363C83, 0x00000166, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000030, 0x00000001, 0xFE363C81, 0x00000031, 0x00000001, 0xFE363C82, 0x00000005, 0x00000001, 0xFE363C82, 0x00000031, 0x00000001, 0xFE363C83, 0x00000043, 0x00000006, mac_01_TransformFoliage, 0xFE363C83, 0xF24A7AE7, 0xF24A79B4, 0xFE363C8F, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000030, 0x00000001, 0xFE363C81, 0x00000031, 0x00000001, 0xFE363C82, 0x00000005, 0x00000001, 0xFE363C82, 0x00000031, 0x00000001, 0xFE363C83, 0x00000043, 0x00000005, TranslateModel, 0xFE363C83, 0x00000000, 0x00000000, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C82, 0x00000000, 0x00000005, 0x00000001, 0x00000005, 0x00000030, 0x00000001, 0xFE363C82, 0x00000031, 0x00000001, 0xFE363C83, 0x00000005, 0x00000001, 0xFE363C83, 0x00000031, 0x00000001, 0xFE363C84, 0x00000043, 0x00000006, mac_01_TransformFoliage, 0xFE363C84, 0xF24A7AE7, 0xF24A7B4D, 0xFE363C8F, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, PlaySoundAtModel, 0xFE363C84, 0x00000165, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000030, 0x00000001, 0xFE363C82, 0x00000031, 0x00000001, 0xFE363C83, 0x00000005, 0x00000001, 0xFE363C83, 0x00000031, 0x00000001, 0xFE363C84, 0x00000043, 0x00000006, mac_01_TransformFoliage, 0xFE363C84, 0xF24A7AE7, 0xF24A79B4, 0xFE363C8F, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000030, 0x00000001, 0xFE363C82, 0x00000031, 0x00000001, 0xFE363C83, 0x00000005, 0x00000001, 0xFE363C83, 0x00000031, 0x00000001, 0xFE363C84, 0x00000043, 0x00000005, TranslateModel, 0xFE363C84, 0x00000000, 0x00000000, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C83, 0x00000000, 0x00000030, 0x00000001, 0xFE363C83, 0x00000031, 0x00000001, 0xFE363C84, 0x00000005, 0x00000001, 0xFE363C84, 0x00000031, 0x00000001, 0xFE363C85, 0x00000033, 0x00000003, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0x00000033, 0x00000003, 0xFE363C89, 0xFE363C8A, 0xFE363C8B, 0x0000000A, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000043, 0x00000007, DropItemEntity, 0xFE363C85, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0xFE363C89, 0xFE363C8A, 0x00000012, 0x00000000, 0x00000043, 0x00000003, GetValueByRef, 0xFE363C8B, 0xFE363C8C, 0x0000000A, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000043, 0x00000003, SetValueByRef, 0xFE363C8B, 0x00000001, 0x00000043, 0x00000007, DropItemEntity, 0xFE363C85, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0xFE363C89, 0xFE363C8A, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C84, 0x00000000, 0x00000030, 0x00000001, 0xFE363C84, 0x00000031, 0x00000001, 0xFE363C85, 0x00000005, 0x00000001, 0xFE363C85, 0x00000033, 0x00000003, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0x00000043, 0x0000000F, PlayEffect, 0x00000014, 0x00000000, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0x00000064, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000006, 0x00000000, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C85, 0x00000000, 0x00000046, 0x00000001, 0xFE363C85, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80262544_822DC4 -.word 0x00000001, 0x0000015C, 0xFFFFFE20, 0x00000078, 0xFFFFFF52, 0x0000000D, 0xF8405CAE, 0xFAA2B58D - -dlabel D_80262564_822DE4 -.word 0x00000001, 0x00000086 - -dlabel D_8026256C_822DEC -.word 0x00000001, 0x00000089 - -dlabel D_80262574_822DF4 -.word 0x00000002, 0xFFFFFDEC, 0x00000087, 0xFFFFFF52, 0xFFFFFE14, 0x00000087, 0xFFFFFF48 - -dlabel D_80262590_822E10 -.word D_80262564_822DE4, D_8026256C_822DEC, D_80262544_822DC4, D_80262574_822DF4, 0x00000000 - -dlabel D_802625A4_822E24 -.word 0xC4000000, 0x41A00000, 0xC31A0000, 0x00000000 - -dlabel D_802625B4_822E34 -.word 0x00000001, 0x00000085 - -dlabel D_802625BC_822E3C -.word 0x00000001, 0x00000088 - -dlabel D_802625C4_822E44 -.word 0x00000002, 0xFFFFFF4F, 0x00000068, 0xFFFFFE22, 0xFFFFFF77, 0x00000068, 0xFFFFFE18 - -dlabel D_802625E0_822E60 -.word D_802625B4_822E34, D_802625BC_822E3C, 0x00000000, D_802625C4_822E44, 0x00000000 - -dlabel D_802625F4_822E74 -.word 0xC31D0000, 0x41A00000, 0xC3E50000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, D_80262590_822E10, 0x00000047, 0x00000005, D_80261F40_8227C0, 0x00001000, 0x00000048, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80261F40_8227C0, 0x00100000, D_802625A4_822E24, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, D_802625E0_822E60, 0x00000047, 0x00000005, D_80261F40_8227C0, 0x00001000, 0x0000002A, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80261F40_8227C0, 0x00100000, D_802625F4_822E74, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_obk/obk_08/BD50D0.data.s b/ver/us/asm/data/world/area_obk/obk_08/BD50D0.data.s index 21dbeb33b0..7cbb6130a6 100644 --- a/ver/us/asm/data/world/area_obk/obk_08/BD50D0.data.s +++ b/ver/us/asm/data/world/area_obk/obk_08/BD50D0.data.s @@ -15,10 +15,10 @@ dlabel D_80241B40_BD53B0 .word 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C8A, 0x00010003, 0x00000024, 0x00000002, 0xFE363C8B, 0x00010001, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C8A, 0x00020005, 0x00000024, 0x00000002, 0xFE363C8B, 0x00020003, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C8A, 0x00030007, 0x00000024, 0x00000002, 0xFE363C8B, 0x00030003, 0x00000016, 0x00000001, 0x00000004, 0x00000024, 0x00000002, 0xFE363C8A, 0x00040003, 0x00000024, 0x00000002, 0xFE363C8B, 0x00040001, 0x00000016, 0x00000001, 0x00000009, 0x00000024, 0x00000002, 0xFE363C8A, 0x00050003, 0x00000024, 0x00000002, 0xFE363C8B, 0x00050001, 0x00000016, 0x00000001, 0x00000006, 0x00000024, 0x00000002, 0xFE363C8A, 0x00060003, 0x00000024, 0x00000002, 0xFE363C8B, 0x00060001, 0x00000016, 0x00000001, 0x00000007, 0x00000024, 0x00000002, 0xFE363C8A, 0x00070003, 0x00000024, 0x00000002, 0xFE363C8B, 0x00070001, 0x00000016, 0x00000001, 0x00000008, 0x00000024, 0x00000002, 0xFE363C8A, 0x00080007, 0x00000024, 0x00000002, 0xFE363C8B, 0x00080001, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241CD4_BD5544 -.word 0x00000056, 0x00000000, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000100, 0x00000001, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000046, 0x00000001, D_80241B40_BD53B0, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0xFE363C8A, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFC, 0xFFFFFFA3, 0xFE363C82, 0x0000000F, 0x00000046, 0x00000001, D_80241B40_BD53B0, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0xFE363C8B, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000100, 0x00000000, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFC, 0x0000010E, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002B, 0x00000008, 0x00000001, 0x0000000D, 0x00000043, 0x00000004, GetPlayerPos, 0xFD050F87, 0xFD050F88, 0xFD050F89, 0x00000043, 0x00000003, func_802403DC_BD3C4C, 0x00000001, 0x00000025, 0x00000043, 0x00000004, func_8024055C_BD3DCC, 0xFD050F87, 0xFD050F88, 0xFD050F89, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0x00000000, 0x000003E8, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x0000005A, 0x0000000A, 0x00000001, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000004, func_8024061C_BD3E8C, 0xFE363C80, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFD050F88, 0x00000003, 0x00000043, 0x00000004, func_8024055C_BD3DCC, 0xFD050F87, 0xFD050F88, 0xFD050F89, 0x00000043, 0x00000001, func_80240808_BD4078, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000056, 0x00000000, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000100, 0x00000001, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000046, 0x00000001, D_80241B40_BD53B0, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0xFE363C8A, 0x00000043, 0x00000005, NpcMoveTo, 0xFFFFFFFC, 0xFFFFFFA3, 0xFE363C82, 0x0000000F, 0x00000046, 0x00000001, D_80241B40_BD53B0, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFC, 0xFE363C8B, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000100, 0x00000000, 0x00000043, 0x00000004, InterpNpcYaw, 0xFFFFFFFC, 0x0000010E, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002B, 0x00000008, 0x00000001, 0x0000000D, 0x00000043, 0x00000004, GetPlayerPos, 0xFD050F87, 0xFD050F88, 0xFD050F89, 0x00000043, 0x00000003, obk_08_KnockDownPlayerB, 0x00000001, 0x00000025, 0x00000043, 0x00000004, obk_08_KnockDownPlayerD, 0xFD050F87, 0xFD050F88, 0xFD050F89, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetPlayerPos, 0x00000000, 0x000003E8, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x0000005A, 0x0000000A, 0x00000001, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000004, obk_08_KnockDownPlayerE, 0xFE363C80, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFD050F88, 0x00000003, 0x00000043, 0x00000004, obk_08_KnockDownPlayerD, 0xFD050F87, 0xFD050F88, 0xFD050F89, 0x00000043, 0x00000001, obk_08_func_80240808_BD4078, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241F20_BD5790 -.word 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000043, 0x00000003, InterpPlayerYaw, 0x0000010E, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000028, 0x00000002, 0xFD050F88, 0x00000003, 0x00000043, 0x00000004, func_8024055C_BD3DCC, 0xFD050F87, 0xFD050F88, 0xFD050F89, 0x00000043, 0x00000005, MakeLerp, 0x0000005A, 0x00000000, 0x0000000F, 0x00000004, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000004, func_8024061C_BD3E8C, 0xFE363C80, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000001, func_802404F0_BD3D60, 0x00000043, 0x00000004, SetPlayerPos, 0xFD050F87, 0xFD050F88, 0xFD050F89, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00090001, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000043, 0x00000003, InterpPlayerYaw, 0x0000010E, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000028, 0x00000002, 0xFD050F88, 0x00000003, 0x00000043, 0x00000004, obk_08_KnockDownPlayerD, 0xFD050F87, 0xFD050F88, 0xFD050F89, 0x00000043, 0x00000005, MakeLerp, 0x0000005A, 0x00000000, 0x0000000F, 0x00000004, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000004, obk_08_KnockDownPlayerE, 0xFE363C80, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000001, obk_08_KnockDownPlayerC, 0x00000043, 0x00000004, SetPlayerPos, 0xFD050F87, 0xFD050F88, 0xFD050F89, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00090001, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_8024207C_BD58EC .word 0xFFFFFF24, 0xFFFFFF74, 0xFFFFFF24, 0xFFFFFF8D, 0xFFFFFF24, 0xFFFFFFA6, 0xFFFFFF24, 0xFFFFFFBF, 0xFFFFFF24, 0xFFFFFFD8, 0xFFFFFF3D, 0xFFFFFFD8, 0xFFFFFF56, 0xFFFFFFD8, 0xFFFFFF6F, 0xFFFFFFD8, 0xFFFFFF88, 0xFFFFFF74, 0xFFFFFF88, 0xFFFFFF8D, 0xFFFFFF88, 0xFFFFFFA6, 0xFFFFFF88, 0xFFFFFFBF, 0xFFFFFF88, 0xFFFFFFD8, 0xFFFFFF6F, 0xFFFFFFD8, 0xFFFFFF56, 0xFFFFFFD8, 0xFFFFFF3D, 0xFFFFFFD8 diff --git a/ver/us/asm/data/world/area_pra/pra_01/D4E500.data.s b/ver/us/asm/data/world/area_pra/pra_01/D4E500.data.s index 1a0b3ff7d5..a281942cf1 100644 --- a/ver/us/asm/data/world/area_pra/pra_01/D4E500.data.s +++ b/ver/us/asm/data/world/area_pra/pra_01/D4E500.data.s @@ -36,13 +36,13 @@ dlabel D_80241810_D4E850 .word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000003, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x80242F98, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_8024186C_D4E8AC -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000A, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024179C_D4E7DC, 0x00000024, 0x00000002, 0xFE363C83, D_802417A8_D4E7E8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024177C_D4E7BC, 0x00000024, 0x00000002, 0xFE363C83, D_80241784_D4E7C4, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80242FA0, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000A, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024179C_D4E7DC, 0x00000024, 0x00000002, 0xFE363C83, D_802417A8_D4E7E8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024177C_D4E7BC, 0x00000024, 0x00000002, 0xFE363C83, D_80241784_D4E7C4, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80242FA0, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241950_D4E990 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000A, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024179C_D4E7DC, 0x00000024, 0x00000002, 0xFE363C83, D_802417A8_D4E7E8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024178C_D4E7CC, 0x00000024, 0x00000002, 0xFE363C83, D_80241794_D4E7D4, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80242FA0, 0x00000005, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000A, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024179C_D4E7DC, 0x00000024, 0x00000002, 0xFE363C83, D_802417A8_D4E7E8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024178C_D4E7CC, 0x00000024, 0x00000002, 0xFE363C83, D_80241794_D4E7D4, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80242FA0, 0x00000005, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241A34_D4EA74 .word 0x00000047, 0x00000005, D_802417B4_D4E7F4, 0x00080000, 0x00000010, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80241810_D4E850, 0x00080000, 0x00000013, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_8024186C_D4E8AC, 0x00000100, 0x0000000A, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80241950_D4E990, 0x00000100, 0x0000000E, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241AB4_D4EAF4 -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, D_80241A34_D4EA74, 0x00000044, 0x00000001, EnterWalk, 0x00000016, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024179C_D4E7DC, 0x00000024, 0x00000002, 0xFE363C83, D_802417A8_D4E7E8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024177C_D4E7BC, 0x00000024, 0x00000002, 0xFE363C83, D_80241784_D4E7C4, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_80241A34_D4EA74, 0x00000016, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024179C_D4E7DC, 0x00000024, 0x00000002, 0xFE363C83, D_802417A8_D4E7E8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024178C_D4E7CC, 0x00000024, 0x00000002, 0xFE363C83, D_80241794_D4E7D4, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_80241A34_D4EA74, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, D_80241A34_D4EA74, 0x00000044, 0x00000001, EnterWalk, 0x00000016, 0x00000001, 0x00000004, 0x00000044, 0x00000001, D_80241A34_D4EA74, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x0000002B, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000024, 0x00000002, 0xF8406346, 0x00000001, 0x0000000A, 0x00000002, 0xF5DE0180, 0x00000058, 0x00000043, 0x00000003, MakeNpcs, 0x00000001, 0x80242F60, 0x00000013, 0x00000000, 0x00000046, 0x00000001, 0x80242F80, 0x00000046, 0x00000001, 0x80241440, 0x00000043, 0x00000001, pra_01_UnkFogFunc, 0x00000043, 0x00000001, func_80240F60_D4DFA0, 0x00000024, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000044, 0x00000001, D_80241678_D4E6B8, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0xF8406152, 0x00000044, 0x00000001, D_802415D0_D4E610, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000010, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000018, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000021, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x0000001A, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x0000001D, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000013, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000017, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000024, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000019, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x0000001F, 0x00000008, 0x00000044, 0x00000001, D_80241AB4_D4EAF4, 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000004, 0x00000008, 0x00000001, 0x00000041, 0x00000012, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 +.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, D_80241A34_D4EA74, 0x00000044, 0x00000001, EnterWalk, 0x00000016, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024179C_D4E7DC, 0x00000024, 0x00000002, 0xFE363C83, D_802417A8_D4E7E8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024177C_D4E7BC, 0x00000024, 0x00000002, 0xFE363C83, D_80241784_D4E7C4, 0x00000013, 0x00000000, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_80241A34_D4EA74, 0x00000016, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024179C_D4E7DC, 0x00000024, 0x00000002, 0xFE363C83, D_802417A8_D4E7E8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024178C_D4E7CC, 0x00000024, 0x00000002, 0xFE363C83, D_80241794_D4E7D4, 0x00000013, 0x00000000, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_80241A34_D4EA74, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, D_80241A34_D4EA74, 0x00000044, 0x00000001, EnterWalk, 0x00000016, 0x00000001, 0x00000004, 0x00000044, 0x00000001, D_80241A34_D4EA74, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x0000002B, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000024, 0x00000002, 0xF8406346, 0x00000001, 0x0000000A, 0x00000002, 0xF5DE0180, 0x00000058, 0x00000043, 0x00000003, MakeNpcs, 0x00000001, 0x80242F60, 0x00000013, 0x00000000, 0x00000046, 0x00000001, 0x80242F80, 0x00000046, 0x00000001, 0x80241440, 0x00000043, 0x00000001, pra_01_UnkFogFunc, 0x00000043, 0x00000001, func_80240F60_D4DFA0, 0x00000024, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000044, 0x00000001, D_80241678_D4E6B8, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0xF8406152, 0x00000044, 0x00000001, D_802415D0_D4E610, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000010, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000018, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000021, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x0000001A, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x0000001D, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000013, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000017, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000024, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x00000019, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x0000001F, 0x00000008, 0x00000044, 0x00000001, D_80241AB4_D4EAF4, 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000004, 0x00000008, 0x00000001, 0x00000041, 0x00000012, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_pra/pra_02/D51720.data.s b/ver/us/asm/data/world/area_pra/pra_02/D51720.data.s index 502b676105..170cc43690 100644 --- a/ver/us/asm/data/world/area_pra/pra_02/D51720.data.s +++ b/ver/us/asm/data/world/area_pra/pra_02/D51720.data.s @@ -78,31 +78,31 @@ dlabel D_80241AFC_D51AEC .word 0xFFFFFFFF dlabel D_80241B00_D51AF0 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000018, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A5C_D51A4C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A6C_D51A5C, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A34_D51A24, 0x00000024, 0x00000002, 0xFE363C83, D_80241A40_D51A30, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243C90, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000018, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A5C_D51A4C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A6C_D51A5C, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A34_D51A24, 0x00000024, 0x00000002, 0xFE363C83, D_80241A40_D51A30, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243C90, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241BF4_D51BE4 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000038, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AEC_D51ADC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AF4_D51AE4, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AEC_D51ADC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AFC_D51AEC, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243C98, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000038, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AEC_D51ADC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AF4_D51AE4, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AEC_D51ADC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AFC_D51AEC, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243C98, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241CE8_D51CD8 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000024, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AD4_D51AC4, 0x00000024, 0x00000002, 0xFE363C83, D_80241AE0_D51AD0, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AAC_D51A9C, 0x00000024, 0x00000002, 0xFE363C83, D_80241AB4_D51AA4, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243CA0, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000024, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AD4_D51AC4, 0x00000024, 0x00000002, 0xFE363C83, D_80241AE0_D51AD0, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AAC_D51A9C, 0x00000024, 0x00000002, 0xFE363C83, D_80241AB4_D51AA4, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243CA0, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241DDC_D51DCC -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000024, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241ABC_D51AAC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AC8_D51AB8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A9C_D51A8C, 0x00000024, 0x00000002, 0xFE363C83, D_80241AA4_D51A94, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243CA8, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000024, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241ABC_D51AAC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AC8_D51AB8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A9C_D51A8C, 0x00000024, 0x00000002, 0xFE363C83, D_80241AA4_D51A94, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243CA8, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241ED0_D51EC0 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000020, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AD4_D51AC4, 0x00000024, 0x00000002, 0xFE363C83, D_80241AE0_D51AD0, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A8C_D51A7C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A94_D51A84, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243CA0, 0x00000003, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000020, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AD4_D51AC4, 0x00000024, 0x00000002, 0xFE363C83, D_80241AE0_D51AD0, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A8C_D51A7C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A94_D51A84, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243CA0, 0x00000003, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241FC4_D51FB4 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000020, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241ABC_D51AAC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AC8_D51AB8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A7C_D51A6C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A84_D51A74, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243CA8, 0x00000003, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000020, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241ABC_D51AAC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AC8_D51AB8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A7C_D51A6C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A84_D51A74, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243CA8, 0x00000003, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802420C0_D520B0 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000004, 0x00000024, 0x00000002, 0xFE363C81, 0x00000033, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AEC_D51ADC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AF4_D51AE4, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AFC_D51AEC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AF4_D51AE4, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243CB0, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000004, 0x00000024, 0x00000002, 0xFE363C81, 0x00000033, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AEC_D51ADC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AF4_D51AE4, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AFC_D51AEC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AF4_D51AE4, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243CB0, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802421B4_D521A4 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000005, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001C, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A5C_D51A4C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A6C_D51A5C, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A4C_D51A3C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A54_D51A44, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243C90, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000005, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001C, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A5C_D51A4C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A6C_D51A5C, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A4C_D51A3C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A54_D51A44, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243C90, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802422A8_D52298 .word 0x00000047, 0x00000005, D_80241B00_D51AF0, 0x00000100, 0x00000018, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80241BF4_D51BE4, 0x00000100, 0x00000038, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xF8406153, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x0000002D, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000029, 0x7FFFFE00, 0x00000012, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000024, 0x7FFFFE00, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000020, 0x7FFFFE00, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8406157, 0x00000001, 0x00000047, 0x00000005, D_80241CE8_D51CD8, 0x00000100, 0x00000024, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80241ED0_D51EC0, 0x00000100, 0x00000020, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8406158, 0x00000001, 0x00000047, 0x00000005, D_80241DDC_D51DCC, 0x00000100, 0x0000002D, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80241FC4_D51FB4, 0x00000100, 0x00000029, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000047, 0x00000005, D_802420C0_D520B0, 0x00000100, 0x00000033, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_802421B4_D521A4, 0x00000100, 0x0000001C, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80242448_D52438 -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x0000000A, 0x00000002, 0xF8406156, 0x00000000, 0x00000024, 0x00000002, 0xF8406156, 0x00000001, 0x00000024, 0x00000002, 0xF5DE0180, 0x0000004E, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A5C_D51A4C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A6C_D51A5C, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A34_D51A24, 0x00000024, 0x00000002, 0xFE363C83, D_80241A40_D51A30, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AEC_D51ADC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AF4_D51AE4, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AEC_D51ADC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AFC_D51AEC, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x0000000A, 0x00000002, 0xF8406153, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AD4_D51AC4, 0x00000024, 0x00000002, 0xFE363C83, D_80241AE0_D51AD0, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AAC_D51A9C, 0x00000024, 0x00000002, 0xFE363C83, D_80241AB4_D51AA4, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241ABC_D51AAC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AC8_D51AB8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A9C_D51A8C, 0x00000024, 0x00000002, 0xFE363C83, D_80241AA4_D51A94, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x0000000A, 0x00000002, 0xF8406153, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AD4_D51AC4, 0x00000024, 0x00000002, 0xFE363C83, D_80241AE0_D51AD0, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A8C_D51A7C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A94_D51A84, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241ABC_D51AAC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AC8_D51AB8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A7C_D51A6C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A84_D51A74, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000004, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AEC_D51ADC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AF4_D51AE4, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AFC_D51AEC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AF4_D51AE4, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000005, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A5C_D51A4C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A6C_D51A5C, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A4C_D51A3C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A54_D51A44, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_802422A8_D52298, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000046, 0x00000001, 0x802439B4, 0x0000000A, 0x00000002, 0xF8406153, 0x00000000, 0x00000024, 0x00000002, 0xFD050F80, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000038, 0x00000000, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFD050F80, 0xFFFFFF06, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000031, 0x00000000, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_802419EC_D519DC, 0x00000047, 0x00000005, 0x80242FB8, 0x00000080, 0x0000003D, 0x00000001, 0x00000000, 0x00000047, 0x00000005, 0x80242FB8, 0x00000080, 0x0000003E, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000014, 0x00000024, 0x00000002, 0xFE363C81, 0x00000014, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000044, 0x00000001, D_802418E8_D518D8, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0xF8406152, 0x00000044, 0x00000001, D_80241840_D51830, 0x00000044, 0x00000001, D_80242448_D52438, 0x00000008, 0x00000001, 0x00000001, 0x00000044, 0x00000001, 0x80241700, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 +.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x0000000A, 0x00000002, 0xF8406156, 0x00000000, 0x00000024, 0x00000002, 0xF8406156, 0x00000001, 0x00000024, 0x00000002, 0xF5DE0180, 0x0000004E, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A5C_D51A4C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A6C_D51A5C, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A34_D51A24, 0x00000024, 0x00000002, 0xFE363C83, D_80241A40_D51A30, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AEC_D51ADC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AF4_D51AE4, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AEC_D51ADC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AFC_D51AEC, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x0000000A, 0x00000002, 0xF8406153, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AD4_D51AC4, 0x00000024, 0x00000002, 0xFE363C83, D_80241AE0_D51AD0, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AAC_D51A9C, 0x00000024, 0x00000002, 0xFE363C83, D_80241AB4_D51AA4, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241ABC_D51AAC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AC8_D51AB8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A9C_D51A8C, 0x00000024, 0x00000002, 0xFE363C83, D_80241AA4_D51A94, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x0000000A, 0x00000002, 0xF8406153, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AD4_D51AC4, 0x00000024, 0x00000002, 0xFE363C83, D_80241AE0_D51AD0, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A8C_D51A7C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A94_D51A84, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241ABC_D51AAC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AC8_D51AB8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A7C_D51A6C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A84_D51A74, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000004, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AEC_D51ADC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AF4_D51AE4, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241AFC_D51AEC, 0x00000024, 0x00000002, 0xFE363C83, D_80241AF4_D51AE4, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000005, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A5C_D51A4C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A6C_D51A5C, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241A4C_D51A3C, 0x00000024, 0x00000002, 0xFE363C83, D_80241A54_D51A44, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_802422A8_D52298, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000046, 0x00000001, 0x802439B4, 0x0000000A, 0x00000002, 0xF8406153, 0x00000000, 0x00000024, 0x00000002, 0xFD050F80, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000038, 0x00000000, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFD050F80, 0xFFFFFF06, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000031, 0x00000000, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_802419EC_D519DC, 0x00000047, 0x00000005, 0x80242FB8, 0x00000080, 0x0000003D, 0x00000001, 0x00000000, 0x00000047, 0x00000005, 0x80242FB8, 0x00000080, 0x0000003E, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000014, 0x00000024, 0x00000002, 0xFE363C81, 0x00000014, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000044, 0x00000001, D_802418E8_D518D8, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0xF8406152, 0x00000044, 0x00000001, D_80241840_D51830, 0x00000044, 0x00000001, D_80242448_D52438, 0x00000008, 0x00000001, 0x00000001, 0x00000044, 0x00000001, 0x80241700, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_pra/pra_13/D65C70.data.s b/ver/us/asm/data/world/area_pra/pra_13/D65C70.data.s index 02f46e177a..90c5347cd0 100644 --- a/ver/us/asm/data/world/area_pra/pra_13/D65C70.data.s +++ b/ver/us/asm/data/world/area_pra/pra_13/D65C70.data.s @@ -30,7 +30,7 @@ dlabel D_80241990_D65F70 .word 0x0000001A, 0x0000001B, 0x00000054, 0x00000055, 0xFFFFFFFF dlabel D_802419A4_D65F84 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000014, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024197C_D65F5C, 0x00000024, 0x00000002, 0xFE363C83, D_80241990_D65F70, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024194C_D65F2C, 0x00000024, 0x00000002, 0xFE363C83, D_80241958_D65F38, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243710, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000014, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024197C_D65F5C, 0x00000024, 0x00000002, 0xFE363C83, D_80241990_D65F70, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024194C_D65F2C, 0x00000024, 0x00000002, 0xFE363C83, D_80241958_D65F38, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243710, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241A98_D66078 .word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000001, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x80243718, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 @@ -39,13 +39,13 @@ dlabel D_80241B04_D660E4 .word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000002, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x80243718, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241B70_D66150 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000018, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024197C_D65F5C, 0x00000024, 0x00000002, 0xFE363C83, D_80241990_D65F70, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241964_D65F44, 0x00000024, 0x00000002, 0xFE363C83, D_80241970_D65F50, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243710, 0x00000003, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000018, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024197C_D65F5C, 0x00000024, 0x00000002, 0xFE363C83, D_80241990_D65F70, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241964_D65F44, 0x00000024, 0x00000002, 0xFE363C83, D_80241970_D65F50, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243710, 0x00000003, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241C64_D66244 .word 0x00000047, 0x00000005, D_802419A4_D65F84, 0x00000100, 0x00000014, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80241A98_D66078, 0x00080000, 0x0000001A, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80241B04_D660E4, 0x00080000, 0x0000001C, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80241B70_D66150, 0x00000100, 0x00000018, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241CE4_D662C4 -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024197C_D65F5C, 0x00000024, 0x00000002, 0xFE363C83, D_80241990_D65F70, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024194C_D65F2C, 0x00000024, 0x00000002, 0xFE363C83, D_80241958_D65F38, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_80241C64_D66244, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, D_80241C64_D66244, 0x00000044, 0x00000001, EnterWalk, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, D_80241C64_D66244, 0x00000044, 0x00000001, EnterWalk, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024197C_D65F5C, 0x00000024, 0x00000002, 0xFE363C83, D_80241990_D65F70, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241964_D65F44, 0x00000024, 0x00000002, 0xFE363C83, D_80241970_D65F50, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_80241C64_D66244, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024197C_D65F5C, 0x00000024, 0x00000002, 0xFE363C83, D_80241990_D65F70, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024194C_D65F2C, 0x00000024, 0x00000002, 0xFE363C83, D_80241958_D65F38, 0x00000013, 0x00000000, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_80241C64_D66244, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, D_80241C64_D66244, 0x00000044, 0x00000001, EnterWalk, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, D_80241C64_D66244, 0x00000044, 0x00000001, EnterWalk, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024197C_D65F5C, 0x00000024, 0x00000002, 0xFE363C83, D_80241990_D65F70, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241964_D65F44, 0x00000024, 0x00000002, 0xFE363C83, D_80241970_D65F50, 0x00000013, 0x00000000, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_80241C64_D66244, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241E90_D66470 .word 0x43F38000, 0x00000000, 0x42A00000, 0x00000000 diff --git a/ver/us/asm/data/world/area_pra/pra_16/D6AAF0.data.s b/ver/us/asm/data/world/area_pra/pra_16/D6AAF0.data.s index c12859d3ca..1f1c016e5f 100644 --- a/ver/us/asm/data/world/area_pra/pra_16/D6AAF0.data.s +++ b/ver/us/asm/data/world/area_pra/pra_16/D6AAF0.data.s @@ -48,19 +48,19 @@ dlabel D_80241328_D6AE48 .word 0x0000002E, 0x0000002F, 0x00000031, 0x00000032, 0xFFFFFFFF dlabel D_8024133C_D6AE5C -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000015, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412BC_D6ADDC, 0x00000024, 0x00000002, 0xFE363C83, D_802412D0_D6ADF0, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024128C_D6ADAC, 0x00000024, 0x00000002, 0xFE363C83, D_80241298_D6ADB8, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241AF0, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000015, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412BC_D6ADDC, 0x00000024, 0x00000002, 0xFE363C83, D_802412D0_D6ADF0, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024128C_D6ADAC, 0x00000024, 0x00000002, 0xFE363C83, D_80241298_D6ADB8, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241AF0, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241430_D6AF50 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001D, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241314_D6AE34, 0x00000024, 0x00000002, 0xFE363C83, D_80241328_D6AE48, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412E4_D6AE04, 0x00000024, 0x00000002, 0xFE363C83, D_802412F0_D6AE10, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241AF8, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001D, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241314_D6AE34, 0x00000024, 0x00000002, 0xFE363C83, D_80241328_D6AE48, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412E4_D6AE04, 0x00000024, 0x00000002, 0xFE363C83, D_802412F0_D6AE10, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241AF8, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241524_D6B044 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000021, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241314_D6AE34, 0x00000024, 0x00000002, 0xFE363C83, D_80241328_D6AE48, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412FC_D6AE1C, 0x00000024, 0x00000002, 0xFE363C83, D_80241308_D6AE28, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241AF8, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000021, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241314_D6AE34, 0x00000024, 0x00000002, 0xFE363C83, D_80241328_D6AE48, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412FC_D6AE1C, 0x00000024, 0x00000002, 0xFE363C83, D_80241308_D6AE28, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241AF8, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241618_D6B138 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000019, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412BC_D6ADDC, 0x00000024, 0x00000002, 0xFE363C83, D_802412D0_D6ADF0, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412A4_D6ADC4, 0x00000024, 0x00000002, 0xFE363C83, D_802412B0_D6ADD0, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241AF0, 0x00000003, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000019, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412BC_D6ADDC, 0x00000024, 0x00000002, 0xFE363C83, D_802412D0_D6ADF0, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412A4_D6ADC4, 0x00000024, 0x00000002, 0xFE363C83, D_802412B0_D6ADD0, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241AF0, 0x00000003, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_8024170C_D6B22C .word 0x00000047, 0x00000005, D_8024133C_D6AE5C, 0x00000100, 0x00000015, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80241430_D6AF50, 0x00000100, 0x0000001D, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80241524_D6B044, 0x00000100, 0x00000021, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80241618_D6B138, 0x00000100, 0x00000019, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_8024178C_D6B2AC -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412BC_D6ADDC, 0x00000024, 0x00000002, 0xFE363C83, D_802412D0_D6ADF0, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024128C_D6ADAC, 0x00000024, 0x00000002, 0xFE363C83, D_80241298_D6ADB8, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241314_D6AE34, 0x00000024, 0x00000002, 0xFE363C83, D_80241328_D6AE48, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412E4_D6AE04, 0x00000024, 0x00000002, 0xFE363C83, D_802412F0_D6AE10, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241314_D6AE34, 0x00000024, 0x00000002, 0xFE363C83, D_80241328_D6AE48, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412FC_D6AE1C, 0x00000024, 0x00000002, 0xFE363C83, D_80241308_D6AE28, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412BC_D6ADDC, 0x00000024, 0x00000002, 0xFE363C83, D_802412D0_D6ADF0, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412A4_D6ADC4, 0x00000024, 0x00000002, 0xFE363C83, D_802412B0_D6ADD0, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_8024170C_D6B22C, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000044, 0x00000001, 0x80240FA0, 0x00000024, 0x00000002, 0xFE363C80, 0x0000003B, 0x00000024, 0x00000002, 0xFE363C81, 0x0000003C, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000044, 0x00000001, D_80241188_D6ACA8, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0xF8406152, 0x00000044, 0x00000001, D_802410E0_D6AC00, 0x00000044, 0x00000001, D_8024178C_D6B2AC, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 +.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412BC_D6ADDC, 0x00000024, 0x00000002, 0xFE363C83, D_802412D0_D6ADF0, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024128C_D6ADAC, 0x00000024, 0x00000002, 0xFE363C83, D_80241298_D6ADB8, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241314_D6AE34, 0x00000024, 0x00000002, 0xFE363C83, D_80241328_D6AE48, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412E4_D6AE04, 0x00000024, 0x00000002, 0xFE363C83, D_802412F0_D6AE10, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseDoorSounds, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241314_D6AE34, 0x00000024, 0x00000002, 0xFE363C83, D_80241328_D6AE48, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412FC_D6AE1C, 0x00000024, 0x00000002, 0xFE363C83, D_80241308_D6AE28, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000002, UseDoorSounds, 0x00000003, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412BC_D6ADDC, 0x00000024, 0x00000002, 0xFE363C83, D_802412D0_D6ADF0, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412A4_D6ADC4, 0x00000024, 0x00000002, 0xFE363C83, D_802412B0_D6ADD0, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_8024170C_D6B22C, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000044, 0x00000001, 0x80240FA0, 0x00000024, 0x00000002, 0xFE363C80, 0x0000003B, 0x00000024, 0x00000002, 0xFE363C81, 0x0000003C, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000044, 0x00000001, D_80241188_D6ACA8, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0xF8406152, 0x00000044, 0x00000001, D_802410E0_D6AC00, 0x00000044, 0x00000001, D_8024178C_D6B2AC, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_pra/pra_18/D6C5F0.data.s b/ver/us/asm/data/world/area_pra/pra_18/D6C5F0.data.s index 6119f05c14..2cf1c80ac8 100644 --- a/ver/us/asm/data/world/area_pra/pra_18/D6C5F0.data.s +++ b/ver/us/asm/data/world/area_pra/pra_18/D6C5F0.data.s @@ -30,16 +30,16 @@ dlabel D_802412D0_D6C8F0 .word 0x00000055, 0x00000056, 0xFFFFFFFF dlabel D_802412DC_D6C8FC -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001B, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D6C8CC, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D6C8D8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024128C_D6C8AC, 0x00000024, 0x00000002, 0xFE363C83, D_80241294_D6C8B4, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243380, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001B, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D6C8CC, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D6C8D8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024128C_D6C8AC, 0x00000024, 0x00000002, 0xFE363C83, D_80241294_D6C8B4, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243380, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802413C0_D6C9E0 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000023, 0x00000024, 0x00000002, 0xFE363C82, D_802412C4_D6C8E4, 0x00000024, 0x00000002, 0xFE363C83, D_802412D0_D6C8F0, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243388, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000023, 0x00000024, 0x00000002, 0xFE363C82, D_802412C4_D6C8E4, 0x00000024, 0x00000002, 0xFE363C83, D_802412D0_D6C8F0, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243388, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241464_D6CA84 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001F, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D6C8CC, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D6C8D8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024129C_D6C8BC, 0x00000024, 0x00000002, 0xFE363C83, D_802412A4_D6C8C4, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243380, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001F, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D6C8CC, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D6C8D8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024129C_D6C8BC, 0x00000024, 0x00000002, 0xFE363C83, D_802412A4_D6C8C4, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243380, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241548_D6CB68 .word 0x00000047, 0x00000005, D_802412DC_D6C8FC, 0x00000100, 0x0000001B, 0x00000001, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000051, 0x00000047, 0x00000005, D_802413C0_D6C9E0, 0x00000100, 0x00000023, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000047, 0x00000005, D_80241464_D6CA84, 0x00000100, 0x0000001F, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802415C4_D6CBE4 -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D6C8CC, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D6C8D8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024128C_D6C8AC, 0x00000024, 0x00000002, 0xFE363C83, D_80241294_D6C8B4, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, D_802412C4_D6C8E4, 0x00000024, 0x00000002, 0xFE363C83, D_802412D0_D6C8F0, 0x00000016, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D6C8CC, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D6C8D8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024129C_D6C8BC, 0x00000024, 0x00000002, 0xFE363C83, D_802412A4_D6C8C4, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_80241548_D6CB68, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000043, 0x00000003, MakeNpcs, 0x00000001, 0x80243350, 0x00000044, 0x00000001, 0x80240F90, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000051, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000027, 0x7FFFFE00, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000047, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000028, 0x7FFFFE00, 0x00000043, 0x00000003, SetGroupEnabled, 0x0000003E, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000029, 0x7FFFFE00, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000042, 0x00000000, 0x00000012, 0x00000000, 0x00000014, 0x00000001, 0xF5DE029C, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000029, 0x7FFFFE00, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000042, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000028, 0x7FFFFE00, 0x00000043, 0x00000003, SetGroupEnabled, 0x0000003E, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000029, 0x7FFFFE00, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000042, 0x00000000, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_802415C4_D6CBE4, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 +.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D6C8CC, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D6C8D8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024128C_D6C8AC, 0x00000024, 0x00000002, 0xFE363C83, D_80241294_D6C8B4, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, D_802412C4_D6C8E4, 0x00000024, 0x00000002, 0xFE363C83, D_802412D0_D6C8F0, 0x00000016, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D6C8CC, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D6C8D8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024129C_D6C8BC, 0x00000024, 0x00000002, 0xFE363C83, D_802412A4_D6C8C4, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_80241548_D6CB68, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000043, 0x00000003, MakeNpcs, 0x00000001, 0x80243350, 0x00000044, 0x00000001, 0x80240F90, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000051, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000027, 0x7FFFFE00, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000047, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000028, 0x7FFFFE00, 0x00000043, 0x00000003, SetGroupEnabled, 0x0000003E, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000029, 0x7FFFFE00, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000042, 0x00000000, 0x00000012, 0x00000000, 0x00000014, 0x00000001, 0xF5DE029C, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000029, 0x7FFFFE00, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000042, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000028, 0x7FFFFE00, 0x00000043, 0x00000003, SetGroupEnabled, 0x0000003E, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000029, 0x7FFFFE00, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000042, 0x00000000, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_802415C4_D6CBE4, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_pra/pra_19/D70400.data.s b/ver/us/asm/data/world/area_pra/pra_19/D70400.data.s index 1c31ea0674..2585a968a5 100644 --- a/ver/us/asm/data/world/area_pra/pra_19/D70400.data.s +++ b/ver/us/asm/data/world/area_pra/pra_19/D70400.data.s @@ -18,7 +18,7 @@ dlabel D_80241D18_D706C8 .word 0x0000002B, 0x0000002C, 0xFFFFFFFF dlabel D_80241D24_D706D4 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000013, 0x00000024, 0x00000002, 0xFE363C82, D_80241D0C_D706BC, 0x00000024, 0x00000002, 0xFE363C83, D_80241D18_D706C8, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x802479E0, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000013, 0x00000024, 0x00000002, 0xFE363C82, D_80241D0C_D706BC, 0x00000024, 0x00000002, 0xFE363C83, D_80241D18_D706C8, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x802479E0, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241DC8_D70778 .word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000001, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x802479E8, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 @@ -27,4 +27,4 @@ dlabel D_80241E24_D707D4 .word 0x00000047, 0x00000005, D_80241D24_D706D4, 0x00000100, 0x00000013, 0x00000001, 0x00000000, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000052, 0x00000047, 0x00000005, D_80241DC8_D70778, 0x00080000, 0x00000019, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241E84_D70834 -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241D0C_D706BC, 0x00000024, 0x00000002, 0xFE363C83, D_80241D18_D706C8, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_80241E24_D707D4, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, D_80241E24_D707D4, 0x00000044, 0x00000001, EnterWalk, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000043, 0x00000003, MakeNpcs, 0x00000001, 0x802479AC, 0x00000044, 0x00000001, 0x80241A10, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000052, 0x00000043, 0x00000003, EnableModel, 0x00000022, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000021, 0x7FFFFE00, 0x00000012, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000024, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0000003B, 0x00000024, 0x00000002, 0xFE363C81, 0x0000003C, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000044, 0x00000001, D_80241C08_D705B8, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000044, 0x00000001, D_80241B60_D70510, 0x00000044, 0x00000001, D_80241E84_D70834, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 +.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241D0C_D706BC, 0x00000024, 0x00000002, 0xFE363C83, D_80241D18_D706C8, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_80241E24_D707D4, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, D_80241E24_D707D4, 0x00000044, 0x00000001, EnterWalk, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000043, 0x00000003, MakeNpcs, 0x00000001, 0x802479AC, 0x00000044, 0x00000001, 0x80241A10, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000052, 0x00000043, 0x00000003, EnableModel, 0x00000022, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000021, 0x7FFFFE00, 0x00000012, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000024, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0000003B, 0x00000024, 0x00000002, 0xFE363C81, 0x0000003C, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000044, 0x00000001, D_80241C08_D705B8, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000044, 0x00000001, D_80241B60_D70510, 0x00000044, 0x00000001, D_80241E84_D70834, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_pra/pra_20/D77390.data.s b/ver/us/asm/data/world/area_pra/pra_20/D77390.data.s index 5a00f4daf9..9234a0584e 100644 --- a/ver/us/asm/data/world/area_pra/pra_20/D77390.data.s +++ b/ver/us/asm/data/world/area_pra/pra_20/D77390.data.s @@ -42,19 +42,19 @@ dlabel D_80241320_D776C0 .word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000000, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x80241B60, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_8024137C_D7771C -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000020, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D7764C, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D77658, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D7764C, 0x00000024, 0x00000002, 0xFE363C83, D_8024131C_D776BC, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241B68, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000020, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D7764C, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D77658, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D7764C, 0x00000024, 0x00000002, 0xFE363C83, D_8024131C_D776BC, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241B68, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241460_D77800 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000013, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412F4_D77694, 0x00000024, 0x00000002, 0xFE363C83, D_80241308_D776A8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412C4_D77664, 0x00000024, 0x00000002, 0xFE363C83, D_802412D0_D77670, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241B70, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000013, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412F4_D77694, 0x00000024, 0x00000002, 0xFE363C83, D_80241308_D776A8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412C4_D77664, 0x00000024, 0x00000002, 0xFE363C83, D_802412D0_D77670, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241B70, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241544_D778E4 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000017, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412F4_D77694, 0x00000024, 0x00000002, 0xFE363C83, D_80241308_D776A8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412DC_D7767C, 0x00000024, 0x00000002, 0xFE363C83, D_802412E8_D77688, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241B70, 0x00000003, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000017, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412F4_D77694, 0x00000024, 0x00000002, 0xFE363C83, D_80241308_D776A8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412DC_D7767C, 0x00000024, 0x00000002, 0xFE363C83, D_802412E8_D77688, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241B70, 0x00000003, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241628_D779C8 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000004, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001C, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D7764C, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D77658, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024131C_D776BC, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D77658, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241B78, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000004, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001C, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D7764C, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D77658, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024131C_D776BC, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D77658, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241B78, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_8024170C_D77AAC .word 0x00000047, 0x00000005, D_80241320_D776C0, 0x00080000, 0x0000000B, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_8024137C_D7771C, 0x00000100, 0x00000020, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80241460_D77800, 0x00000100, 0x00000013, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80241544_D778E4, 0x00000100, 0x00000017, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80241628_D779C8, 0x00000100, 0x0000001C, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802417A8_D77B48 -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, D_8024170C_D77AAC, 0x00000044, 0x00000001, EnterWalk, 0x00000016, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D7764C, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D77658, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D7764C, 0x00000024, 0x00000002, 0xFE363C83, D_8024131C_D776BC, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_8024170C_D77AAC, 0x00000016, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412F4_D77694, 0x00000024, 0x00000002, 0xFE363C83, D_80241308_D776A8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412C4_D77664, 0x00000024, 0x00000002, 0xFE363C83, D_802412D0_D77670, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_8024170C_D77AAC, 0x00000016, 0x00000001, 0x00000003, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412F4_D77694, 0x00000024, 0x00000002, 0xFE363C83, D_80241308_D776A8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412DC_D7767C, 0x00000024, 0x00000002, 0xFE363C83, D_802412E8_D77688, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_8024170C_D77AAC, 0x00000016, 0x00000001, 0x00000004, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D7764C, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D77658, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412B8_D77658, 0x00000024, 0x00000002, 0xFE363C83, D_8024131C_D776BC, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_8024170C_D77AAC, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000044, 0x00000001, 0x80240FB0, 0x00000043, 0x00000003, EnableModel, 0x00000034, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000026, 0x7FFFFE00, 0x00000024, 0x00000002, 0xFE363C80, 0x00000019, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001A, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000044, 0x00000001, D_802411A8_D77548, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0xF8406152, 0x00000044, 0x00000001, D_80241100_D774A0, 0x00000044, 0x00000001, D_802417A8_D77B48, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, D_8024170C_D77AAC, 0x00000044, 0x00000001, EnterWalk, 0x00000016, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D7764C, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D77658, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D7764C, 0x00000024, 0x00000002, 0xFE363C83, D_8024131C_D776BC, 0x00000013, 0x00000000, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_8024170C_D77AAC, 0x00000016, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412F4_D77694, 0x00000024, 0x00000002, 0xFE363C83, D_80241308_D776A8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412C4_D77664, 0x00000024, 0x00000002, 0xFE363C83, D_802412D0_D77670, 0x00000013, 0x00000000, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_8024170C_D77AAC, 0x00000016, 0x00000001, 0x00000003, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412F4_D77694, 0x00000024, 0x00000002, 0xFE363C83, D_80241308_D776A8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412DC_D7767C, 0x00000024, 0x00000002, 0xFE363C83, D_802412E8_D77688, 0x00000013, 0x00000000, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_8024170C_D77AAC, 0x00000016, 0x00000001, 0x00000004, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412AC_D7764C, 0x00000024, 0x00000002, 0xFE363C83, D_802412B8_D77658, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802412B8_D77658, 0x00000024, 0x00000002, 0xFE363C83, D_8024131C_D776BC, 0x00000013, 0x00000000, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_8024170C_D77AAC, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000044, 0x00000001, 0x80240FB0, 0x00000043, 0x00000003, EnableModel, 0x00000034, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000026, 0x7FFFFE00, 0x00000024, 0x00000002, 0xFE363C80, 0x00000019, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001A, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000044, 0x00000001, D_802411A8_D77548, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0xF8406152, 0x00000044, 0x00000001, D_80241100_D774A0, 0x00000044, 0x00000001, D_802417A8_D77B48, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 diff --git a/ver/us/asm/data/world/area_pra/pra_21/D780E0.data.s b/ver/us/asm/data/world/area_pra/pra_21/D780E0.data.s index 43f0dbfe75..8c93ff38cb 100644 --- a/ver/us/asm/data/world/area_pra/pra_21/D780E0.data.s +++ b/ver/us/asm/data/world/area_pra/pra_21/D780E0.data.s @@ -12,10 +12,10 @@ dlabel D_802401D0_D780F0 .word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000010, 0x00000024, 0x00000002, 0xFE363C82, 0x0000002C, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFFFF, 0x00000044, 0x00000001, ExitSingleDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80240950, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80240274_D78194 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000020, 0x00000024, 0x00000002, 0xFE363C82, D_802401C0_D780E0, 0x00000024, 0x00000002, 0xFE363C83, D_802401C8_D780E8, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80240958, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000020, 0x00000024, 0x00000002, 0xFE363C82, D_802401C0_D780E0, 0x00000024, 0x00000002, 0xFE363C83, D_802401C8_D780E8, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80240958, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80240318_D78238 .word 0x00000047, 0x00000005, D_802401D0_D780F0, 0x00000100, 0x00000010, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80240274_D78194, 0x00000100, 0x00000020, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80240360_D78280 -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0x0000002C, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFFFF, 0x00000046, 0x00000001, EnterSingleDoor, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, D_802401C0_D780E0, 0x00000024, 0x00000002, 0xFE363C83, D_802401C8_D780E8, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000023, 0x00000000, 0x00000044, 0x00000001, D_80240318_D78238, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000046, 0x00000001, 0x80240878, 0x00000044, 0x00000001, 0x80240180, 0x0000000C, 0x00000002, 0xF5DE0180, 0x00000054, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000012, 0x00000000, 0x00000014, 0x00000001, 0xF5DE029E, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFCE, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFCE, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00000032, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ParentColliderToModel, 0x00000026, 0x00000022, 0x00000043, 0x00000005, TranslateModel, 0x00000022, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000023, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000024, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000025, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000027, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000002, UpdateColliderTransform, 0x00000026, 0x00000044, 0x00000001, D_80240360_D78280, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 +.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0x0000002C, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFFFF, 0x00000046, 0x00000001, EnterSingleDoor, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, D_802401C0_D780E0, 0x00000024, 0x00000002, 0xFE363C83, D_802401C8_D780E8, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000023, 0x00000000, 0x00000044, 0x00000001, D_80240318_D78238, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000046, 0x00000001, 0x80240878, 0x00000044, 0x00000001, 0x80240180, 0x0000000C, 0x00000002, 0xF5DE0180, 0x00000054, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000012, 0x00000000, 0x00000014, 0x00000001, 0xF5DE029E, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFCE, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFCE, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00000032, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ParentColliderToModel, 0x00000026, 0x00000022, 0x00000043, 0x00000005, TranslateModel, 0x00000022, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000023, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000024, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000025, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000027, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000002, UpdateColliderTransform, 0x00000026, 0x00000044, 0x00000001, D_80240360_D78280, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_pra/pra_22/D78BF0.data.s b/ver/us/asm/data/world/area_pra/pra_22/D78BF0.data.s index d321ff8c42..1e21da7683 100644 --- a/ver/us/asm/data/world/area_pra/pra_22/D78BF0.data.s +++ b/ver/us/asm/data/world/area_pra/pra_22/D78BF0.data.s @@ -12,13 +12,13 @@ dlabel D_80240380_D78C00 .word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000024, 0x00000002, 0xFE363C82, 0x0000002A, 0x00000024, 0x00000002, 0xFE363C83, 0x00000001, 0x00000044, 0x00000001, ExitSingleDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241160, 0x00000004, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80240424_D78CA4 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000019, 0x00000024, 0x00000002, 0xFE363C82, D_80240370_D78BF0, 0x00000024, 0x00000002, 0xFE363C83, D_80240378_D78BF8, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241168, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000019, 0x00000024, 0x00000002, 0xFE363C82, D_80240370_D78BF0, 0x00000024, 0x00000002, 0xFE363C83, D_80240378_D78BF8, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241168, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802404C8_D78D48 .word 0x00000047, 0x00000005, D_80240380_D78C00, 0x00000100, 0x0000000C, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80240424_D78CA4, 0x00000100, 0x00000019, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80240510_D78D90 -.word 0x00000043, 0x00000002, GetLoadType, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000044, 0x00000001, EnterSavePoint, 0x00000044, 0x00000001, D_802404C8_D78D48, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0x0000002A, 0x00000024, 0x00000002, 0xFE363C83, 0x00000001, 0x00000046, 0x00000001, EnterSingleDoor, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, D_80240370_D78BF0, 0x00000024, 0x00000002, 0xFE363C83, D_80240378_D78BF8, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000023, 0x00000000, 0x00000044, 0x00000001, D_802404C8_D78D48, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000043, 0x00000002, GetLoadType, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000044, 0x00000001, EnterSavePoint, 0x00000044, 0x00000001, D_802404C8_D78D48, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0x0000002A, 0x00000024, 0x00000002, 0xFE363C83, 0x00000001, 0x00000046, 0x00000001, EnterSingleDoor, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, D_80240370_D78BF0, 0x00000024, 0x00000002, 0xFE363C83, D_80240378_D78BF8, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000023, 0x00000000, 0x00000044, 0x00000001, D_802404C8_D78D48, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80240608_D78E88 .word 0x00000005, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, GetCurrentPartner, 0xFE363C8A, 0x0000000B, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000024, 0x00000002, 0xFE363C88, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, pra_22_UnkFunc11, 0xFE363C89, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C88, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000002, SetPlayerActionState, 0x00000014, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000002, GetCurrentPartner, 0xFE363C8A, 0x0000000B, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000024, 0x00000002, 0xFE363C88, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000000, 0x00000000, 0x00000064, 0xF24A7CE7, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x0000000F, 0x00000002, 0xFE363C86, 0xFE363C87, 0x00000043, 0x00000003, InterpPlayerYaw, 0x0000010E, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, InterpPlayerYaw, 0x0000005A, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, SetPlayerActionState, 0x00000014, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C82, 0xFE363C87, 0x00000028, 0x00000002, 0xFE363C82, 0xFE363C86, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, MakeLerp, 0xFE363C80, 0xFE363C81, 0x00000064, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000002, SetPlayerActionState, 0x00000014, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000001, func_802400DC_D7895C, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000002, SetPlayerActionState, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00080002, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000000, 0x00000043, 0x00000002, SetPlayerActionState, 0x00000008, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0xFE363C86, 0xFE363C87, 0x00000064, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x0000001C, 0x80000010, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000005, TranslateModel, 0x00000021, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000022, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000023, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000024, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000026, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000002, UpdateColliderTransform, 0x0000001C, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000002, StopSound, 0x80000010, 0x00000002, 0x00000000, 0x00000001, 0x00000000 diff --git a/ver/us/asm/data/world/area_pra/pra_27/D7AC90.data.s b/ver/us/asm/data/world/area_pra/pra_27/D7AC90.data.s index 950d52ee6c..6a0ebd1729 100644 --- a/ver/us/asm/data/world/area_pra/pra_27/D7AC90.data.s +++ b/ver/us/asm/data/world/area_pra/pra_27/D7AC90.data.s @@ -15,10 +15,10 @@ dlabel D_80241464_D7AE54 .word 0x00000013, 0x00000014, 0xFFFFFFFF dlabel D_80241470_D7AE60 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C82, D_80241458_D7AE48, 0x00000024, 0x00000002, 0xFE363C83, D_80241464_D7AE54, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x8024189C, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C82, D_80241458_D7AE48, 0x00000024, 0x00000002, 0xFE363C83, D_80241464_D7AE54, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x8024189C, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241514_D7AF04 .word 0x00000047, 0x00000005, D_80241470_D7AE60, 0x00000100, 0x0000000A, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241540_D7AF30 -.word 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241458_D7AE48, 0x00000024, 0x00000002, 0xFE363C83, D_80241464_D7AE54, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_80241514_D7AF04, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000046, 0x00000001, 0x80241828, 0x00000044, 0x00000001, 0x80241260, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0xF8406152, 0x00000044, 0x00000001, D_802413B0_D7ADA0, 0x00000044, 0x00000001, D_80241540_D7AF30, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 +.word 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241458_D7AE48, 0x00000024, 0x00000002, 0xFE363C83, D_80241464_D7AE54, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_80241514_D7AF04, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000046, 0x00000001, 0x80241828, 0x00000044, 0x00000001, 0x80241260, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0xF8406152, 0x00000044, 0x00000001, D_802413B0_D7ADA0, 0x00000044, 0x00000001, D_80241540_D7AF30, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_pra/pra_28/D7C540.data.s b/ver/us/asm/data/world/area_pra/pra_28/D7C540.data.s index d61c9a7e56..717793f30b 100644 --- a/ver/us/asm/data/world/area_pra/pra_28/D7C540.data.s +++ b/ver/us/asm/data/world/area_pra/pra_28/D7C540.data.s @@ -15,10 +15,10 @@ dlabel D_80241464_D7C704 .word 0x00000013, 0x00000014, 0xFFFFFFFF dlabel D_80241470_D7C710 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C82, D_80241458_D7C6F8, 0x00000024, 0x00000002, 0xFE363C83, D_80241464_D7C704, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x8024189C, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C82, D_80241458_D7C6F8, 0x00000024, 0x00000002, 0xFE363C83, D_80241464_D7C704, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x8024189C, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241514_D7C7B4 .word 0x00000047, 0x00000005, D_80241470_D7C710, 0x00000100, 0x0000000A, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241540_D7C7E0 -.word 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241458_D7C6F8, 0x00000024, 0x00000002, 0xFE363C83, D_80241464_D7C704, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_80241514_D7C7B4, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000046, 0x00000001, 0x80241828, 0x00000044, 0x00000001, 0x80241260, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0xF8406152, 0x00000044, 0x00000001, D_802413B0_D7C650, 0x00000044, 0x00000001, D_80241540_D7C7E0, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 +.word 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241458_D7C6F8, 0x00000024, 0x00000002, 0xFE363C83, D_80241464_D7C704, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_80241514_D7C7B4, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000046, 0x00000001, 0x80241828, 0x00000044, 0x00000001, 0x80241260, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0xF8406152, 0x00000044, 0x00000001, D_802413B0_D7C650, 0x00000044, 0x00000001, D_80241540_D7C7E0, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_pra/pra_29/D7DE90.data.s b/ver/us/asm/data/world/area_pra/pra_29/D7DE90.data.s index 40a02f86f7..0691ed1ef9 100644 --- a/ver/us/asm/data/world/area_pra/pra_29/D7DE90.data.s +++ b/ver/us/asm/data/world/area_pra/pra_29/D7DE90.data.s @@ -48,19 +48,19 @@ dlabel D_802416F0_D7E240 .word 0x0000001D, 0x0000001F, 0xFFFFFFFF dlabel D_802416FC_D7E24C -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000013, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416AC_D7E1FC, 0x00000024, 0x00000002, 0xFE363C83, D_802416B8_D7E208, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024168C_D7E1DC, 0x00000024, 0x00000002, 0xFE363C83, D_80241694_D7E1E4, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80242200, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000013, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416AC_D7E1FC, 0x00000024, 0x00000002, 0xFE363C83, D_802416B8_D7E208, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024168C_D7E1DC, 0x00000024, 0x00000002, 0xFE363C83, D_80241694_D7E1E4, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80242200, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802417E0_D7E330 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001B, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416E4_D7E234, 0x00000024, 0x00000002, 0xFE363C83, D_802416F0_D7E240, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416C4_D7E214, 0x00000024, 0x00000002, 0xFE363C83, D_802416CC_D7E21C, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80242208, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001B, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416E4_D7E234, 0x00000024, 0x00000002, 0xFE363C83, D_802416F0_D7E240, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416C4_D7E214, 0x00000024, 0x00000002, 0xFE363C83, D_802416CC_D7E21C, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80242208, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802418C4_D7E414 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001F, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416E4_D7E234, 0x00000024, 0x00000002, 0xFE363C83, D_802416F0_D7E240, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416D4_D7E224, 0x00000024, 0x00000002, 0xFE363C83, D_802416DC_D7E22C, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80242208, 0x00000003, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001F, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416E4_D7E234, 0x00000024, 0x00000002, 0xFE363C83, D_802416F0_D7E240, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416D4_D7E224, 0x00000024, 0x00000002, 0xFE363C83, D_802416DC_D7E22C, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80242208, 0x00000003, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802419A8_D7E4F8 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000017, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416AC_D7E1FC, 0x00000024, 0x00000002, 0xFE363C83, D_802416B8_D7E208, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024169C_D7E1EC, 0x00000024, 0x00000002, 0xFE363C83, D_802416A4_D7E1F4, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80242200, 0x00000003, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000017, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416AC_D7E1FC, 0x00000024, 0x00000002, 0xFE363C83, D_802416B8_D7E208, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024169C_D7E1EC, 0x00000024, 0x00000002, 0xFE363C83, D_802416A4_D7E1F4, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80242200, 0x00000003, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241A8C_D7E5DC .word 0x00000047, 0x00000005, D_802416FC_D7E24C, 0x00000100, 0x00000013, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_802417E0_D7E330, 0x00000100, 0x0000001B, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_802418C4_D7E414, 0x00000100, 0x0000001F, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_802419A8_D7E4F8, 0x00000100, 0x00000017, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241B0C_D7E65C -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416AC_D7E1FC, 0x00000024, 0x00000002, 0xFE363C83, D_802416B8_D7E208, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024168C_D7E1DC, 0x00000024, 0x00000002, 0xFE363C83, D_80241694_D7E1E4, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416E4_D7E234, 0x00000024, 0x00000002, 0xFE363C83, D_802416F0_D7E240, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416C4_D7E214, 0x00000024, 0x00000002, 0xFE363C83, D_802416CC_D7E21C, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416E4_D7E234, 0x00000024, 0x00000002, 0xFE363C83, D_802416F0_D7E240, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416D4_D7E224, 0x00000024, 0x00000002, 0xFE363C83, D_802416DC_D7E22C, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416AC_D7E1FC, 0x00000024, 0x00000002, 0xFE363C83, D_802416B8_D7E208, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024169C_D7E1EC, 0x00000024, 0x00000002, 0xFE363C83, D_802416A4_D7E1F4, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_80241A8C_D7E5DC, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000046, 0x00000001, D_80241340_D7DE90, 0x00000044, 0x00000001, 0x80241300, 0x00000044, 0x00000001, 0x80241F8C, 0x00000024, 0x00000002, 0xFE363C80, 0x00000031, 0x00000024, 0x00000002, 0xFE363C81, 0x00000031, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000044, 0x00000001, D_80241588_D7E0D8, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000053, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_802414E0_D7E030, 0x00000044, 0x00000001, D_80241B0C_D7E65C, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 +.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416AC_D7E1FC, 0x00000024, 0x00000002, 0xFE363C83, D_802416B8_D7E208, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024168C_D7E1DC, 0x00000024, 0x00000002, 0xFE363C83, D_80241694_D7E1E4, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416E4_D7E234, 0x00000024, 0x00000002, 0xFE363C83, D_802416F0_D7E240, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416C4_D7E214, 0x00000024, 0x00000002, 0xFE363C83, D_802416CC_D7E21C, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416E4_D7E234, 0x00000024, 0x00000002, 0xFE363C83, D_802416F0_D7E240, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416D4_D7E224, 0x00000024, 0x00000002, 0xFE363C83, D_802416DC_D7E22C, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802416AC_D7E1FC, 0x00000024, 0x00000002, 0xFE363C83, D_802416B8_D7E208, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024169C_D7E1EC, 0x00000024, 0x00000002, 0xFE363C83, D_802416A4_D7E1F4, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_80241A8C_D7E5DC, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000046, 0x00000001, D_80241340_D7DE90, 0x00000044, 0x00000001, 0x80241300, 0x00000044, 0x00000001, 0x80241F8C, 0x00000024, 0x00000002, 0xFE363C80, 0x00000031, 0x00000024, 0x00000002, 0xFE363C81, 0x00000031, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000044, 0x00000001, D_80241588_D7E0D8, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x0000000F, 0x00000002, 0xF5DE0180, 0x00000053, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_802414E0_D7E030, 0x00000044, 0x00000001, D_80241B0C_D7E65C, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_pra/pra_31/D80E20.data.s b/ver/us/asm/data/world/area_pra/pra_31/D80E20.data.s index 812b062f59..ed1f6a3f43 100644 --- a/ver/us/asm/data/world/area_pra/pra_31/D80E20.data.s +++ b/ver/us/asm/data/world/area_pra/pra_31/D80E20.data.s @@ -21,16 +21,16 @@ dlabel D_802420E8_D80E48 .word 0x0000002C, 0xFFFFFFFF dlabel D_802420F0_D80E50 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000D, 0x00000024, 0x00000002, 0xFE363C82, D_802420C0_D80E20, 0x00000024, 0x00000002, 0xFE363C83, D_802420C8_D80E28, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80247C80, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000D, 0x00000024, 0x00000002, 0xFE363C82, D_802420C0_D80E20, 0x00000024, 0x00000002, 0xFE363C83, D_802420C8_D80E28, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80247C80, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80242194_D80EF4 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000015, 0x00000024, 0x00000002, 0xFE363C82, D_802420D0_D80E30, 0x00000024, 0x00000002, 0xFE363C83, D_802420D8_D80E38, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80247C88, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000015, 0x00000024, 0x00000002, 0xFE363C82, D_802420D0_D80E30, 0x00000024, 0x00000002, 0xFE363C83, D_802420D8_D80E38, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80247C88, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80242238_D80F98 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000011, 0x00000024, 0x00000002, 0xFE363C82, D_802420E0_D80E40, 0x00000024, 0x00000002, 0xFE363C83, D_802420E8_D80E48, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80247C80, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000011, 0x00000024, 0x00000002, 0xFE363C82, D_802420E0_D80E40, 0x00000024, 0x00000002, 0xFE363C83, D_802420E8_D80E48, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80247C80, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802422DC_D8103C .word 0x00000047, 0x00000005, D_802420F0_D80E50, 0x00000100, 0x0000000D, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80242194_D80EF4, 0x00000100, 0x00000015, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80242238_D80F98, 0x00000100, 0x00000011, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80242340_D810A0 -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802420C0_D80E20, 0x00000024, 0x00000002, 0xFE363C83, D_802420C8_D80E28, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, D_802420D0_D80E30, 0x00000024, 0x00000002, 0xFE363C83, D_802420D8_D80E38, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C82, D_802420E0_D80E40, 0x00000024, 0x00000002, 0xFE363C83, D_802420E8_D80E48, 0x00000023, 0x00000000, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_802422DC_D8103C, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000043, 0x00000003, MakeNpcs, 0x00000001, 0x802420A4, 0x00000046, 0x00000001, 0x8024321C, 0x00000044, 0x00000001, 0x80241120, 0x00000044, 0x00000001, D_80242340_D810A0, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 +.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802420C0_D80E20, 0x00000024, 0x00000002, 0xFE363C83, D_802420C8_D80E28, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, D_802420D0_D80E30, 0x00000024, 0x00000002, 0xFE363C83, D_802420D8_D80E38, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C82, D_802420E0_D80E40, 0x00000024, 0x00000002, 0xFE363C83, D_802420E8_D80E48, 0x00000023, 0x00000000, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_802422DC_D8103C, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000043, 0x00000003, MakeNpcs, 0x00000001, 0x802420A4, 0x00000046, 0x00000001, 0x8024321C, 0x00000044, 0x00000001, 0x80241120, 0x00000044, 0x00000001, D_80242340_D810A0, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_pra/pra_32/D87240.data.s b/ver/us/asm/data/world/area_pra/pra_32/D87240.data.s index 454c6fcdfc..60d31caf30 100644 --- a/ver/us/asm/data/world/area_pra/pra_32/D87240.data.s +++ b/ver/us/asm/data/world/area_pra/pra_32/D87240.data.s @@ -15,13 +15,13 @@ dlabel D_80241180_D87B80 .word 0x00000004, 0xFFFFFFFF dlabel D_80241188_D87B88 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000005, 0x00000024, 0x00000002, 0xFE363C82, D_80241178_D87B78, 0x00000024, 0x00000002, 0xFE363C83, D_80241180_D87B80, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80242CCC, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000005, 0x00000024, 0x00000002, 0xFE363C82, D_80241178_D87B78, 0x00000024, 0x00000002, 0xFE363C83, D_80241180_D87B80, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80242CCC, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_8024122C_D87C2C .word 0x00000047, 0x00000005, D_80241188_D87B88, 0x00000100, 0x00000005, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241258_D87C58 -.word 0x00000024, 0x00000002, 0xFE363C82, D_80241178_D87B78, 0x00000024, 0x00000002, 0xFE363C83, D_80241180_D87B80, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_8024122C_D87C2C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000024, 0x00000002, 0xFE363C82, D_80241178_D87B78, 0x00000024, 0x00000002, 0xFE363C83, D_80241180_D87B80, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_8024122C_D87C2C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802412A0_D87CA0 .word 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000043, 0x00000003, MakeNpcs, 0x00000001, 0x80242C94, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x0000000B, 0x00000008, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000003, 0x0000000A, 0x00000008, 0x00000043, 0x0000000F, PlayEffect, 0x00000045, 0x00000000, 0x00000078, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000001, func_80240814_D87214, 0x00000044, 0x00000001, D_80240890_D87290, 0x00000044, 0x00000001, D_80241258_D87C58, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_pra/pra_33/D8A820.data.s b/ver/us/asm/data/world/area_pra/pra_33/D8A820.data.s index 6873629162..98e690589e 100644 --- a/ver/us/asm/data/world/area_pra/pra_33/D8A820.data.s +++ b/ver/us/asm/data/world/area_pra/pra_33/D8A820.data.s @@ -24,10 +24,10 @@ dlabel D_80241414_D8AAF4 .word 0x00000014, 0xFFFFFFFF dlabel D_8024141C_D8AAFC -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000015, 0x00000024, 0x00000002, 0xFE363C82, D_802413FC_D8AADC, 0x00000024, 0x00000002, 0xFE363C83, D_80241404_D8AAE4, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241CC0, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000015, 0x00000024, 0x00000002, 0xFE363C82, D_802413FC_D8AADC, 0x00000024, 0x00000002, 0xFE363C83, D_80241404_D8AAE4, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241CC0, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802414C0_D8ABA0 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000011, 0x00000024, 0x00000002, 0xFE363C82, D_8024140C_D8AAEC, 0x00000024, 0x00000002, 0xFE363C83, D_80241414_D8AAF4, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241CC8, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000011, 0x00000024, 0x00000002, 0xFE363C82, D_8024140C_D8AAEC, 0x00000024, 0x00000002, 0xFE363C83, D_80241414_D8AAF4, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241CC8, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241564_D8AC44 .word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000002, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x80241CC0, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 @@ -36,7 +36,7 @@ dlabel D_802415D0_D8ACB0 .word 0x00000047, 0x00000005, D_8024141C_D8AAFC, 0x00000100, 0x00000015, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_802414C0_D8ABA0, 0x00000100, 0x00000011, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80241564_D8AC44, 0x00080000, 0x00000017, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241634_D8AD14 -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413FC_D8AADC, 0x00000024, 0x00000002, 0xFE363C83, D_80241404_D8AAE4, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_802415D0_D8ACB0, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, D_8024140C_D8AAEC, 0x00000024, 0x00000002, 0xFE363C83, D_80241414_D8AAF4, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_802415D0_D8ACB0, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, D_802415D0_D8ACB0, 0x00000044, 0x00000001, EnterWalk, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413FC_D8AADC, 0x00000024, 0x00000002, 0xFE363C83, D_80241404_D8AAE4, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_802415D0_D8ACB0, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, D_8024140C_D8AAEC, 0x00000024, 0x00000002, 0xFE363C83, D_80241414_D8AAF4, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_802415D0_D8ACB0, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, D_802415D0_D8ACB0, 0x00000044, 0x00000001, EnterWalk, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241718_D8ADF8 .word 0x43F38000, 0x00000000, 0xC2A00000, 0x00000000 diff --git a/ver/us/asm/data/world/area_pra/pra_34/D8C470.data.s b/ver/us/asm/data/world/area_pra/pra_34/D8C470.data.s index d7a6ce1dc4..214368566a 100644 --- a/ver/us/asm/data/world/area_pra/pra_34/D8C470.data.s +++ b/ver/us/asm/data/world/area_pra/pra_34/D8C470.data.s @@ -48,16 +48,16 @@ dlabel D_80241418_D8C7C8 .word 0x0000002B, 0x0000002C, 0x0000000F, 0x00000010, 0xFFFFFFFF dlabel D_8024142C_D8C7DC -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000D, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413AC_D8C75C, 0x00000024, 0x00000002, 0xFE363C83, D_802413C0_D8C770, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024137C_D8C72C, 0x00000024, 0x00000002, 0xFE363C83, D_80241388_D8C738, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241E90, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000D, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413AC_D8C75C, 0x00000024, 0x00000002, 0xFE363C83, D_802413C0_D8C770, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024137C_D8C72C, 0x00000024, 0x00000002, 0xFE363C83, D_80241388_D8C738, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241E90, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241510_D8C8C0 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000015, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241404_D8C7B4, 0x00000024, 0x00000002, 0xFE363C83, D_80241418_D8C7C8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413D4_D8C784, 0x00000024, 0x00000002, 0xFE363C83, D_802413E0_D8C790, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241E98, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000015, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241404_D8C7B4, 0x00000024, 0x00000002, 0xFE363C83, D_80241418_D8C7C8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413D4_D8C784, 0x00000024, 0x00000002, 0xFE363C83, D_802413E0_D8C790, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241E98, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802415F4_D8C9A4 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000019, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241404_D8C7B4, 0x00000024, 0x00000002, 0xFE363C83, D_80241418_D8C7C8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413EC_D8C79C, 0x00000024, 0x00000002, 0xFE363C83, D_802413F8_D8C7A8, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241E98, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xFE363C81, 0x00000019, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241404_D8C7B4, 0x00000024, 0x00000002, 0xFE363C83, D_80241418_D8C7C8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413EC_D8C79C, 0x00000024, 0x00000002, 0xFE363C83, D_802413F8_D8C7A8, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241E98, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802416D8_D8CA88 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000011, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413AC_D8C75C, 0x00000024, 0x00000002, 0xFE363C83, D_802413C0_D8C770, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241394_D8C744, 0x00000024, 0x00000002, 0xFE363C83, D_802413A0_D8C750, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241E90, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000011, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413AC_D8C75C, 0x00000024, 0x00000002, 0xFE363C83, D_802413C0_D8C770, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241394_D8C744, 0x00000024, 0x00000002, 0xFE363C83, D_802413A0_D8C750, 0x00000013, 0x00000000, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80241E90, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802417BC_D8CB6C .word 0x00000014, 0x00000000 @@ -69,4 +69,4 @@ dlabel D_80241970_D8CD20 .word 0x00000047, 0x00000005, D_8024142C_D8C7DC, 0x00000100, 0x0000000D, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_802416D8_D8CA88, 0x00000100, 0x00000011, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xF8406170, 0x00000000, 0x0000004E, 0x00000006, D_802417C4_D8CB74, 0x00000100, 0x00004000, D_802417BC_D8CB6C, 0x00000000, 0x00000001, 0x0000004E, 0x00000006, D_802417C4_D8CB74, 0x00000100, 0x00004001, D_802417BC_D8CB6C, 0x00000000, 0x00000001, 0x00000012, 0x00000000, 0x00000047, 0x00000005, D_80241510_D8C8C0, 0x00000100, 0x00000015, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_802415F4_D8C9A4, 0x00000100, 0x00000019, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80241A50_D8CE00 -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413AC_D8C75C, 0x00000024, 0x00000002, 0xFE363C83, D_802413C0_D8C770, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024137C_D8C72C, 0x00000024, 0x00000002, 0xFE363C83, D_80241388_D8C738, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241404_D8C7B4, 0x00000024, 0x00000002, 0xFE363C83, D_80241418_D8C7C8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413D4_D8C784, 0x00000024, 0x00000002, 0xFE363C83, D_802413E0_D8C790, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241404_D8C7B4, 0x00000024, 0x00000002, 0xFE363C83, D_80241418_D8C7C8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413EC_D8C79C, 0x00000024, 0x00000002, 0xFE363C83, D_802413F8_D8C7A8, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413AC_D8C75C, 0x00000024, 0x00000002, 0xFE363C83, D_802413C0_D8C770, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241394_D8C744, 0x00000024, 0x00000002, 0xFE363C83, D_802413A0_D8C750, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_80241970_D8CD20, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000046, 0x00000001, 0x80241DD8, 0x00000044, 0x00000001, 0x80241080, 0x00000024, 0x00000002, 0xFE363C80, 0x0000001D, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000044, 0x00000001, D_80241278_D8C628, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0xF8406152, 0x00000044, 0x00000001, D_802411D0_D8C580, 0x00000044, 0x00000001, D_80241A50_D8CE00, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 +.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413AC_D8C75C, 0x00000024, 0x00000002, 0xFE363C83, D_802413C0_D8C770, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_8024137C_D8C72C, 0x00000024, 0x00000002, 0xFE363C83, D_80241388_D8C738, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241404_D8C7B4, 0x00000024, 0x00000002, 0xFE363C83, D_80241418_D8C7C8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413D4_D8C784, 0x00000024, 0x00000002, 0xFE363C83, D_802413E0_D8C790, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241404_D8C7B4, 0x00000024, 0x00000002, 0xFE363C83, D_80241418_D8C7C8, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413EC_D8C79C, 0x00000024, 0x00000002, 0xFE363C83, D_802413F8_D8C7A8, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x0000000A, 0x00000002, 0xF8406152, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_802413AC_D8C75C, 0x00000024, 0x00000002, 0xFE363C83, D_802413C0_D8C770, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80241394_D8C744, 0x00000024, 0x00000002, 0xFE363C83, D_802413A0_D8C750, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_80241970_D8CD20, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0329, 0x00000015, 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000006, SetCamPerspective, 0x00000000, 0x00000003, 0x00000019, 0x00000010, 0x00001000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000000, 0x00000018, 0x00000018, 0x00000028, 0x00000043, 0x00000003, SetCamLeadPlayer, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000000, 0x00000001, 0x00000046, 0x00000001, 0x80241DD8, 0x00000044, 0x00000001, 0x80241080, 0x00000024, 0x00000002, 0xFE363C80, 0x0000001D, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000044, 0x00000001, D_80241278_D8C628, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0xF8406152, 0x00000044, 0x00000001, D_802411D0_D8C580, 0x00000044, 0x00000001, D_80241A50_D8CE00, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/world/area_pra/pra_35/D8FF10.data.s b/ver/us/asm/data/world/area_pra/pra_35/D8FF10.data.s index 9e5f345dff..eeb188d9d1 100644 --- a/ver/us/asm/data/world/area_pra/pra_35/D8FF10.data.s +++ b/ver/us/asm/data/world/area_pra/pra_35/D8FF10.data.s @@ -21,10 +21,10 @@ dlabel D_80242FA0_D901F0 .word 0x00000030, 0x00000031, 0xFFFFFFFF dlabel D_80242FAC_D901FC -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000014, 0x00000024, 0x00000002, 0xFE363C82, D_80242F7C_D901CC, 0x00000024, 0x00000002, 0xFE363C83, D_80242F88_D901D8, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243FD0, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000014, 0x00000024, 0x00000002, 0xFE363C82, D_80242F7C_D901CC, 0x00000024, 0x00000002, 0xFE363C83, D_80242F88_D901D8, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243FD0, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_80243050_D902A0 -.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000014, 0x00000024, 0x00000002, 0xFE363C82, D_80242F94_D901E4, 0x00000024, 0x00000002, 0xFE363C83, D_80242FA0_D901F0, 0x00000044, 0x00000001, D_80285EEC_7E6D6C, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243FD8, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000014, 0x00000024, 0x00000002, 0xFE363C82, D_80242F94_D901E4, 0x00000024, 0x00000002, 0xFE363C83, D_80242FA0_D901F0, 0x00000044, 0x00000001, BaseExitDoor, 0x00000008, 0x00000001, 0x00000011, 0x00000043, 0x00000003, GotoMap, 0x80243FD8, 0x00000000, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802430F4_D90344 .word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000002, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x80243FD0, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 @@ -33,7 +33,7 @@ dlabel D_80243160_D903B0 .word 0x00000047, 0x00000005, D_80242FAC_D901FC, 0x00000100, 0x00000014, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_80243050_D902A0, 0x00000100, 0x00000021, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_802430F4_D90344, 0x00080000, 0x00000016, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802431C4_D90414 -.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80242F7C_D901CC, 0x00000024, 0x00000002, 0xFE363C83, D_80242F88_D901D8, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_80243160_D903B0, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, D_80242F94_D901E4, 0x00000024, 0x00000002, 0xFE363C83, D_80242FA0_D901F0, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000044, 0x00000001, D_80243160_D903B0, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, D_80243160_D903B0, 0x00000044, 0x00000001, EnterWalk, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, D_80242F7C_D901CC, 0x00000024, 0x00000002, 0xFE363C83, D_80242F88_D901D8, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_80243160_D903B0, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, D_80242F94_D901E4, 0x00000024, 0x00000002, 0xFE363C83, D_80242FA0_D901F0, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000044, 0x00000001, D_80243160_D903B0, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, D_80243160_D903B0, 0x00000044, 0x00000001, EnterWalk, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel D_802432A8_D904F8 .word 0x41500000, 0x00000000, 0xC2A00000, 0x00000000 diff --git a/ver/us/asm/data/world/script_api/7E4EF0.data.s b/ver/us/asm/data/world/script_api/7E4EF0.data.s index 0a4e16d37c..4aaa36e5e3 100644 --- a/ver/us/asm/data/world/script_api/7E4EF0.data.s +++ b/ver/us/asm/data/world/script_api/7E4EF0.data.s @@ -63,31 +63,31 @@ dlabel ExitWalk .word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000001, ShortenPartnerTetherDistance, 0x00000043, 0x00000001, CheckRideScriptForEnterExit, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000004, PlayerMoveTo, 0xFE363C81, 0xFE363C83, 0x0000000F, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C84, 0x0000000F, 0x00000046, 0x00000001, 0xFE363C8B, 0x00000013, 0x00000000, 0x00000043, 0x00000001, ResetPartnerTetherDistance, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel ExitSingleDoor -.word 0x00000043, 0x00000001, SetupSingleDoor, 0x00000046, 0x00000001, D_80285EEC_7E6D6C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000043, 0x00000001, SetupSingleDoor, 0x00000046, 0x00000001, BaseExitDoor, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel EnterSingleDoor -.word 0x00000043, 0x00000001, SetupSingleDoor, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000043, 0x00000001, SetupSingleDoor, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel ExitSplitSingleDoor -.word 0x00000043, 0x00000001, SetupSplitSingleDoor, 0x00000046, 0x00000001, D_80285EEC_7E6D6C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000043, 0x00000001, SetupSplitSingleDoor, 0x00000046, 0x00000001, BaseExitDoor, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel EnterSplitSingleDoor -.word 0x00000043, 0x00000001, SetupSplitSingleDoor, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000043, 0x00000001, SetupSplitSingleDoor, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel ExitDoubleDoor -.word 0x00000043, 0x00000001, SetupDoubleDoors, 0x00000046, 0x00000001, D_80285EEC_7E6D6C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000043, 0x00000001, SetupDoubleDoors, 0x00000046, 0x00000001, BaseExitDoor, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel EnterDoubleDoor -.word 0x00000043, 0x00000001, SetupDoubleDoors, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000043, 0x00000001, SetupDoubleDoors, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel ExitSplitDoubleDoor -.word 0x00000043, 0x00000001, SetupSplitDoubleDoors, 0x00000046, 0x00000001, D_80285EEC_7E6D6C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000043, 0x00000001, SetupSplitDoubleDoors, 0x00000046, 0x00000001, BaseExitDoor, 0x00000002, 0x00000000, 0x00000001, 0x00000000 dlabel EnterSplitDoubleDoor -.word 0x00000043, 0x00000001, SetupSplitDoubleDoors, 0x00000046, 0x00000001, D_802861B0_7E7030, 0x00000002, 0x00000000, 0x00000001, 0x00000000 +.word 0x00000043, 0x00000001, SetupSplitDoubleDoors, 0x00000046, 0x00000001, BaseEnterDoor, 0x00000002, 0x00000000, 0x00000001, 0x00000000 -dlabel D_80285EEC_7E6D6C +dlabel BaseExitDoor .word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000043, 0x00000001, ShortenPartnerTetherDistance, 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C80, 0x00000043, 0x00000006, GetEntryCoords, 0xFE363C80, 0xFE363C8C, 0xFE363C8D, 0xFE363C8E, 0xFE363C8B, 0x00000027, 0x00000002, 0xFE363C8B, 0x000000B4, 0x00000043, 0x00000003, InterpPlayerYaw, 0xFE363C8B, 0x00000002, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0xFE363C81, 0x7FFFFE00, 0x00000043, 0x00000006, PlaySoundAt, 0x90000000, 0x00000000, 0xFE363C8C, 0xFE363C8D, 0xFE363C8E, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x00000050, 0x0000000A, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000030, 0x00000001, 0xFE363C82, 0x00000005, 0x00000001, 0x00000000, 0x00000031, 0x00000001, 0xFE363C8A, 0x0000000A, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0xFE363C8A, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000000, 0x00000030, 0x00000001, 0xFE363C83, 0x00000005, 0x00000001, 0x00000000, 0x00000031, 0x00000001, 0xFE363C8A, 0x0000000A, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0xFE363C8A, 0xFE363C80, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000B, 0x00000002, 0xFE363C81, 0x00000000, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, UseExitHeading, 0x00000028, 0xFE363C89, 0x00000043, 0x00000001, CheckRideScriptForEnterExit, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000004, PlayerMoveTo, 0xFE363C81, 0xFE363C83, 0x0000000F, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C84, 0x0000000F, 0x00000046, 0x00000001, 0xFE363C8B, 0x00000013, 0x00000000, 0x00000043, 0x00000001, ResetPartnerTetherDistance, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 -dlabel D_802861B0_7E7030 +dlabel BaseEnterDoor .word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000001, ShortenPartnerTetherDistance, 0x00000030, 0x00000001, 0xFE363C82, 0x00000005, 0x00000001, 0x00000000, 0x00000031, 0x00000001, 0xFE363C8A, 0x0000000A, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0xFE363C8A, 0xFFFFFFB0, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000000, 0x00000030, 0x00000001, 0xFE363C83, 0x00000005, 0x00000001, 0x00000000, 0x00000031, 0x00000001, 0xFE363C8A, 0x0000000A, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0xFE363C8A, 0xFFFFFFB0, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000006, GetEntryCoords, 0xFE363C80, 0xFE363C87, 0xFE363C88, 0xFE363C89, 0xFE363C8B, 0x00000043, 0x00000003, InterpPlayerYaw, 0xFE363C8B, 0x00000002, 0x00000043, 0x00000001, CheckRideScriptForEnterExit, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000001, TeleportPartnerToPlayer, 0x00000043, 0x00000002, PlayerMoveToDoor, 0x0000000A, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000001, 0x00000024, 0x00000002, 0xFE363C84, 0x0000000F, 0x00000046, 0x00000001, 0xFE363C8B, 0x00000013, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000006, PlaySoundAt, 0x90000001, 0x00000000, 0xFE363C87, 0xFE363C88, 0xFE363C89, 0x00000057, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0xFFFFFFB0, 0x00000000, 0x0000000A, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000030, 0x00000001, 0xFE363C82, 0x00000005, 0x00000001, 0x00000000, 0x00000031, 0x00000001, 0xFE363C8A, 0x0000000A, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0xFE363C8A, 0xFE363C80, 0x00000000, 0x00000001, 0x00000000, 0x00000006, 0x00000000, 0x00000030, 0x00000001, 0xFE363C83, 0x00000005, 0x00000001, 0x00000000, 0x00000031, 0x00000001, 0xFE363C8A, 0x0000000A, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0xFE363C8A, 0xFE363C80, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000B, 0x00000002, 0xFE363C81, 0x00000000, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, ResetPartnerTetherDistance, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 diff --git a/ver/us/asm/nonmatchings/world/area_mac/mac_00/7EB340/func_802418F0_7EC600.s b/ver/us/asm/nonmatchings/world/area_mac/mac_00/7EB340/func_802418F0_7EC600.s deleted file mode 100644 index b5c8d54841..0000000000 --- a/ver/us/asm/nonmatchings/world/area_mac/mac_00/7EB340/func_802418F0_7EC600.s +++ /dev/null @@ -1,28 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802418F0_7EC600 -/* 7EC600 802418F0 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 7EC604 802418F4 AFBF0010 */ sw $ra, 0x10($sp) -/* 7EC608 802418F8 10A00003 */ beqz $a1, .L80241908 -/* 7EC60C 802418FC 8C86000C */ lw $a2, 0xc($a0) -/* 7EC610 80241900 3C018025 */ lui $at, %hi(mac_00_ItemChoice_HasSelectedItem) -/* 7EC614 80241904 AC2083E8 */ sw $zero, %lo(mac_00_ItemChoice_HasSelectedItem)($at) -.L80241908: -/* 7EC618 80241908 3C038025 */ lui $v1, %hi(mac_00_ItemChoice_HasSelectedItem) -/* 7EC61C 8024190C 246383E8 */ addiu $v1, $v1, %lo(mac_00_ItemChoice_HasSelectedItem) -/* 7EC620 80241910 8C620000 */ lw $v0, ($v1) -/* 7EC624 80241914 54400003 */ bnel $v0, $zero, .L80241924 -/* 7EC628 80241918 AC600000 */ sw $zero, ($v1) -/* 7EC62C 8024191C 0809064E */ j .L80241938 -/* 7EC630 80241920 0000102D */ daddu $v0, $zero, $zero -.L80241924: -/* 7EC634 80241924 8CC50000 */ lw $a1, ($a2) -/* 7EC638 80241928 3C068025 */ lui $a2, %hi(mac_00_ItemChoice_SelectedItemID) -/* 7EC63C 8024192C 0C0B2026 */ jal evt_set_variable -/* 7EC640 80241930 8CC683EC */ lw $a2, %lo(mac_00_ItemChoice_SelectedItemID)($a2) -/* 7EC644 80241934 24020002 */ addiu $v0, $zero, 2 -.L80241938: -/* 7EC648 80241938 8FBF0010 */ lw $ra, 0x10($sp) -/* 7EC64C 8024193C 03E00008 */ jr $ra -/* 7EC650 80241940 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/world/area_mac/mac_00/7ED280/func_80243744_7EE454.s b/ver/us/asm/nonmatchings/world/area_mac/mac_00/7ED280/func_80243744_7EE454.s deleted file mode 100644 index a3ea76a9f5..0000000000 --- a/ver/us/asm/nonmatchings/world/area_mac/mac_00/7ED280/func_80243744_7EE454.s +++ /dev/null @@ -1,28 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80243744_7EE454 -/* 7EE454 80243744 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 7EE458 80243748 AFBF0010 */ sw $ra, 0x10($sp) -/* 7EE45C 8024374C 10A00003 */ beqz $a1, .L8024375C -/* 7EE460 80243750 8C86000C */ lw $a2, 0xc($a0) -/* 7EE464 80243754 3C018025 */ lui $at, %hi(dup_mac_00_ItemChoice_HasSelectedItem) -/* 7EE468 80243758 AC20ED4C */ sw $zero, %lo(dup_mac_00_ItemChoice_HasSelectedItem)($at) -.L8024375C: -/* 7EE46C 8024375C 3C038025 */ lui $v1, %hi(dup_mac_00_ItemChoice_HasSelectedItem) -/* 7EE470 80243760 2463ED4C */ addiu $v1, $v1, %lo(dup_mac_00_ItemChoice_HasSelectedItem) -/* 7EE474 80243764 8C620000 */ lw $v0, ($v1) -/* 7EE478 80243768 54400003 */ bnel $v0, $zero, .L80243778 -/* 7EE47C 8024376C AC600000 */ sw $zero, ($v1) -/* 7EE480 80243770 08090DE3 */ j .L8024378C -/* 7EE484 80243774 0000102D */ daddu $v0, $zero, $zero -.L80243778: -/* 7EE488 80243778 8CC50000 */ lw $a1, ($a2) -/* 7EE48C 8024377C 3C068025 */ lui $a2, %hi(dup_mac_00_ItemChoice_SelectedItemID) -/* 7EE490 80243780 0C0B2026 */ jal evt_set_variable -/* 7EE494 80243784 8CC6ED50 */ lw $a2, %lo(dup_mac_00_ItemChoice_SelectedItemID)($a2) -/* 7EE498 80243788 24020002 */ addiu $v0, $zero, 2 -.L8024378C: -/* 7EE49C 8024378C 8FBF0010 */ lw $ra, 0x10($sp) -/* 7EE4A0 80243790 03E00008 */ jr $ra -/* 7EE4A4 80243794 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/world/area_mac/mac_01/800880/func_802400C8_800948.s b/ver/us/asm/nonmatchings/world/area_mac/mac_01/800880/func_802400C8_800948.s deleted file mode 100644 index f2e6a1e1ca..0000000000 --- a/ver/us/asm/nonmatchings/world/area_mac/mac_01/800880/func_802400C8_800948.s +++ /dev/null @@ -1,204 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802400C8_800948 -/* 800948 802400C8 27BDFF80 */ addiu $sp, $sp, -0x80 -/* 80094C 802400CC AFBE0078 */ sw $fp, 0x78($sp) -/* 800950 802400D0 0080F02D */ daddu $fp, $a0, $zero -/* 800954 802400D4 AFB5006C */ sw $s5, 0x6c($sp) -/* 800958 802400D8 3C15F840 */ lui $s5, 0xf840 -/* 80095C 802400DC 36B55C05 */ ori $s5, $s5, 0x5c05 -/* 800960 802400E0 3C07F840 */ lui $a3, 0xf840 -/* 800964 802400E4 34E76200 */ ori $a3, $a3, 0x6200 -/* 800968 802400E8 24040030 */ addiu $a0, $zero, 0x30 -/* 80096C 802400EC AFBF007C */ sw $ra, 0x7c($sp) -/* 800970 802400F0 AFB70074 */ sw $s7, 0x74($sp) -/* 800974 802400F4 AFB60070 */ sw $s6, 0x70($sp) -/* 800978 802400F8 AFB40068 */ sw $s4, 0x68($sp) -/* 80097C 802400FC AFB30064 */ sw $s3, 0x64($sp) -/* 800980 80240100 AFB20060 */ sw $s2, 0x60($sp) -/* 800984 80240104 AFB1005C */ sw $s1, 0x5c($sp) -/* 800988 80240108 AFB00058 */ sw $s0, 0x58($sp) -/* 80098C 8024010C 0C00AB39 */ jal heap_malloc -/* 800990 80240110 AFA70050 */ sw $a3, 0x50($sp) -/* 800994 80240114 2404000C */ addiu $a0, $zero, 0xc -/* 800998 80240118 0C00AB39 */ jal heap_malloc -/* 80099C 8024011C 0040B82D */ daddu $s7, $v0, $zero -/* 8009A0 80240120 03C0202D */ daddu $a0, $fp, $zero -/* 8009A4 80240124 3C05F840 */ lui $a1, 0xf840 -/* 8009A8 80240128 AFA20054 */ sw $v0, 0x54($sp) -/* 8009AC 8024012C AC400000 */ sw $zero, ($v0) -/* 8009B0 80240130 8FA70054 */ lw $a3, 0x54($sp) -/* 8009B4 80240134 34A55C87 */ ori $a1, $a1, 0x5c87 -/* 8009B8 80240138 ACE00004 */ sw $zero, 4($a3) -/* 8009BC 8024013C ACE00008 */ sw $zero, 8($a3) -/* 8009C0 80240140 AEE00000 */ sw $zero, ($s7) -/* 8009C4 80240144 AEE0000C */ sw $zero, 0xc($s7) -/* 8009C8 80240148 AEE00018 */ sw $zero, 0x18($s7) -/* 8009CC 8024014C 0C0B1EAF */ jal evt_get_variable -/* 8009D0 80240150 AEE00024 */ sw $zero, 0x24($s7) -/* 8009D4 80240154 1440005E */ bnez $v0, .L802402D0 -/* 8009D8 80240158 03C0202D */ daddu $a0, $fp, $zero -/* 8009DC 8024015C 0000982D */ daddu $s3, $zero, $zero -/* 8009E0 80240160 0260882D */ daddu $s1, $s3, $zero -/* 8009E4 80240164 24140001 */ addiu $s4, $zero, 1 -/* 8009E8 80240168 27B20010 */ addiu $s2, $sp, 0x10 -/* 8009EC 8024016C 0000202D */ daddu $a0, $zero, $zero -.L80240170: -/* 8009F0 80240170 0C0B1EAF */ jal evt_get_variable -/* 8009F4 80240174 02B12821 */ addu $a1, $s5, $s1 -/* 8009F8 80240178 0000202D */ daddu $a0, $zero, $zero -/* 8009FC 8024017C 8FA70050 */ lw $a3, 0x50($sp) -/* 800A00 80240180 0040802D */ daddu $s0, $v0, $zero -/* 800A04 80240184 0C0B1EAF */ jal evt_get_variable -/* 800A08 80240188 00F12821 */ addu $a1, $a3, $s1 -/* 800A0C 8024018C 56140007 */ bnel $s0, $s4, .L802401AC -/* 800A10 80240190 26310001 */ addiu $s1, $s1, 1 -/* 800A14 80240194 54400005 */ bnel $v0, $zero, .L802401AC -/* 800A18 80240198 26310001 */ addiu $s1, $s1, 1 -/* 800A1C 8024019C AE510000 */ sw $s1, ($s2) -/* 800A20 802401A0 26520004 */ addiu $s2, $s2, 4 -/* 800A24 802401A4 26730001 */ addiu $s3, $s3, 1 -/* 800A28 802401A8 26310001 */ addiu $s1, $s1, 1 -.L802401AC: -/* 800A2C 802401AC 2E220010 */ sltiu $v0, $s1, 0x10 -/* 800A30 802401B0 1440FFEF */ bnez $v0, .L80240170 -/* 800A34 802401B4 0000202D */ daddu $a0, $zero, $zero -/* 800A38 802401B8 12600039 */ beqz $s3, .L802402A0 -/* 800A3C 802401BC 0000A82D */ daddu $s5, $zero, $zero -/* 800A40 802401C0 27B40010 */ addiu $s4, $sp, 0x10 -/* 800A44 802401C4 2672FFFF */ addiu $s2, $s3, -1 -/* 800A48 802401C8 8FB60054 */ lw $s6, 0x54($sp) -/* 800A4C 802401CC 02E0802D */ daddu $s0, $s7, $zero -.L802401D0: -/* 800A50 802401D0 0C00A67F */ jal rand_int -/* 800A54 802401D4 0240202D */ daddu $a0, $s2, $zero -/* 800A58 802401D8 3C05F5DE */ lui $a1, 0xf5de -/* 800A5C 802401DC 34A501A9 */ ori $a1, $a1, 0x1a9 -/* 800A60 802401E0 0040882D */ daddu $s1, $v0, $zero -/* 800A64 802401E4 00111080 */ sll $v0, $s1, 2 -/* 800A68 802401E8 02821021 */ addu $v0, $s4, $v0 -/* 800A6C 802401EC 8C460000 */ lw $a2, ($v0) -/* 800A70 802401F0 3C078024 */ lui $a3, %hi(D_80247F88_808808) -/* 800A74 802401F4 24E77F88 */ addiu $a3, $a3, %lo(D_80247F88_808808) -/* 800A78 802401F8 00061840 */ sll $v1, $a2, 1 -/* 800A7C 802401FC 00661821 */ addu $v1, $v1, $a2 -/* 800A80 80240200 00031880 */ sll $v1, $v1, 2 -/* 800A84 80240204 00671821 */ addu $v1, $v1, $a3 -/* 800A88 80240208 8C620000 */ lw $v0, ($v1) -/* 800A8C 8024020C 3C078008 */ lui $a3, %hi(gItemTable) -/* 800A90 80240210 24E778E0 */ addiu $a3, $a3, %lo(gItemTable) -/* 800A94 80240214 AE020000 */ sw $v0, ($s0) -/* 800A98 80240218 00021140 */ sll $v0, $v0, 5 -/* 800A9C 8024021C 00471021 */ addu $v0, $v0, $a3 -/* 800AA0 80240220 8442000C */ lh $v0, 0xc($v0) -/* 800AA4 80240224 03C0202D */ daddu $a0, $fp, $zero -/* 800AA8 80240228 AE020004 */ sw $v0, 4($s0) -/* 800AAC 8024022C 8C620008 */ lw $v0, 8($v1) -/* 800AB0 80240230 02A52821 */ addu $a1, $s5, $a1 -/* 800AB4 80240234 AE020008 */ sw $v0, 8($s0) -/* 800AB8 80240238 8FA70050 */ lw $a3, 0x50($sp) -/* 800ABC 8024023C 26B50001 */ addiu $s5, $s5, 1 -/* 800AC0 80240240 00E61021 */ addu $v0, $a3, $a2 -/* 800AC4 80240244 0C0B2026 */ jal evt_set_variable -/* 800AC8 80240248 AEC20000 */ sw $v0, ($s6) -/* 800ACC 8024024C 26D60004 */ addiu $s6, $s6, 4 -/* 800AD0 80240250 2AA20003 */ slti $v0, $s5, 3 -/* 800AD4 80240254 10400012 */ beqz $v0, .L802402A0 -/* 800AD8 80240258 2610000C */ addiu $s0, $s0, 0xc -/* 800ADC 8024025C 0232102A */ slt $v0, $s1, $s2 -/* 800AE0 80240260 1040000C */ beqz $v0, .L80240294 -/* 800AE4 80240264 0240202D */ daddu $a0, $s2, $zero -/* 800AE8 80240268 00111880 */ sll $v1, $s1, 2 -.L8024026C: -/* 800AEC 8024026C 26220001 */ addiu $v0, $s1, 1 -/* 800AF0 80240270 0040882D */ daddu $s1, $v0, $zero -/* 800AF4 80240274 00111080 */ sll $v0, $s1, 2 -/* 800AF8 80240278 02821021 */ addu $v0, $s4, $v0 -/* 800AFC 8024027C 8C420000 */ lw $v0, ($v0) -/* 800B00 80240280 02831821 */ addu $v1, $s4, $v1 -/* 800B04 80240284 AC620000 */ sw $v0, ($v1) -/* 800B08 80240288 0224102A */ slt $v0, $s1, $a0 -/* 800B0C 8024028C 1440FFF7 */ bnez $v0, .L8024026C -/* 800B10 80240290 00111880 */ sll $v1, $s1, 2 -.L80240294: -/* 800B14 80240294 2673FFFF */ addiu $s3, $s3, -1 -/* 800B18 80240298 1660FFCD */ bnez $s3, .L802401D0 -/* 800B1C 8024029C 2652FFFF */ addiu $s2, $s2, -1 -.L802402A0: -/* 800B20 802402A0 03C0202D */ daddu $a0, $fp, $zero -/* 800B24 802402A4 3C05F5DE */ lui $a1, 0xf5de -/* 800B28 802402A8 34A501AC */ ori $a1, $a1, 0x1ac -/* 800B2C 802402AC 0C0B2026 */ jal evt_set_variable -/* 800B30 802402B0 02A0302D */ daddu $a2, $s5, $zero -/* 800B34 802402B4 03C0202D */ daddu $a0, $fp, $zero -/* 800B38 802402B8 3C05F840 */ lui $a1, 0xf840 -/* 800B3C 802402BC 34A55C87 */ ori $a1, $a1, 0x5c87 -/* 800B40 802402C0 0C0B2026 */ jal evt_set_variable -/* 800B44 802402C4 24060001 */ addiu $a2, $zero, 1 -/* 800B48 802402C8 080900DC */ j .L80240370 -/* 800B4C 802402CC AFC00090 */ sw $zero, 0x90($fp) -.L802402D0: -/* 800B50 802402D0 3C05F5DE */ lui $a1, 0xf5de -/* 800B54 802402D4 0C0B1EAF */ jal evt_get_variable -/* 800B58 802402D8 34A501AC */ ori $a1, $a1, 0x1ac -/* 800B5C 802402DC 0040A82D */ daddu $s5, $v0, $zero -/* 800B60 802402E0 1AA00021 */ blez $s5, .L80240368 -/* 800B64 802402E4 0000882D */ daddu $s1, $zero, $zero -/* 800B68 802402E8 3C13F5DE */ lui $s3, 0xf5de -/* 800B6C 802402EC 367301A9 */ ori $s3, $s3, 0x1a9 -/* 800B70 802402F0 3C168024 */ lui $s6, %hi(D_80247F88_808808) -/* 800B74 802402F4 26D67F88 */ addiu $s6, $s6, %lo(D_80247F88_808808) -/* 800B78 802402F8 3C148008 */ lui $s4, %hi(gItemTable) -/* 800B7C 802402FC 269478E0 */ addiu $s4, $s4, %lo(gItemTable) -/* 800B80 80240300 8FB20054 */ lw $s2, 0x54($sp) -/* 800B84 80240304 02E0802D */ daddu $s0, $s7, $zero -.L80240308: -/* 800B88 80240308 03C0202D */ daddu $a0, $fp, $zero -/* 800B8C 8024030C 0C0B1EAF */ jal evt_get_variable -/* 800B90 80240310 02332821 */ addu $a1, $s1, $s3 -/* 800B94 80240314 0040302D */ daddu $a2, $v0, $zero -/* 800B98 80240318 00061840 */ sll $v1, $a2, 1 -/* 800B9C 8024031C 00661821 */ addu $v1, $v1, $a2 -/* 800BA0 80240320 00031880 */ sll $v1, $v1, 2 -/* 800BA4 80240324 00761821 */ addu $v1, $v1, $s6 -/* 800BA8 80240328 8C620000 */ lw $v0, ($v1) -/* 800BAC 8024032C AE020000 */ sw $v0, ($s0) -/* 800BB0 80240330 00021140 */ sll $v0, $v0, 5 -/* 800BB4 80240334 00541021 */ addu $v0, $v0, $s4 -/* 800BB8 80240338 8442000C */ lh $v0, 0xc($v0) -/* 800BBC 8024033C AE020004 */ sw $v0, 4($s0) -/* 800BC0 80240340 8C620008 */ lw $v0, 8($v1) -/* 800BC4 80240344 26310001 */ addiu $s1, $s1, 1 -/* 800BC8 80240348 AE020008 */ sw $v0, 8($s0) -/* 800BCC 8024034C 8FA70050 */ lw $a3, 0x50($sp) -/* 800BD0 80240350 2610000C */ addiu $s0, $s0, 0xc -/* 800BD4 80240354 00E61021 */ addu $v0, $a3, $a2 -/* 800BD8 80240358 AE420000 */ sw $v0, ($s2) -/* 800BDC 8024035C 0235102A */ slt $v0, $s1, $s5 -/* 800BE0 80240360 1440FFE9 */ bnez $v0, .L80240308 -/* 800BE4 80240364 26520004 */ addiu $s2, $s2, 4 -.L80240368: -/* 800BE8 80240368 24020001 */ addiu $v0, $zero, 1 -/* 800BEC 8024036C AFC20090 */ sw $v0, 0x90($fp) -.L80240370: -/* 800BF0 80240370 AFD50084 */ sw $s5, 0x84($fp) -/* 800BF4 80240374 8FA70054 */ lw $a3, 0x54($sp) -/* 800BF8 80240378 AFC70088 */ sw $a3, 0x88($fp) -/* 800BFC 8024037C AFD7008C */ sw $s7, 0x8c($fp) -/* 800C00 80240380 8FBF007C */ lw $ra, 0x7c($sp) -/* 800C04 80240384 8FBE0078 */ lw $fp, 0x78($sp) -/* 800C08 80240388 8FB70074 */ lw $s7, 0x74($sp) -/* 800C0C 8024038C 8FB60070 */ lw $s6, 0x70($sp) -/* 800C10 80240390 8FB5006C */ lw $s5, 0x6c($sp) -/* 800C14 80240394 8FB40068 */ lw $s4, 0x68($sp) -/* 800C18 80240398 8FB30064 */ lw $s3, 0x64($sp) -/* 800C1C 8024039C 8FB20060 */ lw $s2, 0x60($sp) -/* 800C20 802403A0 8FB1005C */ lw $s1, 0x5c($sp) -/* 800C24 802403A4 8FB00058 */ lw $s0, 0x58($sp) -/* 800C28 802403A8 24020002 */ addiu $v0, $zero, 2 -/* 800C2C 802403AC 03E00008 */ jr $ra -/* 800C30 802403B0 27BD0080 */ addiu $sp, $sp, 0x80 -/* 800C34 802403B4 00000000 */ nop -/* 800C38 802403B8 00000000 */ nop -/* 800C3C 802403BC 00000000 */ nop diff --git a/ver/us/asm/nonmatchings/world/area_mac/mac_01/8017D0/func_80243CD4_804554.s b/ver/us/asm/nonmatchings/world/area_mac/mac_01/8017D0/func_80243CD4_804554.s deleted file mode 100644 index fd8d12cd68..0000000000 --- a/ver/us/asm/nonmatchings/world/area_mac/mac_01/8017D0/func_80243CD4_804554.s +++ /dev/null @@ -1,28 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80243CD4_804554 -/* 804554 80243CD4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 804558 80243CD8 AFBF0010 */ sw $ra, 0x10($sp) -/* 80455C 80243CDC 10A00003 */ beqz $a1, .L80243CEC -/* 804560 80243CE0 8C86000C */ lw $a2, 0xc($a0) -/* 804564 80243CE4 3C018025 */ lui $at, %hi(mac_01_ItemChoice_HasSelectedItem) -/* 804568 80243CE8 AC20D944 */ sw $zero, %lo(mac_01_ItemChoice_HasSelectedItem)($at) -.L80243CEC: -/* 80456C 80243CEC 3C038025 */ lui $v1, %hi(mac_01_ItemChoice_HasSelectedItem) -/* 804570 80243CF0 2463D944 */ addiu $v1, $v1, %lo(mac_01_ItemChoice_HasSelectedItem) -/* 804574 80243CF4 8C620000 */ lw $v0, ($v1) -/* 804578 80243CF8 54400003 */ bnel $v0, $zero, .L80243D08 -/* 80457C 80243CFC AC600000 */ sw $zero, ($v1) -/* 804580 80243D00 08090F47 */ j .L80243D1C -/* 804584 80243D04 0000102D */ daddu $v0, $zero, $zero -.L80243D08: -/* 804588 80243D08 8CC50000 */ lw $a1, ($a2) -/* 80458C 80243D0C 3C068025 */ lui $a2, %hi(mac_01_ItemChoice_SelectedItemID) -/* 804590 80243D10 0C0B2026 */ jal evt_set_variable -/* 804594 80243D14 8CC6D948 */ lw $a2, %lo(mac_01_ItemChoice_SelectedItemID)($a2) -/* 804598 80243D18 24020002 */ addiu $v0, $zero, 2 -.L80243D1C: -/* 80459C 80243D1C 8FBF0010 */ lw $ra, 0x10($sp) -/* 8045A0 80243D20 03E00008 */ jr $ra -/* 8045A4 80243D24 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/world/area_mac/mac_05/852170/func_80242A90_854C00.s b/ver/us/asm/nonmatchings/world/area_mac/mac_05/852170/func_80242A90_854C00.s deleted file mode 100644 index 62483d8360..0000000000 --- a/ver/us/asm/nonmatchings/world/area_mac/mac_05/852170/func_80242A90_854C00.s +++ /dev/null @@ -1,141 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel jtbl_80252950_864AC0 -.word .L80242B14_854C84, .L80242B24_854C94, .L80242B34_854CA4, .L80242B44_854CB4, .L80242B68_854CD8 - -.section .text - -glabel func_80242A90_854C00 -/* 854C00 80242A90 27BDFFB0 */ addiu $sp, $sp, -0x50 -/* 854C04 80242A94 AFB20018 */ sw $s2, 0x18($sp) -/* 854C08 80242A98 0080902D */ daddu $s2, $a0, $zero -/* 854C0C 80242A9C AFBF0028 */ sw $ra, 0x28($sp) -/* 854C10 80242AA0 AFB50024 */ sw $s5, 0x24($sp) -/* 854C14 80242AA4 AFB40020 */ sw $s4, 0x20($sp) -/* 854C18 80242AA8 AFB3001C */ sw $s3, 0x1c($sp) -/* 854C1C 80242AAC AFB10014 */ sw $s1, 0x14($sp) -/* 854C20 80242AB0 AFB00010 */ sw $s0, 0x10($sp) -/* 854C24 80242AB4 F7BA0048 */ sdc1 $f26, 0x48($sp) -/* 854C28 80242AB8 F7B80040 */ sdc1 $f24, 0x40($sp) -/* 854C2C 80242ABC F7B60038 */ sdc1 $f22, 0x38($sp) -/* 854C30 80242AC0 F7B40030 */ sdc1 $f20, 0x30($sp) -/* 854C34 80242AC4 8E50000C */ lw $s0, 0xc($s2) -/* 854C38 80242AC8 8E050000 */ lw $a1, ($s0) -/* 854C3C 80242ACC 0C0B1EAF */ jal evt_get_variable -/* 854C40 80242AD0 26100004 */ addiu $s0, $s0, 4 -/* 854C44 80242AD4 8E130000 */ lw $s3, ($s0) -/* 854C48 80242AD8 26100004 */ addiu $s0, $s0, 4 -/* 854C4C 80242ADC 0000202D */ daddu $a0, $zero, $zero -/* 854C50 80242AE0 8E140000 */ lw $s4, ($s0) -/* 854C54 80242AE4 8E150004 */ lw $s5, 4($s0) -/* 854C58 80242AE8 0C00EAD2 */ jal get_npc_safe -/* 854C5C 80242AEC 0040882D */ daddu $s1, $v0, $zero -/* 854C60 80242AF0 0040802D */ daddu $s0, $v0, $zero -/* 854C64 80242AF4 2E220005 */ sltiu $v0, $s1, 5 -/* 854C68 80242AF8 10400024 */ beqz $v0, .L80242B8C -/* 854C6C 80242AFC 00111080 */ sll $v0, $s1, 2 -/* 854C70 80242B00 3C018025 */ lui $at, %hi(jtbl_80252950_864AC0) -/* 854C74 80242B04 00220821 */ addu $at, $at, $v0 -/* 854C78 80242B08 8C222950 */ lw $v0, %lo(jtbl_80252950_864AC0)($at) -/* 854C7C 80242B0C 00400008 */ jr $v0 -/* 854C80 80242B10 00000000 */ nop -.L80242B14_854C84: -/* 854C84 80242B14 3C01425C */ lui $at, 0x425c -/* 854C88 80242B18 4481D000 */ mtc1 $at, $f26 -/* 854C8C 80242B1C 08090AEB */ j .L80242BAC -/* 854C90 80242B20 2A220003 */ slti $v0, $s1, 3 -.L80242B24_854C94: -/* 854C94 80242B24 3C0142AA */ lui $at, 0x42aa -/* 854C98 80242B28 4481D000 */ mtc1 $at, $f26 -/* 854C9C 80242B2C 08090AEB */ j .L80242BAC -/* 854CA0 80242B30 2A220003 */ slti $v0, $s1, 3 -.L80242B34_854CA4: -/* 854CA4 80242B34 3C0141C8 */ lui $at, 0x41c8 -/* 854CA8 80242B38 4481D000 */ mtc1 $at, $f26 -/* 854CAC 80242B3C 08090AEB */ j .L80242BAC -/* 854CB0 80242B40 2A220003 */ slti $v0, $s1, 3 -.L80242B44_854CB4: -/* 854CB4 80242B44 3C01C393 */ lui $at, 0xc393 -/* 854CB8 80242B48 34218000 */ ori $at, $at, 0x8000 -/* 854CBC 80242B4C 4481C000 */ mtc1 $at, $f24 -/* 854CC0 80242B50 3C01C120 */ lui $at, 0xc120 -/* 854CC4 80242B54 4481B000 */ mtc1 $at, $f22 -/* 854CC8 80242B58 3C0143C8 */ lui $at, 0x43c8 -/* 854CCC 80242B5C 4481A000 */ mtc1 $at, $f20 -/* 854CD0 80242B60 08090AEB */ j .L80242BAC -/* 854CD4 80242B64 2A220003 */ slti $v0, $s1, 3 -.L80242B68_854CD8: -/* 854CD8 80242B68 3C01C38E */ lui $at, 0xc38e -/* 854CDC 80242B6C 34218000 */ ori $at, $at, 0x8000 -/* 854CE0 80242B70 4481C000 */ mtc1 $at, $f24 -/* 854CE4 80242B74 3C01C120 */ lui $at, 0xc120 -/* 854CE8 80242B78 4481B000 */ mtc1 $at, $f22 -/* 854CEC 80242B7C 3C0143BE */ lui $at, 0x43be -/* 854CF0 80242B80 4481A000 */ mtc1 $at, $f20 -/* 854CF4 80242B84 08090AEB */ j .L80242BAC -/* 854CF8 80242B88 2A220003 */ slti $v0, $s1, 3 -.L80242B8C: -/* 854CFC 80242B8C 3C01C393 */ lui $at, 0xc393 -/* 854D00 80242B90 34218000 */ ori $at, $at, 0x8000 -/* 854D04 80242B94 4481C000 */ mtc1 $at, $f24 -/* 854D08 80242B98 3C01C120 */ lui $at, 0xc120 -/* 854D0C 80242B9C 4481B000 */ mtc1 $at, $f22 -/* 854D10 80242BA0 3C0143D2 */ lui $at, 0x43d2 -/* 854D14 80242BA4 4481A000 */ mtc1 $at, $f20 -/* 854D18 80242BA8 2A220003 */ slti $v0, $s1, 3 -.L80242BAC: -/* 854D1C 80242BAC 10400019 */ beqz $v0, .L80242C14 -/* 854D20 80242BB0 0240202D */ daddu $a0, $s2, $zero -/* 854D24 80242BB4 C614000C */ lwc1 $f20, 0xc($s0) -/* 854D28 80242BB8 4600A507 */ neg.s $f20, $f20 -/* 854D2C 80242BBC 0C00A8BB */ jal sin_deg -/* 854D30 80242BC0 4600A306 */ mov.s $f12, $f20 -/* 854D34 80242BC4 461A0002 */ mul.s $f0, $f0, $f26 -/* 854D38 80242BC8 00000000 */ nop -/* 854D3C 80242BCC C6020038 */ lwc1 $f2, 0x38($s0) -/* 854D40 80242BD0 3C0141F0 */ lui $at, 0x41f0 -/* 854D44 80242BD4 44812000 */ mtc1 $at, $f4 -/* 854D48 80242BD8 00000000 */ nop -/* 854D4C 80242BDC 46041080 */ add.s $f2, $f2, $f4 -/* 854D50 80242BE0 46001600 */ add.s $f24, $f2, $f0 -/* 854D54 80242BE4 0C00A8D4 */ jal cos_deg -/* 854D58 80242BE8 4600A306 */ mov.s $f12, $f20 -/* 854D5C 80242BEC 461A0002 */ mul.s $f0, $f0, $f26 -/* 854D60 80242BF0 00000000 */ nop -/* 854D64 80242BF4 C604003C */ lwc1 $f4, 0x3c($s0) -/* 854D68 80242BF8 3C014248 */ lui $at, 0x4248 -/* 854D6C 80242BFC 44811000 */ mtc1 $at, $f2 -/* 854D70 80242C00 00000000 */ nop -/* 854D74 80242C04 46022580 */ add.s $f22, $f4, $f2 -/* 854D78 80242C08 C6020040 */ lwc1 $f2, 0x40($s0) -/* 854D7C 80242C0C 46001500 */ add.s $f20, $f2, $f0 -/* 854D80 80242C10 0240202D */ daddu $a0, $s2, $zero -.L80242C14: -/* 854D84 80242C14 4406C000 */ mfc1 $a2, $f24 -/* 854D88 80242C18 0C0B2190 */ jal evt_set_float_variable -/* 854D8C 80242C1C 0260282D */ daddu $a1, $s3, $zero -/* 854D90 80242C20 0240202D */ daddu $a0, $s2, $zero -/* 854D94 80242C24 4406B000 */ mfc1 $a2, $f22 -/* 854D98 80242C28 0C0B2190 */ jal evt_set_float_variable -/* 854D9C 80242C2C 0280282D */ daddu $a1, $s4, $zero -/* 854DA0 80242C30 0240202D */ daddu $a0, $s2, $zero -/* 854DA4 80242C34 4406A000 */ mfc1 $a2, $f20 -/* 854DA8 80242C38 0C0B2190 */ jal evt_set_float_variable -/* 854DAC 80242C3C 02A0282D */ daddu $a1, $s5, $zero -/* 854DB0 80242C40 8FBF0028 */ lw $ra, 0x28($sp) -/* 854DB4 80242C44 8FB50024 */ lw $s5, 0x24($sp) -/* 854DB8 80242C48 8FB40020 */ lw $s4, 0x20($sp) -/* 854DBC 80242C4C 8FB3001C */ lw $s3, 0x1c($sp) -/* 854DC0 80242C50 8FB20018 */ lw $s2, 0x18($sp) -/* 854DC4 80242C54 8FB10014 */ lw $s1, 0x14($sp) -/* 854DC8 80242C58 8FB00010 */ lw $s0, 0x10($sp) -/* 854DCC 80242C5C D7BA0048 */ ldc1 $f26, 0x48($sp) -/* 854DD0 80242C60 D7B80040 */ ldc1 $f24, 0x40($sp) -/* 854DD4 80242C64 D7B60038 */ ldc1 $f22, 0x38($sp) -/* 854DD8 80242C68 D7B40030 */ ldc1 $f20, 0x30($sp) -/* 854DDC 80242C6C 24020002 */ addiu $v0, $zero, 2 -/* 854DE0 80242C70 03E00008 */ jr $ra -/* 854DE4 80242C74 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/ver/us/asm/nonmatchings/world/area_mac/mac_05/855F20/func_80243DB0_855F20.s b/ver/us/asm/nonmatchings/world/area_mac/mac_05/855F20/func_80243DB0_855F20.s deleted file mode 100644 index fa0e509f16..0000000000 --- a/ver/us/asm/nonmatchings/world/area_mac/mac_05/855F20/func_80243DB0_855F20.s +++ /dev/null @@ -1,108 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel jtbl_802529B0_864B20 -.word .L80243EA8_856018, .L80243EB8_856028, .L80243EC8_856038, .L80243ED8_856048, .L80243EE8_856058, .L80243EF8_856068 - -.section .text - -glabel func_80243DB0_855F20 -/* 855F20 80243DB0 44862000 */ mtc1 $a2, $f4 -/* 855F24 80243DB4 3C013F00 */ lui $at, 0x3f00 -/* 855F28 80243DB8 44810000 */ mtc1 $at, $f0 -/* 855F2C 80243DBC 8FA40010 */ lw $a0, 0x10($sp) -/* 855F30 80243DC0 8FA50014 */ lw $a1, 0x14($sp) -/* 855F34 80243DC4 4600203E */ c.le.s $f4, $f0 -/* 855F38 80243DC8 00000000 */ nop -/* 855F3C 80243DCC 45020008 */ bc1fl .L80243DF0 -/* 855F40 80243DD0 460E2000 */ add.s $f0, $f4, $f14 -/* 855F44 80243DD4 460020A1 */ cvt.d.s $f2, $f4 -/* 855F48 80243DD8 46007021 */ cvt.d.s $f0, $f14 -/* 855F4C 80243DDC 46220002 */ mul.d $f0, $f0, $f2 -/* 855F50 80243DE0 00000000 */ nop -/* 855F54 80243DE4 46220000 */ add.d $f0, $f0, $f2 -/* 855F58 80243DE8 08090F7F */ j .L80243DFC -/* 855F5C 80243DEC 462001A0 */ cvt.s.d $f6, $f0 -.L80243DF0: -/* 855F60 80243DF0 460E2082 */ mul.s $f2, $f4, $f14 -/* 855F64 80243DF4 00000000 */ nop -/* 855F68 80243DF8 46020181 */ sub.s $f6, $f0, $f2 -.L80243DFC: -/* 855F6C 80243DFC 44800000 */ mtc1 $zero, $f0 -/* 855F70 80243E00 00000000 */ nop -/* 855F74 80243E04 46003032 */ c.eq.s $f6, $f0 -/* 855F78 80243E08 00000000 */ nop -/* 855F7C 80243E0C 45000005 */ bc1f .L80243E24 -/* 855F80 80243E10 00000000 */ nop -/* 855F84 80243E14 E4A00000 */ swc1 $f0, ($a1) -/* 855F88 80243E18 E4800000 */ swc1 $f0, ($a0) -/* 855F8C 80243E1C 03E00008 */ jr $ra -/* 855F90 80243E20 E4E00000 */ swc1 $f0, ($a3) -.L80243E24: -/* 855F94 80243E24 3C0140C0 */ lui $at, 0x40c0 -/* 855F98 80243E28 44810000 */ mtc1 $at, $f0 -/* 855F9C 80243E2C 00000000 */ nop -/* 855FA0 80243E30 46006302 */ mul.s $f12, $f12, $f0 -/* 855FA4 80243E34 00000000 */ nop -/* 855FA8 80243E38 46042000 */ add.s $f0, $f4, $f4 -/* 855FAC 80243E3C 46060201 */ sub.s $f8, $f0, $f6 -/* 855FB0 80243E40 46083001 */ sub.s $f0, $f6, $f8 -/* 855FB4 80243E44 46060003 */ div.s $f0, $f0, $f6 -/* 855FB8 80243E48 46003002 */ mul.s $f0, $f6, $f0 -/* 855FBC 80243E4C 00000000 */ nop -/* 855FC0 80243E50 4600628D */ trunc.w.s $f10, $f12 -/* 855FC4 80243E54 44025000 */ mfc1 $v0, $f10 -/* 855FC8 80243E58 00000000 */ nop -/* 855FCC 80243E5C 44822000 */ mtc1 $v0, $f4 -/* 855FD0 80243E60 00000000 */ nop -/* 855FD4 80243E64 46802120 */ cvt.s.w $f4, $f4 -/* 855FD8 80243E68 46046081 */ sub.s $f2, $f12, $f4 -/* 855FDC 80243E6C 46020002 */ mul.s $f0, $f0, $f2 -/* 855FE0 80243E70 00000000 */ nop -/* 855FE4 80243E74 46004080 */ add.s $f2, $f8, $f0 -/* 855FE8 80243E78 4600228D */ trunc.w.s $f10, $f4 -/* 855FEC 80243E7C 44035000 */ mfc1 $v1, $f10 -/* 855FF0 80243E80 00000000 */ nop -/* 855FF4 80243E84 2C620006 */ sltiu $v0, $v1, 6 -/* 855FF8 80243E88 1040001E */ beqz $v0, .L80243F04 -/* 855FFC 80243E8C 46003001 */ sub.s $f0, $f6, $f0 -/* 856000 80243E90 00031080 */ sll $v0, $v1, 2 -/* 856004 80243E94 3C018025 */ lui $at, %hi(jtbl_802529B0_864B20) -/* 856008 80243E98 00220821 */ addu $at, $at, $v0 -/* 85600C 80243E9C 8C2229B0 */ lw $v0, %lo(jtbl_802529B0_864B20)($at) -/* 856010 80243EA0 00400008 */ jr $v0 -/* 856014 80243EA4 00000000 */ nop -.L80243EA8_856018: -/* 856018 80243EA8 E4E60000 */ swc1 $f6, ($a3) -/* 85601C 80243EAC E4820000 */ swc1 $f2, ($a0) -/* 856020 80243EB0 03E00008 */ jr $ra -/* 856024 80243EB4 E4A80000 */ swc1 $f8, ($a1) -.L80243EB8_856028: -/* 856028 80243EB8 E4E00000 */ swc1 $f0, ($a3) -/* 85602C 80243EBC E4860000 */ swc1 $f6, ($a0) -/* 856030 80243EC0 03E00008 */ jr $ra -/* 856034 80243EC4 E4A80000 */ swc1 $f8, ($a1) -.L80243EC8_856038: -/* 856038 80243EC8 E4E80000 */ swc1 $f8, ($a3) -/* 85603C 80243ECC E4860000 */ swc1 $f6, ($a0) -/* 856040 80243ED0 03E00008 */ jr $ra -/* 856044 80243ED4 E4A20000 */ swc1 $f2, ($a1) -.L80243ED8_856048: -/* 856048 80243ED8 E4E80000 */ swc1 $f8, ($a3) -/* 85604C 80243EDC E4800000 */ swc1 $f0, ($a0) -/* 856050 80243EE0 03E00008 */ jr $ra -/* 856054 80243EE4 E4A60000 */ swc1 $f6, ($a1) -.L80243EE8_856058: -/* 856058 80243EE8 E4E20000 */ swc1 $f2, ($a3) -/* 85605C 80243EEC E4880000 */ swc1 $f8, ($a0) -/* 856060 80243EF0 03E00008 */ jr $ra -/* 856064 80243EF4 E4A60000 */ swc1 $f6, ($a1) -.L80243EF8_856068: -/* 856068 80243EF8 E4E60000 */ swc1 $f6, ($a3) -/* 85606C 80243EFC E4880000 */ swc1 $f8, ($a0) -/* 856070 80243F00 E4A00000 */ swc1 $f0, ($a1) -.L80243F04: -/* 856074 80243F04 03E00008 */ jr $ra -/* 856078 80243F08 00000000 */ nop diff --git a/ver/us/splat.yaml b/ver/us/splat.yaml index 665e872ac8..3b850503f2 100644 --- a/ver/us/splat.yaml +++ b/ver/us/splat.yaml @@ -8989,43 +8989,65 @@ segments: start: 0x7EAD10 vram: 0x80240000 subsegments: - - [0x7EAD10, c] - - [0x7EB340, c] - - [0x7ECFD0, c] - - [0x7ED280, c] - - [0x7EE870, data] - - [0x7F0A20, data] - - [0x7F8F20, data] - - [0x7F9100, data] - - [0x7F91D0, data] - - [0x7F9800, data] - - [0x7F9850, data] - - [0x7FD1A0, data] - - [0x7FDF30, data] - - [0x7FE550, data] - - [0x8000B0, data] - - [0x8006A0] + - [0x7EAD10, c, mac_00_0_header] + - [0x7EAD10, c, mac_00_1_music] + - [0x7EAD10, c, mac_00_2_main] + - [0x7EB340, c, mac_00_3_entity] + - [0x7EB340, c, mac_00_4_rooms] + - [0x7EB340, c, mac_00_5_npc] + - [0x7ECFD0, c, mac_00_6_shop] + - [0x7ECFD0, c, mac_00_7_music_mix] + - [0x7ED100, c, mac_00_8_demo] + - [0x7ED100, c, mac_00_9_water_gfx] + - [0x7ED280, c, mac_00_10_shared_npc] + - [0x7EE870, c, mac_00_11_intro_npc] + - [0x7EE870, c, mac_00_12_intro] + - [0x7EE870, c, mac_00_13_epilogue_npc] + - [0x7EE870, c, mac_00_14_epilogue] + - [0x7EE870] - name: mac_01 dir: world/area_mac/mac_01 type: code start: 0x800880 vram: 0x80240000 subsegments: - - [0x800880, c] - - [0x800C40, c] - - [0x801700, c] - - [0x8017D0, c] - - [0x805DD0, c] - - [0x806D10, c] - - [0x806F50, data] - - [0x807C00, data] - - [0x808680, data] - - [0x808D70, data] - - [0x8091F0, data] - - [0x8202D0, data] - - [0x822100, data] - - [0x822460, data] - - [0x822F30] + - [0x800880, c, mac_01_0_header] + - [0x800880, c, mac_01_1_music] + - [0x800880, c, mac_01_2_main] + - [0x800880, c, mac_01_3_entity] + - [0x800880, c, mac_01_4_rooms] + - [0x800880, c, mac_01_5_shop] + - [0x800C40, c, mac_01_6_crystal_ball_gfx] + - [0x801700, c, mac_01_7_bulletin] + - [0x8017D0, c, mac_01_8_music_mix] + - [0x801900, c, mac_01_9_npc] + - [0x805DD0, c, mac_01_10_intro_npc] + - [0x806C60, c, mac_01_11_epilogue_npc] + - [0x806C60, c, mac_01_12_intro] + - [0x806D10, c, mac_01_13_foliage] + - [0x806F50, .data, mac_01_0_header] + - [0x806FF0, .data, mac_01_1_music] + - [0x8071D0, .data, mac_01_2_main] + - [0x807C00, .data, mac_01_3_entity] + - [0x807CB0, .data, mac_01_4_rooms] + - [0x808680, .data, mac_01_5_shop] + - [0x808CA0, .data, mac_01_6_crystal_ball_gfx] + - [0x808D70, .data, mac_01_7_bulletin] + - [0x8090E0, .data, mac_01_8_music_mix] + - start: 0x8091F0 + type: .data + name: mac_01_9_npc + subsegments: + - [0x970C40] + - [0x80BE10, vtx_common, ../../toad_house/blanket] + - [0x80D3F0, gfx_common, ../../toad_house/blanket] + - [0x80D558, rgba16, ../../toad_house/blanket, 16, 32, namespaced] + - [0x80D958] + - [0x81F9C0] + - [0x81F9C0, .data, mac_01_10_intro_npc] + - [0x8202D0, .data, mac_01_11_epilogue_npc] + - [0x822100, .data, mac_01_12_intro] + - [0x822460, .data, mac_01_13_foliage] - name: mac_02 dir: world/area_mac/mac_02 type: code @@ -9955,7 +9977,6 @@ segments: type: code start: 0x93F5B0 vram: 0x80240000 - subalign: 16 subsegments: - [0x93F5B0, c, sbk_30_0_header] - [0x93F5B0, c, sbk_30_1_music] @@ -10270,9 +10291,7 @@ segments: - [0x970B78, gfx, card_1] - [0x970BF8, gfx, card_2] - [0x970C40] - - [0x971F98, vtx, toad_house_blanket] - - [0x973578, gfx, toad_house_blanket] - - [0x9736E0, rgba16, toad_house_blanket, 16, 32] + - [0x971F98] # unmapped vtx/gfx for toad house blanket - [0x973AE0] - [0x9780D0] - name: isk_01 @@ -10554,7 +10573,6 @@ segments: type: code start: 0x9B1790 vram: 0x80240000 - subalign: 16 subsegments: - [0x9B1790, c, trd_06_0_header] - [0x9B1790, c, trd_06_1_main] @@ -13203,7 +13221,6 @@ segments: type: code start: 0xC6C920 vram: 0x80240000 - subalign: 16 subsegments: - [0xC6C920, c, kzn_06_0_header] - [0xC6C920, c, kzn_06_1_main] diff --git a/ver/us/symbol_addrs.txt b/ver/us/symbol_addrs.txt index 5b11477ed6..a30337cab7 100644 --- a/ver/us/symbol_addrs.txt +++ b/ver/us/symbol_addrs.txt @@ -3009,7 +3009,7 @@ func_800EF300 = 0x800EF300; // type:func rom:0x887B0 func_800EF314 = 0x800EF314; // type:func rom:0x887C4 enable_partner_ai = 0x800EF328; // type:func rom:0x887D8 partner_set_tether_distance = 0x800EF394; // type:func rom:0x88844 -repartner_set_tether_distance = 0x800EF3A4; // type:func rom:0x88854 +partner_reset_tether_distance = 0x800EF3A4; // type:func rom:0x88854 partner_set_goal_pos = 0x800EF3C0; // type:func rom:0x88870 func_800EF3D4 = 0x800EF3D4; // type:func rom:0x88884 func_800EF3E4 = 0x800EF3E4; // type:func rom:0x88894 @@ -4268,8 +4268,8 @@ sparkle_script_step = 0x80130A04; // type:func rom:0xC7104 sparkle_script_update = 0x80130ACC; // type:func rom:0xC71CC draw_coin_sparkles = 0x80130B0C; // type:func rom:0xC720C get_item_entity = 0x80130F58; // type:func rom:0xC7658 -item_entity_disable_shadow = 0x80130F70; // type:func rom:0xC7670 -item_entity_enable_shadow = 0x80130FAC; // type:func rom:0xC76AC +hide_item_entity = 0x80130F70; // type:func rom:0xC7670 +reveal_item_entity = 0x80130FAC; // type:func rom:0xC76AC clear_item_entity_data = 0x80130FF0; // type:func rom:0xC76F0 init_item_entity_list = 0x801310CC; // type:func rom:0xC77CC item_entity_load = 0x80131128; // type:func rom:0xC7828 @@ -15088,8 +15088,8 @@ mac_00_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0x7EAEE0 mac_00_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0x7EAF4C mac_00_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0x7EAFF0 mac_00_UpdateTexturePanStepped = 0x80240404; // type:func rom:0x7EB114 -func_802405EC_7EB2FC = 0x802405EC; // type:func rom:0x7EB2FC -func_80240624_7EB334 = 0x80240624; // type:func rom:0x7EB334 +mac_00_DummyColliderFunction = 0x802405EC; // type:func rom:0x7EB2FC +mac_00_DummyInitFunction = 0x80240624; // type:func rom:0x7EB334 mac_00_StashVars = 0x80240630; // type:func rom:0x7EB340 mac_00_GetItemName = 0x802406E4; // type:func rom:0x7EB3F4 mac_00_Quizmo_HideEntities = 0x80240748; // type:func rom:0x7EB458 @@ -15119,26 +15119,26 @@ mac_00_Quizmo_CreateReactionEffect = 0x80241628; // type:func rom:0x7EC338 mac_00_Quizmo_CreateWorker = 0x80241694; // type:func rom:0x7EC3A4 mac_00_GetNpcCollisionHeight = 0x802416C4; // type:func rom:0x7EC3D4 mac_00_AddPlayerHandsOffset = 0x80241720; // type:func rom:0x7EC430 -func_802418F0_7EC600 = 0x802418F0; // type:func rom:0x7EC600 +mac_00_func_802418F0_7EC600 = 0x802418F0; // type:func rom:0x7EC600 mac_00_ItemChoice_SaveSelected = 0x80241944; // type:func rom:0x7EC654 -func_8024197C_7EC68C = 0x8024197C; // type:func rom:0x7EC68C -func_80241A18_7EC728 = 0x80241A18; // type:func rom:0x7EC728 +mac_00_func_8024197C_7EC68C = 0x8024197C; // type:func rom:0x7EC68C +mac_00_func_80241A18_7EC728 = 0x80241A18; // type:func rom:0x7EC728 mac_00_LetterDelivery_Init = 0x80241AB4; // type:func rom:0x7EC7C4 mac_00_LetterDelivery_CalcLetterPos = 0x80241BA4; // type:func rom:0x7EC8B4 mac_00_LetterDelivery_SaveNpcAnim = 0x80241D30; // type:func rom:0x7ECA40 mac_00_LetterDelivery_RestoreNpcAnim = 0x80241D74; // type:func rom:0x7ECA84 -func_80241DA0_7ECAB0 = 0x80241DA0; // type:func rom:0x7ECAB0 -func_80241E04_7ECB14 = 0x80241E04; // type:func rom:0x7ECB14 -func_80241E80_7ECB90 = 0x80241E80; // type:func rom:0x7ECB90 -func_80241FF0_7ECD00 = 0x80241FF0; // type:func rom:0x7ECD00 -mac_00_UnkPositionFunc = 0x80242078; // type:func rom:0x7ECD88 +mac_00_ResetRussHintsGiven = 0x80241DA0; // type:func rom:0x7ECAB0 +mac_00_InitRussHintUnlocks = 0x80241E04; // type:func rom:0x7ECB14 +mac_00_GetRussHintMessage = 0x80241E80; // type:func rom:0x7ECB90 +mac_00_GetRussHintCount = 0x80241FF0; // type:func rom:0x7ECD00 +mac_00_CheckPositionRelativeToPlane = 0x80242078; // type:func rom:0x7ECD88 mac_00_SetDojoBattle = 0x80242178; // type:func rom:0x7ECE88 -func_802421D0_7ECEE0 = 0x802421D0; // type:func rom:0x7ECEE0 -func_80242224_7ECF34 = 0x80242224; // type:func rom:0x7ECF34 -func_80242250_7ECF60 = 0x80242250; // type:func rom:0x7ECF60 -func_8024228C_7ECF9C = 0x8024228C; // type:func rom:0x7ECF9C +mac_00_func_802421D0_7ECEE0 = 0x802421D0; // type:func rom:0x7ECEE0 +mac_00_SetPlayer1HP = 0x80242224; // type:func rom:0x7ECF34 +mac_00_CheckTradeEventTime = 0x80242250; // type:func rom:0x7ECF60 +mac_00_GetTradeEventItemCount = 0x8024228C; // type:func rom:0x7ECF9C mac_00_MonitorMusicProximityTrigger = 0x802422C0; // type:func rom:0x7ECFD0 -func_802423F0_7ED100 = 0x802423F0; // type:func rom:0x7ED100 +mac_00_gfx_build_water = 0x802423F0; // type:func rom:0x7ED100 mac_00_PatrolAI_MoveInit = 0x80242570; // type:func rom:0x7ED280 mac_00_PatrolAI_Move = 0x802426C8; // type:func rom:0x7ED3D8 mac_00_PatrolAI_LoiterInit = 0x80242970; // type:func rom:0x7ED680 @@ -15176,14 +15176,14 @@ mac_00_ItemChoice_HasSelectedItem = 0x8024ED4C; // type:data rom:0x7F9A5C mac_00_ItemChoice_SelectedItemID = 0x8024ED50; // type:data rom:0x7F9A60 D_802559C0_8006D0 = 0x802559C0; // type:data rom:0x8006D0 D_802559C8_8006D8 = 0x802559C8; // type:data rom:0x8006D8 -func_80240000_800880 = 0x80240000; // type:func rom:0x800880 -func_80240044_8008C4 = 0x80240044; // type:func rom:0x8008C4 -func_802400C8_800948 = 0x802400C8; // type:func rom:0x800948 -func_802403C0_800C40 = 0x802403C0; // type:func rom:0x800C40 -func_802405E8_800E68 = 0x802405E8; // type:func rom:0x800E68 -func_80240628_800EA8 = 0x80240628; // type:func rom:0x800EA8 -func_80240E80_801700 = 0x80240E80; // type:func rom:0x801700 -func_80240ED8_801758 = 0x80240ED8; // type:func rom:0x801758 +mac_01_HideRowfBadge = 0x80240000; // type:func rom:0x800880 +mac_01_SetRowfBadgeBought = 0x80240044; // type:func rom:0x8008C4 +mac_01_CreateShopInventory = 0x802400C8; // type:func rom:0x800948 +mac_01_func_802403C0_800C40 = 0x802403C0; // type:func rom:0x800C40 +mac_01_func_802405E8_800E68 = 0x802405E8; // type:func rom:0x800E68 +mac_01_func_80240628_800EA8 = 0x80240628; // type:func rom:0x800EA8 +GetBulletinMessages = 0x80240E80; // type:func rom:0x801700 +SelectBulletinMessages = 0x80240ED8; // type:func rom:0x801758 mac_01_MonitorMusicProximityTrigger = 0x80240F50; // type:func rom:0x8017D0 dup_mac_01_PatrolAI_MoveInit = 0x80241080; // type:func rom:0x801900 mac_01_PatrolAI_Move = 0x802411D8; // type:func rom:0x801A58 @@ -15224,13 +15224,13 @@ mac_01_Quizmo_SpinPartner = 0x80242D90; // type:func rom:0x803610 mac_01_Quizmo_UpdatePartnerPosition = 0x80242E20; // type:func rom:0x8036A0 mac_01_Quizmo_CreateReactionEffect = 0x80242F08; // type:func rom:0x803788 mac_01_Quizmo_CreateWorker = 0x80242F74; // type:func rom:0x8037F4 -func_80242FA4_803824 = 0x80242FA4; // type:func rom:0x803824 -filemenu_update_show_name_input_803C00 = 0x80243380; // type:func rom:0x803C00 -func_80243494_803D14 = 0x80243494; // type:func rom:0x803D14 -func_80243500_803D80 = 0x80243500; // type:func rom:0x803D80 -func_802435C0_803E40 = 0x802435C0; // type:func rom:0x803E40 -func_80243680_803F00 = 0x80243680; // type:func rom:0x803F00 -func_80243740_803FC0 = 0x80243740; // type:func rom:0x803FC0 +mac_01_gfx_build_knocked_down_player = 0x80242FA4; // type:func rom:0x803824 +mac_01_KnockDownPlayerB = 0x80243380; // type:func rom:0x803C00 +mac_01_KnockDownPlayerC = 0x80243494; // type:func rom:0x803D14 +mac_01_KnockDownPlayerD = 0x80243500; // type:func rom:0x803D80 +mac_01_KnockDownPlayerE = 0x802435C0; // type:func rom:0x803E40 +mac_01_KnockDownPlayerF = 0x80243680; // type:func rom:0x803F00 +mac_01_KnockDownPlayerG = 0x80243740; // type:func rom:0x803FC0 mac_01_ToadHouse_DisableStatusMenu = 0x802437AC; // type:func rom:0x80402C mac_01_ToadHouse_ShowStatusMenu = 0x802437CC; // type:func rom:0x80404C mac_01_ToadHouse_UpdateScreenOverlay = 0x802437F4; // type:func rom:0x804074 @@ -15245,39 +15245,39 @@ mac_01_ToadHouse_GetPartnerBackOut = 0x80243A70; // type:func rom:0x8042F0 mac_01_ToadHouse_Stub = 0x80243AA0; // type:func rom:0x804320 mac_01_GetNpcCollisionHeight = 0x80243AA8; // type:func rom:0x804328 mac_01_AddPlayerHandsOffset = 0x80243B04; // type:func rom:0x804384 -func_80243CD4_804554 = 0x80243CD4; // type:func rom:0x804554 +mac_01_func_80243CD4_804554 = 0x80243CD4; // type:func rom:0x804554 mac_01_ItemChoice_SaveSelected = 0x80243D28; // type:func rom:0x8045A8 -func_80243D60_8045E0 = 0x80243D60; // type:func rom:0x8045E0 +mac_01_func_80243D60_8045E0 = 0x80243D60; // type:func rom:0x8045E0 mac_01_LetterDelivery_Init = 0x80243DFC; // type:func rom:0x80467C mac_01_LetterDelivery_CalcLetterPos = 0x80243EEC; // type:func rom:0x80476C mac_01_LetterDelivery_SaveNpcAnim = 0x80244078; // type:func rom:0x8048F8 mac_01_LetterDelivery_RestoreNpcAnim = 0x802440BC; // type:func rom:0x80493C mac_01_GetPlayerCoins = 0x802440E8; // type:func rom:0x804968 -func_802440FC_80497C = 0x802440FC; // type:func rom:0x80497C -func_802441EC_804A6C = 0x802441EC; // type:func rom:0x804A6C -func_80244308_804B88 = 0x80244308; // type:func rom:0x804B88 -func_802443E0_804C60 = 0x802443E0; // type:func rom:0x804C60 -func_802446AC_804F2C = 0x802446AC; // type:func rom:0x804F2C -mac_01_UnkPositionFunc = 0x802446E0; // type:func rom:0x804F60 -func_802447E0_805060 = 0x802447E0; // type:func rom:0x805060 -func_80244848_8050C8 = 0x80244848; // type:func rom:0x8050C8 -func_802448A0_805120 = 0x802448A0; // type:func rom:0x805120 -func_80244984_805204 = 0x80244984; // type:func rom:0x805204 -func_802449F8_805278 = 0x802449F8; // type:func rom:0x805278 -func_80244B98_805418 = 0x80244B98; // type:func rom:0x805418 -func_80244CC0_805540 = 0x80244CC0; // type:func rom:0x805540 -func_80244D68_8055E8 = 0x80244D68; // type:func rom:0x8055E8 -func_80244E10_805690 = 0x80244E10; // type:func rom:0x805690 -func_80244E90_805710 = 0x80244E90; // type:func rom:0x805710 -func_80244F5C_8057DC = 0x80244F5C; // type:func rom:0x8057DC -func_80245018_805898 = 0x80245018; // type:func rom:0x805898 -func_80245028_8058A8 = 0x80245028; // type:func rom:0x8058A8 -func_8024522C_805AAC = 0x8024522C; // type:func rom:0x805AAC -func_80245440_805CC0 = 0x80245440; // type:func rom:0x805CC0 -func_80245488_805D08 = 0x80245488; // type:func rom:0x805D08 -func_802454B4_805D34 = 0x802454B4; // type:func rom:0x805D34 -func_80245504_805D84 = 0x80245504; // type:func rom:0x805D84 -func_8024552C_805DAC = 0x8024552C; // type:func rom:0x805DAC +mac_01_func_802440FC_80497C = 0x802440FC; // type:func rom:0x80497C +mac_01_func_802441EC_804A6C = 0x802441EC; // type:func rom:0x804A6C +mac_01_func_80244308_804B88 = 0x80244308; // type:func rom:0x804B88 +mac_01_func_802443E0_804C60 = 0x802443E0; // type:func rom:0x804C60 +mac_01_func_802446AC_804F2C = 0x802446AC; // type:func rom:0x804F2C +mac_01_CheckPositionRelativeToPlane = 0x802446E0; // type:func rom:0x804F60 +mac_01_func_802447E0_805060 = 0x802447E0; // type:func rom:0x805060 +mac_01_func_80244848_8050C8 = 0x80244848; // type:func rom:0x8050C8 +mac_01_func_802448A0_805120 = 0x802448A0; // type:func rom:0x805120 +mac_01_func_80244984_805204 = 0x80244984; // type:func rom:0x805204 +mac_01_RhuffUnravelUpdate = 0x802449F8; // type:func rom:0x805278 +mac_01_gfx_build_rowf_rug_with_ripples = 0x80244B98; // type:func rom:0x805418 +mac_01_RevealRowfBadges = 0x80244CC0; // type:func rom:0x805540 +mac_01_func_80244D68_8055E8 = 0x80244D68; // type:func rom:0x8055E8 +mac_01_func_80244E10_805690 = 0x80244E10; // type:func rom:0x805690 +mac_01_func_80244E90_805710 = 0x80244E90; // type:func rom:0x805710 +mac_01_func_80244F5C_8057DC = 0x80244F5C; // type:func rom:0x8057DC +mac_01_func_80245018_805898 = 0x80245018; // type:func rom:0x805898 +mac_01_func_80245028_8058A8 = 0x80245028; // type:func rom:0x8058A8 +mac_01_func_8024522C_805AAC = 0x8024522C; // type:func rom:0x805AAC +mac_01_func_80245440_805CC0 = 0x80245440; // type:func rom:0x805CC0 +mac_01_SetFlowerGateGlowAlpha = 0x80245488; // type:func rom:0x805D08 +mac_01_gfx_build_flower_gate_glow = 0x802454B4; // type:func rom:0x805D34 +mac_01_SetPartnerTetherClose = 0x80245504; // type:func rom:0x805D84 +mac_01_ResetPartnerTetherDist = 0x8024552C; // type:func rom:0x805DAC mac_01_PatrolAI_MoveInit = 0x80245550; // type:func rom:0x805DD0 dup_mac_01_PatrolAI_Move = 0x802456A8; // type:func rom:0x805F28 mac_01_PatrolAI_LoiterInit = 0x80245950; // type:func rom:0x8061D0 @@ -15304,12 +15304,15 @@ mac_01_ItemChoice_HasSelectedItem = 0x8024D944; // type:data rom:0x80E1C4 mac_01_ItemChoice_SelectedItemID = 0x8024D948; // type:data rom:0x80E1C8 D_80256ADC_81735C = 0x80256ADC; // type:data rom:0x81735C D_80256AEC_81736C = 0x80256AEC; // type:data rom:0x81736C -D_80258404_818C84 = 0x80258404; // type:data rom:0x818C84 +FlowerGatePrimAlpha = 0x80258404; // type:data rom:0x818C84 D_80258407_818C87 = 0x80258407; // type:data rom:0x818C87 D_802626E0_822F60 = 0x802626E0; // type:data rom:0x822F60 D_802626E8_822F68 = 0x802626E8; // type:data rom:0x822F68 D_80262890_823110 = 0x80262890; // type:data rom:0x823110 D_80262898_823118 = 0x80262898; // type:data rom:0x823118 +mac_01_toad_house_blanket_vtx = 0x8024B590; // segment:mac_01 type:data rom:0x80BE10 size:0x15E0 +mac_01_toad_house_blanket_gfx = 0x8024CB70; // segment:mac_01 type:data rom:0x80D3F0 +mac_01_toad_house_blanket_img = 0x8024CCD8; // segment:mac_01 type:data rom:0x80D558 mac_02_Pipe_SetAnimFlag = 0x80240000; // type:func rom:0x8232C0 mac_02_Pipe_GetCurrentFloor = 0x80240020; // type:func rom:0x8232E0 mac_02_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0x8232F4 @@ -15577,7 +15580,7 @@ mac_05_LetterDelivery_Init = 0x802427A4; // type:func rom:0x854914 mac_05_LetterDelivery_CalcLetterPos = 0x80242894; // type:func rom:0x854A04 mac_05_LetterDelivery_SaveNpcAnim = 0x80242A20; // type:func rom:0x854B90 mac_05_LetterDelivery_RestoreNpcAnim = 0x80242A64; // type:func rom:0x854BD4 -func_80242A90_854C00 = 0x80242A90; // type:func rom:0x854C00 +mac_05_N(func_80242A90_854C00) = 0x80242A90; // type:func rom:0x854C00 mac_05_func_80242C78_854DE8 = 0x80242C78; // type:func rom:0x854DE8 mac_05_func_80242E84_854FF4 = 0x80242E84; // type:func rom:0x854FF4 mac_05_GetFloorCollider = 0x80243088; // type:func rom:0x8551F8 @@ -15597,7 +15600,7 @@ mac_05_UnkPlayerPosFunc = 0x80243AB8; // type:func rom:0x855C28 mac_05_CreateWhaleGeyser = 0x80243BA4; // type:func rom:0x855D14 mac_05_SetWhaleGeyserPos = 0x80243CD4; // type:func rom:0x855E44 mac_05_DisposeWhaleGeyser = 0x80243D78; // type:func rom:0x855EE8 -func_80243DB0_855F20 = 0x80243DB0; // type:func rom:0x855F20 +mac_05_hsl_to_rgb = 0x80243DB0; // type:func rom:0x855F20 mac_05_gfx_build_club_64 = 0x80243F0C; // type:func rom:0x85607C mac_05_varStash = 0x802450B0; // type:data rom:0x857220 mac_05_Quizmo_Answers = 0x80245114; // type:data rom:0x857284 @@ -16152,7 +16155,7 @@ D_80257F10_8C7F80 = 0x80257F10; // type:data rom:0x8C7F80 kmr_03_ChangeNpcToPartner = 0x80240000; // type:func rom:0x8C7F90 kmr_03_CheckPartnerFlags1000 = 0x80240184; // type:func rom:0x8C8114 kmr_03_func_802401B0_8C8140 = 0x802401B0; // type:func rom:0x8C8140 -kmr_03_UnkPositionFunc = 0x80240218; // type:func rom:0x8C81A8 +kmr_03_CheckPositionRelativeToPlane = 0x80240218; // type:func rom:0x8C81A8 kmr_03_UnsetCamera0MoveFlag1 = 0x80240320; // type:func rom:0x8C82B0 kmr_03_SetCamera0MoveFlag1 = 0x8024033C; // type:func rom:0x8C82CC func_80240358_8C82E8 = 0x80240358; // type:func rom:0x8C82E8 @@ -19169,13 +19172,13 @@ kkj_25_UnkLightningFXFunc = 0x802400AC; // type:func rom:0xB06AAC kkj_25_SetEntityPositionF = 0x802400FC; // type:func rom:0xB06AFC kkj_25_GetEntityPosition = 0x802401C4; // type:func rom:0xB06BC4 func_80240264_B06C64 = 0x80240264; // type:func rom:0xB06C64 -func_80240310_B06D10 = 0x80240310; // type:func rom:0xB06D10 -func_802406EC_B070EC = 0x802406EC; // type:func rom:0xB070EC -func_80240800_B07200 = 0x80240800; // type:func rom:0xB07200 -func_8024086C_B0726C = 0x8024086C; // type:func rom:0xB0726C -func_8024092C_B0732C = 0x8024092C; // type:func rom:0xB0732C -func_802409EC_B073EC = 0x802409EC; // type:func rom:0xB073EC -func_80240AAC_B074AC = 0x80240AAC; // type:func rom:0xB074AC +kkj_25_gfx_build_knocked_down_player = 0x80240310; // type:func rom:0xB06D10 +kkj_25_KnockDownPlayerB = 0x802406EC; // type:func rom:0xB070EC +kkj_25_KnockDownPlayerC = 0x80240800; // type:func rom:0xB07200 +kkj_25_KnockDownPlayerD = 0x8024086C; // type:func rom:0xB0726C +kkj_25_KnockDownPlayerE = 0x8024092C; // type:func rom:0xB0732C +kkj_25_KnockDownPlayerF = 0x802409EC; // type:func rom:0xB073EC +kkj_25_KnockDownPlayerG = 0x80240AAC; // type:func rom:0xB074AC func_80240B18_B07518 = 0x80240B18; // type:func rom:0xB07518 func_80240B8C_B0758C = 0x80240B8C; // type:func rom:0xB0758C func_80240BA0_B075A0 = 0x80240BA0; // type:func rom:0xB075A0 @@ -20030,14 +20033,14 @@ D_80243098_BD1C88 = 0x80243098; // type:data rom:0xBD1C88 D_802430A0_BD1C90 = 0x802430A0; // type:data rom:0xBD1C90 D_802430B0_BD1CA0 = 0x802430B0; // type:data rom:0xBD1CA0 D_802430C0_BD1CB0 = 0x802430C0; // type:data rom:0xBD1CB0 -func_80240000_BD3870 = 0x80240000; // type:func rom:0xBD3870 -func_802403DC_BD3C4C = 0x802403DC; // type:func rom:0xBD3C4C -func_802404F0_BD3D60 = 0x802404F0; // type:func rom:0xBD3D60 -func_8024055C_BD3DCC = 0x8024055C; // type:func rom:0xBD3DCC -func_8024061C_BD3E8C = 0x8024061C; // type:func rom:0xBD3E8C -func_802406DC_BD3F4C = 0x802406DC; // type:func rom:0xBD3F4C -func_8024079C_BD400C = 0x8024079C; // type:func rom:0xBD400C -func_80240808_BD4078 = 0x80240808; // type:func rom:0xBD4078 +obk_08_gfx_build_knocked_down_player = 0x80240000; // type:func rom:0xBD3870 +obk_08_KnockDownPlayerB = 0x802403DC; // type:func rom:0xBD3C4C +obk_08_KnockDownPlayerC = 0x802404F0; // type:func rom:0xBD3D60 +obk_08_KnockDownPlayerD = 0x8024055C; // type:func rom:0xBD3DCC +obk_08_KnockDownPlayerE = 0x8024061C; // type:func rom:0xBD3E8C +obk_08_KnockDownPlayerF = 0x802406DC; // type:func rom:0xBD3F4C +obk_08_KnockDownPlayerG = 0x8024079C; // type:func rom:0xBD400C +obk_08_func_80240808_BD4078 = 0x80240808; // type:func rom:0xBD4078 func_80240840_BD40B0 = 0x80240840; // type:func rom:0xBD40B0 func_80240870_BD40E0 = 0x80240870; // type:func rom:0xBD40E0 func_802408A0_BD4110 = 0x802408A0; // type:func rom:0xBD4110