Code:
Resized fields for text entry to fit five chars.
Fixed Init Data (and cheat data) field sizes for:
Heart Containers (was a field size of 2, now 3)
Starting HP (in hearts, was 3 now size 5)
Starting Magic (was size 3, now 5)
Max Magic (was size 3, now 5)
Super Bomb Ratio (was size 2, now 3)
Updated qst.dat
Fixed the SignPost ffc script.
Moved the new functions from Classic.zh to std_functions.zh.
Added some relativity functions to Classic.zh--should move to std_functions.zh:
DistXY(ffc, int), LeftOf(), RightOf(), Above(), Below(), Facing(ffc).
2.50.x quests with a build < 31, or quests with a header
version < 0x250 will now write hitsfx = WAV_EHIT, for all guys where
the hitsfx sound == 0, on saving a quest in 2.53.
Quests made in 2.53 Gamma 0/1 or earlier (build 31) now load
WAV_EHIT into the enemy editor hitsfx field when the editor opens.
This prevents corruption of the quest by modifying the value on quest load,
and ensures that the value only changes if the user saves the quest in 2.53.
2.50.2 AND EARLIER play SFX_HIT even if Enemy Editor Hit Sound is 0.
Thus, I added a special case that causes this to happen in guys.cpp, based
on header version and build.
Arbitrary enemy policy 15610. :P
( ZoriaRPG, 25th February, 2019 )
Fixed Byrna Cleanup Routine killing SFX 30. This was caused by
`last_cane_of_byrna_item_id` never being able to be -1 because it was declared
as byte, instead of int.
Classic.zh Fixes and Improvements:
Renamed constants to prevent future conflicts.
BossMusic ffc:
Fixed a bug that caused the victory music to re-play when the
player revisited the screen.
Added InitD variables to allow customisation by the user.
BossExplode ffc:
Added InitD variables to allow customisation by the user.
DropTRIFORCE ffc:
DropHEARTCONTAINER ffc:
Fixed a bug that caused the TF drop to repeat if the player revisited
the screen.
Added a dropshadow to the object when falling.
Slowed falling descent.
Clamped screen coordinates of drop to ensure that the object does
not fall partway off the edges of the screen.
( ZoriaRPG, 24th February, 2019 )
Added scripts 'DropTRIFORCE' and 'DropHEARTCONTAINER' to Classic.zh.
Fixed issue where invalid weapons were loaded by 'BossMusic' ffc script
because of a Waitframe in the loop.
Removed traces.
Added a case for r_down dir on 8-way EW_MAGIC shots.
( ZoriaRPG, 22nd February, 2019 )
Updated qst.dat with all of the new goodies.
Added constants to Classic.zh:
const int _classic_zc__TRK_BOSS = 25;
const int _classic_zh__MIDI_VICTORY = 1;
const int _classic_zh__TILE_FIREWORK = 10140;
Added file Classic.nsf, from klop422 (Legend of Zelda NSF from the PZC Database).
We use track 25 for boss music here.
Added a victory jingle MIDI as MIDI ID 1.
Add combo to use for Boss Audio FFC to combo page 3 as combo ID 905.
Added BossMusic ffc to classic.zh. This is compatible with the BossExplosion ffc.
Added tile for Boss Audio to tile page 61 as tile 16026.
Added overload functions to Collision() that function as LinkCollision().
Updated ffc scripts in classic.zh to clear their combo on init.
Fixed signpost script.
Added default fireworks ffc to copy and paste, on map 1, screen 0x82.
Added combo using the Fire Work tile to combo page 3, as combo 904.
Added tile to use as marker for fireworks ffc to tile page 61, as tile 16025.
Modified fireworks script constants.
Added fireworks SFX as sound 61.
Added fireworks weapon sprite as Sprite 88.
Added tiles for fireworks to tile page 39 as tiles 10140, 10141, 10142.
Fixed daira tiles on page 38.
( ZoriaRPG, 21st February, 2019 )
Classic.zh:
Added item script 'ItemSound'
Added FFC script 'BossExplode'
Added constants:
const int _BOSS_EXPLODE_SPRITE
const int _BOSS_EXPLODE_DUR
const int _BOSS_EXPLODE_SFX
const int _BOSS_EXPLODE_DELAY
const int _BOSS_EXPLODE_RANDOM_MIN
const int _BOSS_EXPLODE_RANDOM_MAX
const int I_HALFMAGIC = 144;
const int I_LEARNSLASH = 143;
const int NPC_DAIRA1 = 177;
const int NPC_DAIRA2 = 178;
Add item: Message (Example) as item 145.
Adjusted stats of both Daira enemies, and set their defences.
Note: 1/4 Arrow damage is intentional for L2, to reflect
better armour/scales.
Add Daira (L2) [blue] as enemy 178, renamed Daira to Daira (L1) [red].
Fixed ZCL 'Skip Logo' selection not saving.
ZCL is now v2.6.11.
Default quest changes:
Added ffc scripts:
PermBlockSecrets : This triggers normal screen secrets.
PermBlockShutter : Block->Shutter secrets in NES Dungeons
Daira (autoghost)
Removed ffc script PermSecret
Fixed name of 'CanSlash' item script.
Added item script 'ItemMessage'
Added Daira enemy as npc ID: 177
Added Daira script to classic.zh
Added Daira tiles to tile page 38 (tiles 9880, through 9959)
( ZoriaRPG, 19th February, 2019 )
Added call to Classic.zh in the buffer.
Updated all active subscreens to include the new items.
Added items: 'Scroll: Learn Slash', 'Scroll: Half Magic'
Placed default FFCs with scripts attached on map 1, screen 0x82.
These have their icon set, and their Ethereal flag set.
Added the following scripts:
Default active script with Tango and Ghost.
Half Magic Item (item, pickup)
Learn Slash Item (item, pickup)
Change Room Guy (ffc)
Perm. Secrets (ffc)
Signpost (ffc)
Added freezeall and freeze only ffc default combos to combo page 3:
Added tiles on page 61 for icons to represent the FFC scripts.
(Tile IDs: 16002, 16003, 16004, 16005, 16023, 16024, 16061, 16062)
Added combos for ffc icons to combo page 3:
IDs: 892, 893
Icons for the above, are combos: 888, 889.
Added tiles for the icon combos for freeze combos to tile page 61 as
tiles: 16000, and 16001.
Commented out some conflicting constants in stdExtra.zh
Moved stdWeapons and Laser.zh into an 'extras' path.
Corrected power rating of remote bombs.
This will only affect quests saved in 2.53, and
only if the power of the bomb is > 1.
Reverted back to Gleeok's forced on bit for half tile collision
in quests made in 2.50.0 and 2.50.1 Or lower 2.50 builds).
Expanded the Emulation menu toggle to cover builds through 2.50.1.
I'm tired of this one, too.
Began adding some default scripts to Classic (as Classic.zh), and
corrected some constants in the included scripts, to match.
Fixed the selection mark for Bombchu Emulation, and ensured that
it is enabled by default for 2.50.0 and 2.50.1 quests.
Added an emulation option to restore the large blast radius
(superbomb) if Link is hit by a charging bombchu.
This is enabled by default for 2.50.1 and earlier quests, and disabled in 2.53 quests
Fixed 8-way shots always using WAV_FIRE.
Added an emulation memu option to force using WAV_FIRE for all 8-way shots.
This is enabled by default in quests < 2.50.
This menu option is disabled in 2.53+ quests.
( ZoriaRPG, 18th February, 2019 )