@gaialabs/iog-baserom 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/baserom/auto-use-items/CellKeysAutoUse.patch.asm +30 -0
  2. package/baserom/auto-use-items/CrystalBallAutoUse.patch.asm +131 -0
  3. package/baserom/auto-use-items/DiamondBlockAutoUse.patch.asm +50 -0
  4. package/baserom/auto-use-items/ElevatorKeyAutoUse.patch.asm +26 -0
  5. package/baserom/auto-use-items/GorgonFlowerAutoUse.patch.asm +153 -0
  6. package/baserom/auto-use-items/HieroglyphPuzzle.patch.asm +1187 -0
  7. package/baserom/auto-use-items/HopeStatueAutoUse.patch.asm +99 -0
  8. package/baserom/auto-use-items/IncanStatueAutoUse.patch.asm +75 -0
  9. package/baserom/auto-use-items/ItemUseStub.patch.asm +24 -0
  10. package/baserom/auto-use-items/MagicPowerAutoUse.patch.asm +55 -0
  11. package/baserom/auto-use-items/MeatAutoUse.patch.asm +33 -0
  12. package/baserom/auto-use-items/MushroomDropAutoUse.patch.asm +100 -0
  13. package/baserom/auto-use-items/PalaceKeyAutoUse.patch.asm +52 -0
  14. package/baserom/auto-use-items/PrisonKeyAutoUse.patch.asm +84 -0
  15. package/baserom/auto-use-items/PurificationStoneAutoUse.patch.asm +49 -0
  16. package/baserom/auto-use-items/RamaStatueAutoUse.patch.asm +100 -0
  17. package/baserom/auto-use-items/TearpotAutoUse.patch.asm +41 -0
  18. package/baserom/{spritemaps → boot-logo}/spm_boot_logos.sprite.asm +10 -0
  19. package/baserom/collectible-system/RelicMenu.patch.asm +250 -0
  20. package/baserom/collectible-system/key_item_core.asm +445 -0
  21. package/baserom/{patches → equipped-icon}/EquippedIcon.patch.asm +41 -24
  22. package/baserom/equipped-icon/ItemSwapping.patch.asm +99 -0
  23. package/baserom/{palettes → equipped-icon}/pal_item_exprite2.pal +0 -0
  24. package/baserom/{spritemaps → equipped-icon}/spm_sc02_main_characters.sprite.asm +10 -0
  25. package/baserom/equipped-icon/spriteset_aura.asm +131 -0
  26. package/baserom/equipped-icon/spriteset_dark_friar.asm +277 -0
  27. package/baserom/equipped-icon/spriteset_darkgaia_projectile.asm +233 -0
  28. package/baserom/fixes-tweaks/BCDHex.patch.asm +60 -0
  29. package/baserom/fixes-tweaks/HudRedesign.patch.asm +108 -0
  30. package/baserom/fixes-tweaks/NeilsFatherFix.patch.asm +26 -0
  31. package/baserom/fixes-tweaks/PyramidPortalExit.patch.asm +41 -0
  32. package/baserom/fixes-tweaks/SceneTitles.patch.asm +84 -0
  33. package/baserom/fixes-tweaks/ThankfulFlower.patch.asm +28 -0
  34. package/baserom/fixes-tweaks/Utils.patch.asm +111 -0
  35. package/baserom/{spritemaps → fixes-tweaks}/spm_goldship_sprites.sprite.asm +11 -0
  36. package/baserom/fonts/EnhancedOverworldText.patch.asm +44 -0
  37. package/baserom/fonts/EnhancedPrologueText.patch.asm +252 -0
  38. package/baserom/{graphics → fonts}/gfx_fonts.bin +0 -0
  39. package/baserom/fonts/gfx_overworld_font.bin +0 -0
  40. package/baserom/inventory/EnhancedSlotActor.patch.asm +50 -0
  41. package/baserom/inventory/InventoryCounters.patch.asm +407 -0
  42. package/baserom/inventory/InventoryManagement.patch.asm +390 -0
  43. package/baserom/kara-run/gfx_castle_sprites.bin +0 -0
  44. package/baserom/new-game-plus/NGPEpilogueSwitch.patch.asm +52 -0
  45. package/baserom/{patches → new-game-plus}/NewGamePlus.patch.asm +42 -23
  46. package/baserom/oakton/map_fr30.map +0 -0
  47. package/baserom/oakton/map_fr30_effect.map +0 -0
  48. package/baserom/options-menu/EnhancedInvItemPicker.patch.asm +130 -0
  49. package/baserom/options-menu/MinimalHudOption.patch.asm +109 -0
  50. package/baserom/options-menu/OptionsMenu.patch.asm +218 -0
  51. package/baserom/options-menu/TextSpeedOption.patch.asm +108 -0
  52. package/baserom/options-menu/options_input_remap.asm +373 -0
  53. package/baserom/options-menu/options_menu_core.asm +1221 -0
  54. package/baserom/patches/APUWaitFixes.patch.asm +30 -17
  55. package/baserom/patches/AccentMap.patch.asm +16 -5
  56. package/baserom/patches/MusicTransitions.patch.asm +41 -24
  57. package/baserom/player-input/MergeInputFlags.patch.asm +146 -0
  58. package/baserom/player-input/PlayerInput.patch.asm +51 -0
  59. package/baserom/red-jewels/AnnSparkle.patch.asm +28 -0
  60. package/baserom/red-jewels/ChestFlaggedHiddenRedJewel.patch.asm +50 -0
  61. package/baserom/red-jewels/FishermanRedJewel.patch.asm +55 -0
  62. package/baserom/red-jewels/LanceSparkle.patch.asm +38 -0
  63. package/baserom/red-jewels/RedJewelSparkle.patch.asm +49 -0
  64. package/baserom/red-jewels/SnakePanicSparkle.patch.asm +45 -0
  65. package/baserom/red-jewels/SparkleAlways.patch.asm.example +19 -0
  66. package/baserom/red-jewels/StoneGirlSparkle.patch.asm +26 -0
  67. package/baserom/red-jewels/TrappedSlaveSparkle.patch.asm +63 -0
  68. package/baserom/red-jewels/generic_sparkle.asm +57 -0
  69. package/baserom/run-button/RunButtonCore.patch.asm +89 -0
  70. package/baserom/run-button/RunButtonOption.patch.asm +50 -0
  71. package/baserom/{patches/BitmapPatch.patch.asm → scene-load/BitmapLoad.patch.asm} +27 -12
  72. package/baserom/scene-load/Cop51Decompress.patch.asm +98 -0
  73. package/baserom/scene-load/ExpriteLoader.patch.asm +82 -0
  74. package/baserom/scene-load/MapNameLookup.patch.asm +27 -0
  75. package/baserom/scene-load/MenuBGLoad.patch.asm +70 -0
  76. package/baserom/scene-load/SFXTable.patch.asm +92 -0
  77. package/baserom/scene-load/SceneMetaLoad.patch.asm +68 -0
  78. package/baserom/scene-load/SpritemapLoad.patch.asm +61 -0
  79. package/baserom/scene-load/TilemapLoad.patch.asm +109 -0
  80. package/baserom/scene-load/TilesetLoad.patch.asm +41 -0
  81. package/baserom/set_overworld.set +0 -0
  82. package/baserom/seths-jewel/SethsJewelGoldShip.patch.asm +22 -0
  83. package/baserom/seths-jewel/SethsJewelIcon.patch.asm +22 -0
  84. package/baserom/seths-jewel/SethsJewelItem.patch.asm +62 -0
  85. package/baserom/seths-jewel/SethsJewelSprites.patch.asm +49 -0
  86. package/baserom/{patches → sky-delivery}/SouthCapeDeliveryman.patch.asm +12 -3
  87. package/baserom/sky-delivery/WatermiaDeliveryman.patch.asm +15 -0
  88. package/dist/index.cjs +10159 -964
  89. package/dist/index.cjs.map +1 -1
  90. package/dist/index.d.cts +9 -1
  91. package/dist/index.d.cts.map +1 -1
  92. package/dist/index.d.mts +9 -1
  93. package/dist/index.d.mts.map +1 -1
  94. package/dist/index.mjs +10161 -967
  95. package/dist/index.mjs.map +1 -1
  96. package/package.json +10 -8
  97. package/baserom/asm/spriteset_aura.asm +0 -122
  98. package/baserom/asm/spriteset_dark_friar.asm +0 -268
  99. package/baserom/asm/spriteset_will_projectile.asm +0 -224
  100. package/baserom/patches/Cop51Patch.patch.asm +0 -81
  101. package/baserom/patches/DPShop.asm.old +0 -328
  102. package/baserom/patches/DeathWarp.asm.old +0 -174
  103. package/baserom/patches/ExpandedHealthBars.old +0 -203
  104. package/baserom/patches/ExpriteLoader.patch.asm +0 -66
  105. package/baserom/patches/GemShop.asm.old +0 -345
  106. package/baserom/patches/InventoryCounters.patch.asm +0 -292
  107. package/baserom/patches/InventoryManagement.patch.asm +0 -324
  108. package/baserom/patches/InventoryScript.asm.old +0 -319
  109. package/baserom/patches/ItemDictionary.asm.old +0 -86
  110. package/baserom/patches/ItemRewards.asm.old +0 -49
  111. package/baserom/patches/ItemSwapping.patch.asm +0 -80
  112. package/baserom/patches/MapNameLookup.patch.asm +0 -13
  113. package/baserom/patches/MenuBGPatch.patch.asm +0 -54
  114. package/baserom/patches/NGPEpilogueSwitch.patch.asm +0 -44
  115. package/baserom/patches/PixelConverter.patch.asm.old +0 -60
  116. package/baserom/patches/QuickScripts.asm.old +0 -210
  117. package/baserom/patches/RunButton.patch.asm +0 -79
  118. package/baserom/patches/SFXTable.patch.asm +0 -73
  119. package/baserom/patches/SceneLoadPatch.patch.asm +0 -52
  120. package/baserom/patches/SpritemapPatch.patch.asm +0 -45
  121. package/baserom/patches/Teleporter.patch.asm.old +0 -203
  122. package/baserom/patches/TilemapPatch.patch.asm +0 -94
  123. package/baserom/patches/TilesetPatch.patch.asm +0 -27
  124. package/baserom/patches/Utils.patch.asm +0 -414
  125. package/baserom/patches/WatermiaDeliveryman.patch.asm +0 -2
  126. /package/baserom/{graphics → boot-logo}/gfx_boot_exprite.raw.bin +0 -0
  127. /package/baserom/{graphics → boot-logo}/gfx_boot_logos.bin +0 -0
  128. /package/baserom/{palettes → boot-logo}/pal_boot_logos.pal +0 -0
  129. /package/baserom/{palettes → equipped-icon}/fx_palette_198000.pal +0 -0
  130. /package/baserom/{graphics → equipped-icon}/gfx_item_exprite.raw.bin +0 -0
  131. /package/baserom/{graphics → equipped-icon}/misc_fx_1CD580.bin +0 -0
  132. /package/baserom/{palettes → equipped-icon}/pal_item_exprite.pal +0 -0
  133. /package/baserom/{palettes → equipped-icon}/pal_sc02_main_characters.pal +0 -0
  134. /package/baserom/{graphics → fonts}/gfx_credits_font.bin +0 -0
  135. /package/baserom/{graphics → inventory}/gfx_inventory_sprites.bin +0 -0
@@ -1,210 +0,0 @@
1
- ?BANK 08
2
-
3
-
4
- -----------------------------
5
-
6
- stairway_move_up:
7
- BEQ stairway_return
8
- DEC
9
- STA $0026, Y
10
- DEC $26
11
- BEQ stairway_return
12
- RTL
13
-
14
- stairway_move_down:
15
- BEQ stairway_return
16
- INC
17
- STA $0026, Y
18
- DEC $26
19
- BEQ stairway_return
20
- RTL
21
-
22
- stairway_return:
23
- JMP $C575
24
-
25
- ----------------------------
26
-
27
- ;Skip not equipped message
28
- 0384BF:
29
- RTS
30
-
31
- 03A126 #$0100 ;Plane crash delay
32
-
33
- 04B8E3 #30 ;Cave delay 1
34
- 04B8F6 #20 ;Cave delay 2
35
- 04B90C #80 ;Cave delay 3
36
- 04B919 #50 ;Cave delay 4
37
-
38
- 04B9AF `[DLG:3,6][SIZ:D,3]Suddenly Erik rushed in[N][LU1:F0]a desperate look[N]on his face.[CLD]`
39
-
40
-
41
- ;Skip flag checks for bread drop
42
- 04D234:
43
- BRA $0A
44
-
45
- 04D24A #$0100 ;Delay for bread drop
46
- 04D26E #$0100 ;Nightfall delay in cell
47
- 04D2D4 #$0080 ;Hamlet delay in cell
48
-
49
-
50
- 048AE9 `[DLG:3,6][SIZ:D,3][TPL:0]My name is Will.[FIN]A year has passed since[N]I [LU2:C1]to the Tower of[N]Babel [LU1:F0]my father.[FIN]My [LU2:67]and his party[N]met [LU1:F0]disaster.[FIN]Somehow, I [LU1:B3]it[N][LU1:73]to [LU1:47]Cape...[FIN]I [LU1:D3][LU1:78]believe[N]my [LU2:67]is gone.[N][LU1:1F][LU1:BB]believe it...[FIN][LU1:61]I grow up, I'll[N]be an [LU1:8A]and[N]see the world.[FIN]Somewhere, I [LU1:EF]meet[N]my father...[END]`
51
-
52
- 04D141 `[DEF][SFX:0][DLY:9][LU1:67][LU1:8F]a large,[N]yummy roast leg of yak![FIN][DEF][TPL:1][LU1:25][N]Everything's ready![N][LU1:2B]go [LU1:74]the[N][LU2:A2][LU1:90]us![PAL:0][END]`
53
-
54
- 04D732 `[DLG:3,11][SIZ:D,3]A familiar voice[N]speaks [LU1:8E]the flute.[FIN][TPL:E][TPL:4][LU2:E][N][LU1:3A][FIN][LU2:E][N]This is [LU1:FE]father.[END]`
55
- 04D78A `[TPL:E][TPL:0]Will: [N]Father...? [FIN][TPL:4][LU2:E]You were[N]a cute child, but now[N]you've grown up.[FIN]Isn't [LU1:17]Lola's[N]pie delicious?[FIN][TPL:0]Will: [N]Uh, sure, Dad![N][LU1:65]are you?![FIN][TPL:4][LU2:E][N]I [LU1:78][LU2:AD]you now...[FIN][TPL:F][TPL:4]I [LU1:98][LU1:C8]to ask[N]of [LU2:C7]Listen...[N][PAL:0] [LU1:6A]if [LU1:9F][LU1:FE]wish![N] No! You deserted me!`
56
- 04D87D `[CLD][TPL:F][TPL:4][CLR]Flute:[N]I [LU1:F1]you to[N][LU1:D1]me....[FIN]I, [LU2:B7]was once[N]held in [LU1:D6]cell.[N]Look at the[N][LU2:82]wall.[END]`
57
-
58
-
59
- ;04DB28: ;Free up cell door flag (02)
60
- ; COP [E0]
61
-
62
- ;04DB5D: ;Free up moss flag (03)
63
- ; COP [E0]
64
-
65
- ;04DBEC: ;Free up chain flag (04)
66
- ; COP [E0]
67
-
68
- 04F38D `[TPL:A][SFX:0][DLY:9][LU1:67]found[N]Incan [LU1:48]A.[PAU:B0][END]`
69
- 04FAF9 `[DLG:3,6][SIZ:D,3][SFX:0][DLY:9][LU1:67]got[N]Incan [LU1:48]B![PAU:B0][END]`
70
-
71
- 0592A6 #40 ;Ship tremor delay 1
72
- 0592CF #40 ;Ship tremor delay 2
73
-
74
-
75
- 0592FF `[TPL:E][TPL:4]Lance: [N][LU1:62][LU1:9D]to Seth? [N][LU1:4B]happened! [FIN][TPL:3]Erik: [N]Eeeeeeeh!!! [N][LU1:1D]Seth!!... [FIN]A huge, enormous, giant [N][LU2:62]ran [LU1:A1]the ship![N]Sob... [FIN]Seth fell in the [N]water! Sob... [FIN]He was swallowed! [N]Gulp...Sob... [FIN][TPL:4]Lance: [N][LU1:62]was that?[PAL:0][END]`
76
-
77
-
78
- 0597C6 #$00B0 ;Raft day 1 delay
79
- 059AE5 #$9B33 ;Raft skip health check
80
- 059B73 #20 ;Raft night delay
81
- 059C02 #$00B0 ;Raft shark delay
82
-
83
-
84
- 059F5A `[TPL:A][TPL:0]Will: Time passed [N]slowly, [LU1:F0][LU1:B9][N]to break the monotony. [FIN][LU1:26][LU1:A3]stared at [N]the [LU2:62]all day. [N]Will couldn't stand it. [FIN]He walked [LU1:6D]on [N]the raft and talked to [N][LU1:26][LU1:B6]times. [FIN]A minute [LU2:A0][LU1:A5][N]forever. But he [LU1:7A][N][LU1:9B]the march of time.[PAL:0][END]`
85
- 05A232 `[TPL:A][TPL:1][LU1:25][N]................ [FIN][TPL:0]Will: [LU1:26][LU1:83][N]say [LU1:6C]all day.[FIN]A typical princess...[N][LU2:33][LU1:CE]a bother...[PAL:0][END]`
86
- 05A332 `[TPL:A][TPL:1][LU1:25][N]............... [FIN]Will... [N][LU2:35]I talked to you [N][LU1:D7]way yesterday.... [FIN][LU1:1F]try to eat the fish.[N]I [LU1:78]do anything[N]if I starve.[FIN][LU1:38]in peace [LU1:DF]can[N]you refuse food you[N][LU1:82]like...[FIN][TPL:0]Will: [N][LU1:2B]catch a fish. [N]A [LU1:94]one.[PAL:0][END]`
87
- 05A405 `[TPL:A][TPL:0]Will: [N]Happily [LU1:26]ate [LU1:D0][N]fish. [FIN]Will [LU1:8F][LU1:D7]he was [N]starting to develop [N]feelings for Kara...[PAL:0][END]`
88
- 05A5AB `[TPL:A][TPL:0]Will: I [LU2:71]for [N][LU1:8B]safety, and [N]for my father...[PAL:0][END]`
89
- 05A9F9 `[TPL:A][TPL:0]Will: Suddenly Will[N]fell over,[N]unconscious... [FIN][TPL:1][LU1:25][N]Will! Will!! [N][LU1:64]wrong!! [FIN]Wake up!! Don't[N][LU1:AC]me [LU2:73]alone![PAL:0][END]`
90
-
91
- 05C85E `[TPL:B][TPL:4]Lance: [N][LU1:62]is [LU1:D6]place? [FIN][TPL:1][LU1:25][LU1:49]I [LU1:91][N]a [LU1:A7]homesick... [FIN][TPL:3]Erik: [N]I [LU1:91][LU1:A5]I'm [LU1:73]in [N]the womb.... [FIN][TPL:2][LU1:2A]Everything[N]that's [LU1:9D]and the[N][LU1:C1][LU1:20]met are[N]pouring [LU1:A1]my head...[FIN][TPL:4]Lance: I was [LU1:C5]in [N]the [LU1:E2]of [LU1:47]Cape. [FIN][LU1:61]my [LU2:67][N][LU1:83][LU1:79][LU1:73][N][LU1:8E]an expedition... [FIN]The [LU2:88]important [LU1:E3][N]in my [LU1:B0]was gone. I [N][LU1:83][LU1:A4][LU1:F7]to do. [FIN][TPL:1][LU1:25]I couldn't [N]stand my [LU2:67]using [N][LU2:A2]to invade [N][LU1:BD]countries. [FIN][LU1:1D]awful [LU1:F6]someone[N]loses [LU1:E1]life.[FIN][LU1:62]had [LU2:AF]years[N]to put together was[N][LU2:59]in one moment.[FIN][TPL:3]Erik: I [LU1:F9]if Seth [N]is all right...? [FIN][TPL:2][LU1:2A][LU1:3D][LU1:AF]on[N]because [LU2:AB]forget[N][LU1:6B]unpleasant things.[PAL:0][END]`
92
-
93
- 05E6C0 `[DEF][TPL:0]There's a tile buried[N]in the sand...[FIN][LU1:61]Will's Flute [N]touched it, [LU1:D9][N]was a rumbling sound![PAL:0][END]`
94
- 05E753 `[DEF][TPL:3]Erik: [N][LU2:15][LU1:4B][LU1:9C][N]is [LU1:81]down!![PAL:0][END]`
95
- 05E774 `[TPL:E][TPL:1][LU1:25][N]Will! Will! [N]Wi-i-i-i-i-i-l-l-l-l! [PAL:0][CLD]`
96
-
97
- 05EB4F `[DEF][TPL:6][LU1:36]Of course! [N]Cygnus has nine stars,[N]and [LU1:D9]are nine[N]stones... [FIN]`
98
-
99
- 05F160 `[DEF][TPL:2]Look! Look [LU1:F4]the[N]rocks are on the ground![FIN][LU1:5D]positioned like[N]the stars in the[N][LU1:7E]of Cygnus![PAL:0][END]`
100
-
101
-
102
- 0683C4 #00 ;Parachute delay
103
-
104
-
105
- 06B13C `[TPL:A][TPL:3]Erik: [N][LU1:30][LU1:9F]Riverson...? [FIN][TPL:1][LU1:25][N]Oh, no! [LU2:41][N]got to run!! [FIN][TPL:2]Lilly:[N]Run?[N]Run where?![PAL:0][END]`
106
- 06B250 `[TPL:A][TPL:5]This is Seth... [FIN][TPL:4]Lance: [N]Seth?!! [FIN][TPL:2]Lilly:[N]Shh. Quiet![N][LU2:23]continues. [FIN][TPL:5]I was swallowed by[N]Riverson...[FIN][LU1:61]I [LU1:80]to, the form[N]of my [LU1:72]had changed[N]to Riverson's.[FIN]This Riverson is a[N]creature who lives in[N]the ocean.[FIN]I [LU1:82]know[N]if [LU1:9F][LU1:9A]or not.[FIN]He [LU1:D4][LU1:D7]evolution[N]is [LU1:77]affected[N]by the [LU1:A8]of a comet.[FIN]I [LU1:FC]to continue[N]the journey [LU1:F0]you,[N]but not in [LU1:D6]body.[FIN]You [LU1:B2]figure [N]out [LU1:D6]riddle of the [N][LU1:7B]and the ruins...[PAL:0][END]`
107
-
108
-
109
- ;Watermia intro sequence
110
- 078009:
111
- COP [CC] ( #8D )
112
- COP [E0]
113
-
114
- 07944D `[DEF][SFX:10][TPL:4]Opponent:[N]One glass left...[WAI][CLD][DEF][TPL:6]Spectator:[N]That's enough...[N]This young man won...[FIN]Spectator:[N]Right![N][LU1:42]now![FIN][TPL:4]Opponent: No...[N]I'm the champion. I [N][LU1:EF]not be disgraced. [FIN][SFX:0][TPL:6]He picks up the glass.[END]`
115
- 079520 `[DEF][SFX:10][TPL:6]Spectator: Stop![N][LU1:67]already lost![N]Stop it!![FIN][SFX:0]Ignoring the spectator,[N]he downs the drink[N]in a shot.[PAL:0][END]`
116
-
117
-
118
- 079FB8 #80 ;Lily pad delay (bottom)
119
- 079FC7 #42 #04 ;Lily pad movement (frames, speed)
120
- 079FCE #42 #04 ;Lily pad movement (frames, speed)
121
- 079FE8 #60 ;Lily pad delay (top)
122
- 079FF7 #42 #03 ;Lily pad movement (frames, speed)
123
- 079FFE #42 #03 ;Lily pad movement (frames, speed)
124
-
125
- 07B7AE #$00C0 ;Great Wall cutscene delay
126
-
127
- 07B8AD `[TPL:A][TPL:4]Lance: [N]Oh. That [LU2:9D]. . . [FIN][TPL:0]Will: If you follow the [N][LU2:9D]chips, the trail [N]leads here.[FIN][LU1:1F][LU1:97][LU1:E6]back[N]to [LU2:C7][WAI][CLD]`
128
- 07B91A `[TPL:A][TPL:4][SFX:0]Lance whispers... [FIN]Lance: [N]Will...will you [LU1:E7][N][LU2:57]of [LU1:2C]for me? [END]`
129
- 07B960 `[TPL:A][TPL:4]Lance:[N]I was saved thanks[N]to [LU1:E4]stones...[FIN]This was the necklace [N]I [LU1:B3]for [LU2:C7][END]`
130
- 07B9B1 `[TPL:A][TPL:4]Lance: There aren't [LU1:B6][N]necklace stones left. [N]Will you [LU1:E7]them? [FIN][SFX:0][TPL:6]Lance, fixing the [N]necklace, puts it [N][LU1:6D]her neck. [END]`
131
- 07BA2E `[TPL:A][TPL:4]Lance: Wow!! [LU1:20][LU1:BB][N]felt [LU1:D6]way before![FIN][LU1:1D][LU1:A5]a million [N]summer days! [FIN][TPL:2]Lilly:[N](Sob).[N]I [LU1:91]the [LU1:CD]way.[FIN][LU1:2B]go [LU1:73]to the[N][LU2:BD]I'm sure[N][LU1:8B]worried.[END]`
132
- 07BBB0 `[TPL:A][TPL:4]Lance: Aaah... [WAI][CLD][TPL:A][TPL:2][LU1:2A][N]I [LU1:FA]run [LU1:D6]time. [FIN]This [LU1:9D]so [N]suddenly, I [LU1:83][LU1:A4][N][LU1:F7]to do... [FIN]I [LU1:82][LU1:F1]to show [N]my face now. [FIN]I'm crying[N][LU1:8E]happiness...[END]`
133
- 07BC42 `[TPL:A][TPL:2][LU1:2A][LU1:20][LU2:44]felt[N][LU1:D9]was something[N][LU1:86][LU1:6B]you.[FIN]Now I [LU1:91]I know[N][LU1:F7]the difference is.[FIN]I [LU1:F1]to [LU1:97]you[N]an answer...[END]`
134
- 07BCAA `[TPL:A][TPL:2]Lilly:[N]I love you, too.[FIN]I [LU1:F1]to be with[N]you forever...[END]`
135
-
136
-
137
- ;Euro intro sequence
138
- 07BE25:
139
- COP [E0]
140
-
141
-
142
- 07D5E1 #$0120 ;Market line delay
143
-
144
-
145
- 08BA11 `[TPL:9][TPL:4]Walk to the left[N][LU1:F8]a sound!![PAL:0][END]`
146
- 08BA7D `[TPL:A][TPL:4]Jackal: [N]I [LU1:A4]the whole [N]story of [LU1:FE]adventure. [FIN]I [LU1:99][LU1:6B]an[N][LU1:6F]bio-technology[N]using a [LU2:55]light. [FIN]I [LU1:83][LU1:A4]it was you.[FIN][LU2:40]the [LU1:C2]to change[N][LU1:72]shape, you could[N]get anything.[FIN][LU1:3D][LU1:F3]bow [N]at [LU1:FE]feet.[FIN][LU1:1D][LU2:89]natural that[N][LU1:27][LU1:11][LU1:F3][N]trick you [LU1:A1]this...[FIN][TPL:1][LU1:25][N]My father!!? [FIN][TPL:4]Jackal: [N]Yes! After all, that's [N]the way kings are. [FIN]He [LU1:F3]do [LU1:6C]to[N]get the power.[FIN]He might even be [LU1:B7][N]evil [LU2:B5]a mercenary [N][LU1:A5]me. Heh heh. [FIN][TPL:1][LU1:25][N]Stop it! [FIN][TPL:4]Jackal: [N]Either way, if I [LU2:84][N]money, [LU1:9F]fine. [FIN][LU1:9][LU1:F0]me to[N][LU1:11]Castle.[PAL:0][END]`
147
- 08BC55 `[TPL:A][TPL:0]A [LU1:EE]whispers [N]in Will's head... [FIN]Will... [LU2:27]the [N]Flute....Will....[PAL:0][END]`
148
- 08BCF2 `[TPL:9][TPL:4][DLY:0]Jackal: [N]Wa-a-a-a-ah!!!![PAL:0][CLD]`
149
- 08BD16 `[TPL:8][TPL:4][DLY:0]Kara...Kara...[PAL:0][CLD]`
150
- 08BE66 `[TPL:9][TPL:1][LU1:25][N]Will... [FIN]Why [LU1:B2]everyone[N]hate each other...?[FIN]I...[N]I...[PAL:0][END]`
151
- 08BEA9 `[TPL:A][TPL:1][LU1:25][N]I'm sorry... [N]I got upset... [FIN]You are doing [LU1:FE][N][LU2:4D]to [LU1:D1]the world.[FIN]At [LU2:61]I [LU1:A3]wanted[N]to [LU1:90]my father...[FIN]But somehow it got[N]to be a trial.....[FIN]But me.[N]I [LU1:82]regret coming[N]on [LU1:D6]journey...[FIN][LU1:2B]go and [N][LU1:90]the fifth [N]Mystic Statue...[PAL:0][END]`
152
- 08BFC7 `[TPL:A]I [LU1:99]a [LU1:EE][LU1:8E]the[N]Flute! [FIN]The [LU1:CD][LU1:EE]I[N][LU1:99]in the prison[N]at [LU1:11]Castle...[FIN][TPL:4][LU2:E][N]Will. [LU1:67]done well to [N][LU1:98][LU1:79][LU1:D6]far. [FIN][TPL:0]Will: [N]Father?! [FIN][TPL:4]Flute:[N]I'm at the Tower now.[FIN]Bring the five Mystic [N]Statues to the Tower. [FIN]The [LU1:D2]you've [N]collected hold the key [N]to the [LU2:6B]of humanity. [FIN]Will..Hurry...The comet[N]is approaching. [FIN][PAL:0][SFX:0]The [LU1:EE]of the Flute[N]quiets and disappears.[PAL:0][END]`
153
-
154
-
155
- 08C561:
156
- JMP stairway_move_up
157
-
158
- 08C572:
159
- JMP stairway_move_down
160
-
161
-
162
- ;Remove rest option from save
163
- 08DBCE:
164
- BRA $88DBDE
165
-
166
- 08DDFE `[CLR]Finished recording...[END]`
167
- 08EB68 `[DEF][DLY:9][ADR:EB8F,AAC][N]can now be used![PAU:60][FIN]`
168
- 08EB85 `[DEF][CLR][ADR:EBD3,AAC][END]`
169
-
170
- 0981F4 `[TPL:A][TPL:6][LU1:36][LU2:3E]be [LU1:D9][N]soon, Will.[FIN]Say hello to [N][LU1:FE][LU2:67]for me. [FIN][TPL:0]Will: Thanks. [N]I [LU1:A4]you [LU1:EF][LU2:84][N]a [LU1:95]president. [FIN][TPL:3]Erik: Aaah. [N]I [LU2:6E]I [LU1:FA]see you [N]for a [LU1:A6]time. [FIN][LU1:61]you've finished[N][LU1:FE]business, hurry[N][LU1:73]to [LU1:47]Cape.[FIN][TPL:0]Will: Thank [LU2:C7]I'm [N]glad we all [LU1:B3]the [N]trip together. [FIN][TPL:3]Erik: [N]On [LU1:D6]trip, [LU1:89][N][LU1:8F]something. [FIN]Lance met [LU1:2C]and [N][LU1:8F]his [LU2:7A]father. [FIN][LU2:23]decided to [N][LU1:E7][LU1:BE]his [N]parents' company. [FIN][LU1:26][LU1:CB]to [LU2:95][N]live, and saw a [LU1:F5][N][LU1:BF]the castle. [FIN]I'm [LU1:93]to excuse [N]myself.[FIN]Finally, I can go [N]to the bathroom by [N]myself at night! [FIN][TPL:6][LU1:36][N]Ha ha ha. [LU1:24][LU1:A5]Erik. [FIN][LU1:26]hasn't [LU1:D4][N][LU1:6C]for a while. [FIN]I [LU1:FA]see Will for a [N][LU1:A6]time. [LU1:1F]say [N]goodbye to him. [FIN][TPL:1][LU1:25][N]Hmmm. Right...[FIN][TPL:6][LU1:36][N][LU2:41]reached the [N]Tower of Babel. [FIN]OK, Will. [N]Is [LU1:FE]parachute ready? [N][LU1:2B]go.[PAL:0][END]`
171
- 0984B1 `[TPL:A][TPL:0]I jumped out [LU1:BE]the[N]Tower of Babel.[FIN]I hadn't [LU1:70][LU1:D9][N]in a year and a half...[PAL:0][CLD]`
172
-
173
- 098903 `[TPL:9][TPL:0][SFX:0]One worn-out [LU1:72]is[N]quietly laid down...[FIN]In his head, a familiar [N][LU1:EE]speaks. [FIN][TPL:4][SFX:10]Will. [LU1:1D]me, [N]Olman, [LU1:FE]father. [FIN]My [LU1:72]has decayed, but[N]I [LU1:AF]on [LU1:A5]this...[PAL:0][END]`
174
- 0989A2 `[TPL:B][TPL:0]Will: Father![N]Why are you in that[N]form!!![FIN][TPL:4]There's a [LU1:C7]room[N]in the Tower of Babel,[N]filled [LU1:F0]the light[N]of the comet.[FIN]Time goes so fast there[N][LU1:D7][LU1:C1]evolve[N][LU1:ED]quickly...[FIN][TPL:0]Will: [N]Why are [LU1:26]and I [N]able to live?! [FIN][TPL:4]Will's father: [N]Because you two are [N]evolved humans. [FIN][TPL:1][LU1:25][N]Us...? [FIN][TPL:4]Will's father: Long ago [N][LU1:D9]existed biological [N]technology using the [N][LU1:A8]of the comet. [FIN][LU1:3D]freely [LU2:BB]the[N][LU1:C2]to make[N]plants and animals.[FIN]For example, [LU2:AB][LU1:B3][N]the camel. It can go [N]for [LU1:A6]periods [N][LU1:F8]food or water. [FIN][LU1:61][LU1:C1]realized the[N][LU1:C2][LU1:7A]be [LU2:BB]as[N]a weapon,[N][LU1:87][LU1:F2]developed.[FIN]The [LU1:F5]was on the[N]brink of ruin...[FIN]At [LU1:D7]time, the Knights [N]of Darkness and Light [N][LU1:F2]developed to decide [N]the [LU2:6B]of humanity. [FIN]They are [LU1:FE]ancestors.[FIN]The six Mystic Statues[N][LU1:F2][LU1:B3]by the[N]Knights.[FIN]The [LU2:79]Mystic [LU1:48][N]is entrusted to [LU2:C7][END]`
175
- 098CAA `[TPL:B][TPL:4][LU2:38]the [LU1:7B][LU1:EF][N]be [LU1:ED]close.[FIN]By then, the two of you [N][LU1:B2]go to the roof [N]of the tower. [N]Close [LU1:FE]eyes....[END]`
176
-
177
- 098E17 `[DEF][TPL:0][LU1:61]Will and [LU1:26][N]joined and became one [N][LU1:F0]the Light Knight, a [N][LU1:95][LU1:C2]was born... [FIN]The Knights [LU1:F2][LU1:75][N]forth. The [LU1:C]Knight's [N]ultimate power, the [N][LU2:10]was released![PAL:0][END]`
178
- 098EB8 `[TPL:D][TPL:4][LU1:68]battle [LU1:EF]change[N]the [LU2:6B]of humanity.[FIN]Now you [LU1:B2]go[N]to the comet!![PAL:0][END]`
179
-
180
- 099068 `[TPL:F][TPL:4]Will's father: [N]The ancients worshipped [N]the [LU1:7B]as a spirit. [FIN]Those who bathed in [N]the [LU2:55][LU1:A8][LU1:F2][N]given a [LU1:C7]power. [FIN]The [LU1:7B]is [LU2:54]a [N]spirit. But [LU1:9F][N]an unwelcome spirit. [FIN]Evolving too fast[N]brings destruction...[FIN]As [LU1:A6]as people[N][LU1:98]evil hearts,[N][LU1:87][LU1:EF]be born.[FIN]Will, open [LU1:FE][LU2:60][N]and [LU1:A9]around. [END]`
181
- 0991A9 `[TPL:F][TPL:4]Will's father: At [LU2:79][N]the [LU1:DF]is near. [FIN]Everyone. [N]Give Will [LU1:FE]power![PAL:0][END]`
182
-
183
- 099F2A `[TPL:B][TPL:0]Will: [N]Kara!!!? [FIN][TPL:1][LU1:25]I'm sorry. [N]I [LU1:A3][LU1:91]that, if [N]we part now, we'll [N][LU1:BB][LU2:87]again... [FIN][TPL:0]Will: [N]But Kara, why [LU1:98]you [N][LU1:79]here? [FIN]You [LU1:78][LU1:79]here[N]unless you [LU1:98]the[N][LU1:7]Ring...[FIN][TPL:1][LU1:25]Could [LU1:D7][N]be the ring... [N][LU2:7]you [LU1:90]it [N]in the Incan [LU1:19]Ship? [FIN][TPL:0]This [LU1:7]Ring is[N][LU2:5C]blue...[FIN]The ring you [LU1:98]is[N][LU1:A8]blue...[FIN]A [LU1:A8]one[N]and a [LU2:5C]one...[FIN]Will: I understand.. [N]No [LU1:B8][LU1:F7]happens, [N][LU1:82][LU1:AC]me.[PAL:0][END]`
184
-
185
-
186
- 0B81D6 #0F ;Worm delay 1
187
- 0B81DC #0F ;Worm delay 2
188
- 0B8202 #1F ;Worm delay 3
189
- 0B8244 #1B ;Worm delay 4
190
- 0B8282 #13 ;Worm delay 5
191
- 0B82AF #11 ;Worm delay 6
192
- 0B82D0 #13 ;Worm delay 7
193
- 0B82F8 #11 ;Worm delay 8
194
- 0B82D0 #13 ;Worm delay 7
195
- 0B84EC #1B ;Worm delay 9
196
-
197
- 0BD558 `[DLG:3,4][SIZ:D,3][SFX:0][TPL:13][SFX:0][DLY:0][LU1:25][N][LU1:64][LU1:9D]to [N]the comet...? [CLR]That glowing[N]green planet?[CLD]`
198
- 0BD5A0 `[DLG:3,4][SIZ:D,3][TPL:15][SFX:0][DLY:0]Will's father: [N]The [LU2:55][LU1:C2][N]has disappeared. [CLR]The evil star has flown[N]off to the [LU1:BD]side[N]of the universe...[CLR][TPL:15][SFX:0]Will. [N]Do you [LU1:A4]what[N]planet [LU1:D7]is, glowing[N][LU1:D9]in the darkness?[CLR][TPL:12][SFX:0]Will: [N]Our Earth...?[CLR][TPL:15][SFX:0]Will's father: [N]That's [LU2:99]Our Earth.[N][CLR]Doesn't it [LU1:A9][LU1:A5]a[N]desert oasis?[CLR][TPL:13][SFX:0][LU1:25][N][LU1:1D][LU1:BB][LU2:A0][N]so beautiful.[CLR]But it [LU1:AA]lonely[N]shining in the dark...[CLD]`
199
- 0BD70E `[DLG:3,4][SIZ:D,2][SFX:0][DLY:0][TPL:14][SFX:0][LU1:46]Voice: Yes.[N]The [LU1:F5]is awakened.[CLD]`
200
- 0BD740 `[DLG:3,4][SIZ:D,3][SFX:0][DLY:0][CLR][TPL:12][SFX:0]Will: [N]Mother?![CLR][TPL:14][SFX:0]Will's mother:[N]The Earth.[N]A [LU2:85][LU1:F0]millions [N]of children.[CLR]I'm [LU2:A6]you [LU1:DA][N][LU1:6B]us sometimes, [N]and [LU1:26]often [N]thinks [LU1:6B]her parents.[CLR]The [LU1:14]is the same[N]way. She [LU2:6D]lonely if[N]her [LU1:7D]forget[N][LU1:6B]her.[CLR][TPL:15][SFX:0]Will's father: How is it,[N]you two? [N][LU2:1A]at the world[N]you [LU1:AF]in from[N]the outside?[CLR][TPL:13][SFX:0][LU1:25][N][LU1:1D]as if we'd [N][LU1:71]spirits...[CLR][TPL:12][SFX:0]Will: I [LU1:F1]to show [N]all of our group...[CLR]No, I [LU1:F1]to show[N][LU1:89]in the world...[CLR][TPL:15][SFX:0]Will's father: Someday [N][LU1:C1][LU1:EF]build ships [N]to travel the universe.[CLR]Then [LU2:AB][LU1:EF]see[N][LU1:D6]green [LU1:14]with[N][LU1:E1]own eyes.[CLR]See how lonely the[N][LU1:14]looks, [LU1:A3]like[N]the two of you.[CLR]Will's father: Look [N]carefully at [LU1:FE][N]map of the world.[CLR][TPL:12][SFX:0]Will:[N]Ah! The map has started[N]to change![CLD]`
201
- 0BD9FA `[DLG:3,4][SIZ:D,3][SFX:0][DLY:0][CLR][TPL:12][SFX:0]Will: [N]Why do you two [N][LU1:A4]the future?[CLR][TPL:15][SFX:0]Will's father: [N][LU1:61]I [LU2:7A]my body, I [N][LU1:CB]seeing everything.[CLR]The past. The future. [N]Humanity's progress.[CLR][LU1:30][LU1:C1]would[N]call [LU1:D6]kind of body[N]a spirit.[CLR][TPL:14][SFX:0]Will's mother:[N]Now you and [LU1:26]can [N][LU1:71]ordinary [N][LU1:7D]again.[CLR][LU1:D]be afraid.[CLR][TPL:13][SFX:0][LU1:25][LU1:61]we [N]return to Earth, [LU1:EF][N]we be separated?[CLR][TPL:15][SFX:0]Will's father: Yes... [N]The [LU1:F5]is changing. [N]Humanity and history, [N][LU1:98][LU1:CB]down a [N]new path.[CLR]You two [LU1:D8][N][LU1:B9]of it [LU1:F6]you [N]met each [LU1:BD]in [N][LU1:47]Cape. [CLR]But [LU1:F6]the Earth[N]needed the Light and[N][LU1:C]Knights, you[N]met again unexpectedly.[CLR][LU1:2B][LU1:A9]at the world[N][LU1:74]the [LU1:C2]of the[N][LU1:7B]is extinguished.[CLR][TPL:14][SFX:0]Will's mother: [N]We [LU2:71]you two [N][LU1:98]a bright future...[CLD]`
202
- 0BDC95 `[DLG:3,4][SIZ:D,3][SFX:0][DLY:0][TPL:13][SFX:0][LU1:25]Will... [N][LU1:9]here....[N][LU2:37]me [LU1:FE]face...[CLR]I [LU1:F1]to burn you[N][LU1:A1]my memory.[CLR][LU1:68][LU2:60][LU1:68]nose [N][LU1:68]mouth [LU1:68]hair [N][LU1:68][LU1:EE][N]The warmth of[N][LU1:FE]hand....[CLD]`
203
- 0BDD34 `[DLG:3,4][SIZ:D,3][SFX:0][DLY:0][TPL:12][SFX:0]Will: [LU1:D]worry. [N]I [LU1:EF]search you out.[CLR]No [LU1:B8]how long[N]it takes.[N]Hundreds of years...[N]Thousands of years...[N]I [LU1:EF][LU1:79]to you.[CLR]So [LU1:E7]care...[N]Close [LU1:FE]eyes...[CLD]`
204
- 0BDDE5 `[DLG:3,4][SIZ:D,3][SFX:0][DLY:0][TPL:13][SFX:0][LU1:25][N]Will....[CLD]`
205
- 0BDE02 `[DLG:3,4][SIZ:D,3][SFX:0][DLY:0][TPL:12][SFX:0]Will: [N][LU1:2B]go. [N]To Earth....[CLR][TPL:13][SFX:0][LU1:25][N]Mmmm....[CLD]`
206
- 0BDED4 `[DLG:3,13][SIZ:D,3][SFX:0][TPL:0][SFX:0][DLY:0]Will: [N][LU1:49]the land [N]has [LU2:AF]on [N]a [LU1:C7]shape.[CLR][TPL:4][SFX:0]Will's father: [N]That's the new world.[CLR][TPL:1][SFX:0][LU1:25][N]New world?[CLR][TPL:4][SFX:0]Will's father: The path [N]of evolution, [LU1:7F][N]by the comet, has [N]continued [LU2:BC]now.[CLR]The Earth, too,[N]has a life.[N]It, [LU2:B7]has evolved and[N][LU1:7F]its shape.[CLR]Now [LU1:D7]the [LU1:7B]has[N]no influence on the[N]world, [LU1:9F][LU2:96]to[N]its [LU1:C0]condition.[CLD]`
207
-
208
- 0BE05A #$0000 ;Ending sunset delay
209
-
210
- 0BE075 `[DEF][SFX:0][DLY:0]The [LU2:B][LU1:A9]had[N]changed, but, glowing[N]in the sky, it was[N]as [LU1:76]as ever.[CLR]Buildings replaced the [N]forests, rivers became [N]roads, but the villages [N]held [LU2:89]smiling faces.[CLR]But the [LU1:14]was[N]the [LU2:89]one[N][LU1:D7][LU2:80]sad.[CLR]Tomorrow morning [N][LU1:26]and I [LU1:EF]start [N]our new lives.[CLR]The Tower of Babel[N][LU1:D5]tall, as if it[N]knows the whole future[N]of the Earth...[CLD]`
@@ -1,79 +0,0 @@
1
- ?BANK 03
2
-
3
- ?INCLUDE 'sFA_diary_menu'
4
-
5
- ---------------------------------
6
-
7
- run_button_main:
8
- LDA $09AA
9
- BEQ run_button_end ;Skip if player has no actor
10
- LDA $09B2
11
- BNE run_button_end ;Skip if running already
12
- LDA $09B4
13
- BNE run_button_end ;Skip if running already
14
- LDA $09AE
15
- BIT #$3800
16
- BNE run_button_end ;Skip if movement is disabled or on a ladder or ramp
17
- LDA $0656
18
- BIT #$0080
19
- BEQ run_button_end ;Skip if not pressing (A/Y)
20
- XBA
21
- LSR
22
- BCS run_button_e
23
- LSR
24
- BCS run_button_w
25
- LSR
26
- BCS run_button_s
27
- LSR
28
- BCS run_button_n
29
-
30
- ;Skip if not pressing a direction
31
- run_button_end:
32
- RTL
33
-
34
- run_button_n:
35
- LDA #$FFFD
36
- BRA run_store_ns
37
-
38
- run_button_s:
39
- LDA #$0003
40
-
41
- run_store_ns:
42
- STA $09B4
43
- STZ $09B8 ;Reset brake counter
44
- RTL
45
-
46
- run_button_w:
47
- LDA #$FFFD
48
- BRA run_store_ew
49
-
50
- run_button_e:
51
- LDA #$0003
52
-
53
- run_store_ew:
54
- STA $09B2
55
- STZ $09B8 ;Reset brake counter
56
- RTL
57
-
58
- --------------------------------------
59
-
60
- ;Fix Y button mapping for style 1
61
- loc_0BE695! {
62
- LDA #$0040
63
- STA $0DB0
64
- LDA $0B26
65
- BNE loc_0BE6B3
66
- LDA #$8000
67
- STA $0DAC
68
- LDA #$4000
69
- STA $0DAA
70
- LDA #$0080 ;This
71
- STA $0DAE
72
- }
73
-
74
- loc_0BE6B3! {
75
- RTS
76
- }
77
-
78
- dialogstring_0BF538! `[DLG:6,8][SIZ:A,8][SKP:2]Change Snd/Buttons[N]End Changes[N]Sound[N][LU2:2]Type[N][SKP:5] :Attack/Talk[N][SKP:5] :Item/Cancel[N][SKP:5] :Item Menu[N][SKP:5] :Sprint`
79
- dialogstring_0BF5AD! `[DLG:6,8][SIZ:A,8]Arrangement OK?[N]Start Journey[N]Sound[N][LU2:2]Type[N][SKP:5] :Attack/Talk[N][SKP:5] :Item/Cancel[N][SKP:5] :Item Menu[N][SKP:5] :Sprint`
@@ -1,73 +0,0 @@
1
- ?BANK 02
2
-
3
- ?INCLUDE 'chunk_028000'
4
-
5
- !SAMPLE_NUM $2A
6
- !SAMPLE_SIZE $2C
7
- !SPC_CMD $30
8
- !SAMPLE_PTR $4A
9
-
10
- --------------------------------------
11
-
12
- sfx_table:
13
- #@sfx00 #@sfx01 #@sfx02 #@sfx03 #@sfx04 #@sfx05 #@sfx06 #@sfx07
14
- #@sfx08 #@sfx09 #@sfx0A #@sfx0B #@sfx0C #@sfx0D #@sfx0E #@sfx0F
15
- #@sfx10 #@sfx11 #@sfx12 #@sfx13 #@sfx14 #@sfx15 #@sfx16 #@sfx17
16
- #@sfx18 #@sfx19 #@sfx1A #@sfx1B #@sfx1C #@sfx1D #@sfx1E #@sfx1F
17
- #@sfx20 #@sfx21 #@sfx22 #@sfx23 #@sfx24 #@sfx25 #@sfx26 #@sfx27
18
- #@sfx28 #@sfx29 #@sfx2A #@sfx2B #@sfx2C #@sfx2D #@sfx2E #@sfx2F
19
- #@sfx30 #@sfx31 #@sfx32 #@sfx33 #@sfx34 #@sfx35 #@sfx36 #@sfx37
20
- #@sfx38 #@sfx39 #@sfx3A #@sfx3B
21
-
22
-
23
- code_0290C9!:
24
- ;REP #$20
25
- LDX #&sfx_table
26
- STX SAMPLE_PTR
27
- SEP #$20
28
- LDA #^sfx_table
29
- STA SAMPLE_PTR+2
30
- LDY $32
31
- LDA [$46], Y
32
- INY
33
- STY $32
34
- STA SAMPLE_NUM
35
- STZ SAMPLE_NUM+1
36
- BIT #$80
37
- BEQ loc_0290E8
38
- JMP $&code_029153
39
-
40
- loc_0290F1!:
41
- LDA SAMPLE_NUM
42
- ASL
43
- CLC
44
- ADC SAMPLE_NUM
45
- TAY
46
- LDA [SAMPLE_PTR], Y
47
- TAX
48
- INY
49
- INY
50
- SEP #$20
51
- LDA [SAMPLE_PTR], Y
52
- STA SAMPLE_PTR+2
53
- REP #$20
54
- STZ SAMPLE_PTR
55
- TXY
56
- LDA [SAMPLE_PTR], Y
57
- STA SAMPLE_SIZE
58
- STA $34 -- ??
59
- INY
60
- INY
61
- SEP #$20
62
- LDA SPC_CMD
63
- BRA loc_029160
64
-
65
- loc_02911D!:
66
- LDA [SAMPLE_PTR], Y
67
- INY
68
-
69
- loc_02912C!:
70
- XBA
71
- LDA [SAMPLE_PTR], Y
72
- INY
73
-
@@ -1,52 +0,0 @@
1
- ?BANK 02
2
-
3
- ?INCLUDE 'scene_script'
4
- ?INCLUDE 'scene_meta'
5
-
6
- !scene_current 0644
7
-
8
- ----------------------------------------
9
-
10
- FindCurrentScene! {
11
- REP #$20
12
- LDA $scene_current
13
- ASL
14
- TAY
15
- LDA [$3A], Y
16
- SEC
17
- SBC $3A
18
- TAY
19
- SEP #$20
20
- RTS
21
-
22
- loc_028CF5!:
23
- loc_028CFF!:
24
- loc_028D34!:
25
- loc_028D35!:
26
- loc_028D36!:
27
- loc_028D37!:
28
- loc_028D38!:
29
- loc_028D39!:
30
- loc_028D3A!:
31
- }
32
-
33
- -----------------------------------------
34
- ;Utilize the new label jump table
35
-
36
- SkipScriptCommands! {
37
- JSR $&ReadScriptByte
38
- REP #$20
39
- ASL
40
- TAX
41
- LDA $@meta_label_list, X
42
- SEC
43
- SBC $3A
44
- TAY
45
- SEP #$20
46
- RTS
47
-
48
- loc_028D44!:
49
- loc_028D46!:
50
- loc_028D8D!:
51
- }
52
-
@@ -1,45 +0,0 @@
1
- ?BANK 02
2
-
3
- ?INCLUDE 'scene_script'
4
-
5
- !SPTR $3E
6
-
7
- -----------------------------------------------------
8
-
9
- SceneCmd_LoadSpriteTiles! {
10
- PHP
11
- REP #$20
12
- ;LDA [$3A], Y
13
- ;STA $0666
14
- ;SEP #$20
15
- INY
16
- INY
17
- INY
18
- LDX #$003E
19
- JSR $&LoadScriptPointer
20
- LDA [$3E]
21
- BPL store_size
22
-
23
- LDA #$0000
24
- SEC
25
- SBC [$3E]
26
-
27
- store_size:
28
- STA $0666
29
-
30
- LDX #$0684
31
- JSR $&CheckSourceCacheHit
32
- BCC loc_028C19
33
- REP #$20
34
- LDA [$3E]
35
- INC $3E
36
- INC $3E
37
- CMP #$0000
38
- BEQ loc_028C1B
39
- BMI loc_028C1B
40
- STA $78
41
- SEP #$20
42
- LDX #$4000
43
- STX $7A
44
- JSL $@QuintetLzDecompress
45
- }
@@ -1,203 +0,0 @@
1
- ?BANK 0C
2
-
3
- !t_size $0012
4
- !token1 00E6
5
- !token2 00E8
6
-
7
-
8
- ;This is an example script showing how you can create a teleporter in dark space
9
- ;Walk to either side of the screen to trigger a change in the dark space settings
10
- ;This will cause you to leave in a different place than you had entered
11
- ;To use this script, add a new entry to scene_events under ID E6
12
- ;Example: actor < #00, #01, #00, @Teleporter >
13
-
14
- --------------------------------------------
15
- h_actor < #00, #00, #30 >
16
-
17
- main:
18
- COP [C4] ( @location_check )
19
-
20
- clear_check:
21
- LDA #$004A
22
- STA $token2
23
- COP [C2]
24
- DEC $token2
25
- BEQ clear_screen
26
-
27
- location_check:
28
- COP [28] ( #$00D8, #$00C0, &is_standing_right )
29
- COP [28] ( #$0028, #$00C0, &is_standing_left )
30
- RTL
31
-
32
- clear_screen:
33
- COP [BF] ( &clear_str )
34
- COP [C7] ( @location_check )
35
-
36
- is_standing_right:
37
- LDX $09AA
38
- LDA #$0029
39
- STA $0014, X ;Set player position
40
- LDA #$0003
41
- STA $09B2 ;Set running speed
42
-
43
- LDY #t_size ;Set index
44
-
45
- do_prev:
46
- DEY
47
- BMI take_first
48
-
49
- TYA
50
- ASL
51
- ASL
52
- ASL
53
- ASL
54
- TAX
55
- LDA @space_table+A, X
56
- CMP $0B12
57
- BEQ take_next
58
- BMI take_next
59
- BRA do_prev
60
-
61
- is_standing_left:
62
- LDX $09AA
63
- LDA #$00D7
64
- STA $0014, X ;Set player position
65
- LDA #$FFFD
66
- STA $09B2 ;Set running speed
67
-
68
- LDY #$0000
69
-
70
- do_next:
71
- CPY #t_size
72
- BEQ take_last
73
-
74
- TYA
75
- ASL
76
- ASL
77
- ASL
78
- ASL
79
- TAX
80
- LDA @space_table+A, X
81
- CMP $0B12
82
- BPL take_prev
83
- INY
84
- BRA do_next
85
-
86
- take_prev:
87
- DEY
88
- BPL do_change
89
-
90
- take_last:
91
- LDY #t_size-1
92
- BRA do_change
93
-
94
- take_next:
95
- INY
96
- CPY #t_size
97
- BMI do_change
98
-
99
- take_first:
100
- LDY #$0000
101
-
102
- do_change:
103
- TYA
104
- ASL
105
- ASL
106
- ASL
107
- ASL
108
- TAX
109
- LDA @space_table, X
110
- STA $0B08
111
- LDA @space_table+2, X
112
- STA $0B0A
113
- LDA @space_table+4, X
114
- STA $0B0C
115
- LDA @space_table+6, X
116
- STA $0B0E
117
- LDA @space_table+8, X
118
- STA $0B10
119
- LDA @space_table+A, X
120
- STA $0B12
121
- ;LDA @space_table+E, X
122
- STY $token1
123
- COP [BF] ( &display_str )
124
- JMP clear_check
125
-
126
- display_str `[DLG:7,6][SIZ:9,1][ADR:&string_table,token1]`
127
- clear_str `[CLD]`
128
-
129
- string_table:
130
- &south_cape
131
- &castle_dungeon
132
- &itory
133
- &inca_cliff
134
- &frejia
135
- &diamond_mine
136
- &sky_garden
137
- &seaside_palace
138
- &angel_village
139
- &watermia
140
- &great_wall
141
- &euro
142
- &mt_temple
143
- &native_village
144
- &ankor_wat
145
- &dao
146
- &pyramid
147
- &babel
148
-
149
- space_table:
150
- #$000E #$0001 #$0005 #$0001 #$4300 #$0001 #$0000 #$0000 ;XPos, XSize, YPos, YSize, CamFlags, Scene
151
- #$000A #$0001 #$004B #$0001 #$6300 #$0012 #$0000 #$0000
152
- #$0043 #$0001 #$0007 #$0001 #$3500 #$0015 #$0000 #$0000
153
- #$002C #$0001 #$0004 #$0001 #$2400 #$001E #$0000 #$0000
154
- #$0004 #$0001 #$0008 #$0001 #$1100 #$0034 #$0000 #$0000
155
- #$0027 #$0001 #$0005 #$0001 #$1302 #$0042 #$0000 #$0000
156
- #$0009 #$0001 #$0005 #$0001 #$2200 #$004C #$0000 #$0000
157
- #$002F #$0001 #$0007 #$0001 #$1400 #$005A #$0000 #$0000
158
- #$0019 #$0001 #$0009 #$0001 #$1201 #$006C #$0000 #$0000
159
- #$0004 #$0001 #$0008 #$0001 #$1100 #$007C #$0000 #$0000
160
- #$0015 #$0001 #$0046 #$0001 #$6300 #$0086 #$0000 #$0000
161
- #$000B #$0001 #$0009 #$0001 #$1100 #$0099 #$0000 #$0000
162
- #$001F #$0001 #$002F #$0001 #$4400 #$00A1 #$0000 #$0000
163
- #$001C #$0001 #$0003 #$0001 #$2200 #$00AC #$0000 #$0000
164
- #$0042 #$0001 #$0031 #$0001 #$4600 #$00B6 #$0000 #$0000
165
- #$0002 #$0001 #$0006 #$0001 #$2300 #$00C3 #$0000 #$0000
166
- #$0027 #$0001 #$001A #$0001 #$4400 #$00CC #$0000 #$0000
167
- #$0046 #$0001 #$0039 #$0001 #$4830 #$00E0 #$0000 #$0000
168
-
169
- south_cape `South Cape`
170
-
171
- castle_dungeon `Castle Dungeon`
172
-
173
- itory `Itory`
174
-
175
- inca_cliff `Inca Cliff`
176
-
177
- frejia `Frejia`
178
-
179
- diamond_mine `Diamond Mine`
180
-
181
- sky_garden `Sky Garden`
182
-
183
- seaside_palace `Seaside Palace`
184
-
185
- angel_village `Angel Village`
186
-
187
- watermia `Watermia`
188
-
189
- great_wall `Great Wall`
190
-
191
- euro `Euro`
192
-
193
- mt_temple `Mt Temple`
194
-
195
- native_village `Native Village`
196
-
197
- ankor_wat `Ankor Wat`
198
-
199
- dao `Dao`
200
-
201
- pyramid `Pyramid`
202
-
203
- babel `Babel`