forked from ZQuestClassic/ZQuestClassic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path253patches.txt
449 lines (385 loc) · 18.1 KB
/
253patches.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
ChangeLog for 2.53.0
//Gamma 5
Updated all default active subscreens in qst.dat, with the new items.
Added the following item scripts to Classic.zh, and items
to the default quest in qst.dat:
MagicBossKey: Acts like the Magical Key, for Boss Locks.
Set to item ID: 146
MagicalMap: Gives the player the dungeon map to every dungeon.
Set to item ID: 147
Magical Compass: Gives the player the compass item to every dungeon.
Set to item ID: 148
Renamed all system-wide screenshot files as follows:
ZC:
zc_screen#####.png
ZQuest:
Maps:
zq_map#####.png
Screen:
zq_screen#####.png
( ZoriaRPG, 6th March, 2019 )
The Export ZScript now uses the .zs extension by default (no ZLIB conflicts).
ZCL version is now 2.6.12:
Fixed default pane of the ZQuest tab in ZCL.
Removed duplicate 'Misaligns' option box in ZCL.
Cleaned all intermediates, all project files, and all CMake files.
Built clean.
Changed l_down sprites on 8-way enemy shots to face down.
( ZoriaRPG, 5th March, 2019 )
//Gamma 4
Classic.zh: Fix BossExplode ffc to work with all segmented bosses.
Resize 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 )
//Gamma 3
Updated qst.dat, to strip out some remaining rubbish pal cycle data.
Fixes for Palette Cycle Issues:
Palettes above 256 were not set up to have palette cycles in 2.50.
The array in QMisc is [256][3], where it should have been [512][3].
Because of this, palettes above 0xFF had rubbish data associated to their cycle data.
To remedy this, I have done the following:
All palettes > 255 have a null palette loaded into them, in the editor and as
palette data, to zero out their cycle information.
This should occur both in ZC, and in ZQuest.
I disabled clicking the Cycle button in the Level palette editor, and display
a jwin-alert that the palette doesn't support cycling.
Let's hope this doesn't cause crashes in any quests, in ZC.
Added leading zeros to the 'Select Item' 'Pow: ' field, so that
items with powers greater than 10 don't carry over digits to items with
powers < 10.
( ZoriaRPG, 17th February, 2019 )
Re-fix 1st.qst Level 9 Rupee issue. I had set the wrong type.
( NightmareJames, 16th February, 2019 )
Updated include 'tango.zh', and its associated demo to current versions of both.
Pressing the Enter key, or the numpad Enter key, while viewing
the Quest Header dialogue now EITHER activates the selected element,
or saves the dialogue changes, instead of opening the
'Change Quest password' sub-dialogue.
It will auto-save if the selected element is OK, or any TEXT field.
Otherwise, it triggers the selected element.
This should also work from the numpad Enter key.
I also made the changes as an EXAMPLE chain, for making all
JWin DIALOGUES more user-friendly, in the future.
See Commits:
b479871e9d38d8245874bc6cffc2f72e93f6cd5a
c638d67cd856cc09e2e937c5a7da3dc9e0743952
93956d00d4bb933236c6625cb778eb6ddd5caba4
Added a new function, Link.cleanupByrna() and called it in game_loop() (zelda.cpp).
Added a sfx cleanup for the byrna beam to weapons.cpp.
Added a new LinkClass variable, byte last_cane_of_byrna, that functions similar to
last_lens_id.
It inits at -1, then when Link uses a cane, it is set to that cane's ID.
It is reset to -1 in Link.cleanupByrna().
Added kill_sfx() call to three other possible places where the Cane of Byyrna
sound should probably be terminated:
Whenever we call stopCaneOfByrna()
If we can't pay the cost during item / weapon init
If the beams aren't created during init, for some reason.
Re-adjust qr_OFFSETEWPNCOLLISIONFIX in qst.cpp, to force it on for 2.50.0 build < 24,
instead of build |< 29 (as Gleeok forced it).
I tested SIX quest files, CREATED in three versions of ZQuest:
2.50.0, bit set off (b24)
2.50.0, bit set on (b24)
2.50.1, bit set off (b28)
2.50.1, bit set on (b28)
2.50.2, bit set off (b29)
2.50.2, bit set on (b29)
If we check build < 29, then quests made in 2.50.0 and possibly 2.50.1 have
the bit forced on, when it wasn't intended.
Unless the actual BEHAVIOUR of this bit has changed (this needs verification),
then builds 24, 28, 29, 30, 31, and 32 should never force this bit on.
It is certainly possible that quests made prior to build 24 (2.50.0 release) have this wrong.
I would need to check every RC to see, and backtrack from there.
( ZoriaRPG, 16th February, 2019 )
Fixed a secret rupee in Lv9 (1st.qst) not being secret.
( NightmareJames, 31st January, 2019; file added to Gamma 3, 14th February, 2019 )
Reverted the patch that stopped Ganon from hurting Link if Link
is standing on Ganon when Ganon dies.
We can apply this as a general rule or fix to all enemy behaviour in 2.55.
The NES Ganon hurts Link.
Cleared Link's attackclk before calling saved_Zelda().
This prevents a charged sword, or other weapon, from carrying
over to the ending sequence as a visual artefact.
Stop playing byrna beam sfx as soon as the beams die in Link.cpp
Fix stunned peahats hurting Link in 2.50+ quests.
( ZoriaRPG, 14th February, 2019 )
//Gamma 2
Changed the default length of the short hookshot to 8.
At one point, the distance was in pixels, then someone
changed it to tiles. We'll make pixels an option again in 2.55.
Reverted the usesound value for the Magic Book in qst.dat.
Reverted the last two changes, and hardcoded WAV_FIRE in weapons.cpp.
Hardcoded wand fire sfx for quests made in builds prior to 2.53 Gamma 2 (2.50 Build 32)
Increased Build ID to 32, and updated qst.dat (again).
( ZoriaRPG, 13th February, 2019 )
Fixed default sound for magic book on quest load for older quests, and
set to 13 (WAV_FIRE) in qst.dat for default blank quest.
(Updated qst.dat)
Corrected copyright year in zdefs.h.
Fixed the following in std.zh:
Added revised behaviour to RotatePointX() and RotatePointY().
Added toggle for old/new RotatePointX() and RotatePointY() behaviour.
Probably fixed issues with catsizes() in ScreenFlag() and ScreenEFlag().
Swap lit bomb and bomb returns in int WeaponTypeToID(int wpnt).
Remove extraneous 's' in bool EnemiesAlive().
Add float LargeDistance(int x1, int y1, int x2, int y2, int divisor).
Somehow the file size on disc decreased in the process. Not sure on this one.
Possibly fix some issues with the hammer.
Fixed screenshots saving without using modifier keys.
This had nothing to do with the cheat system, but rather, was an invalid sprintf
format in onNonGUISnapshot.
Emulation: Restrict Repeating DMap Intros to 2.11.x
Enabling or disabling the Debig Console (win32 only) now updates and saves
the zc.cfg file setting for debug_console under zeldadx.
Fixed Link->Misc being multiplied and divided by 10000.
( ZoriaRPG, 12th February, 2019 )
Fixed Wealth Medals in Bomb/Arrow upgrade rooms which use percentage zero
out cost (integer division != double division) (guys.cpp)
No code was ever in place to give the discount? (link.cpp)
( Venrob, 11th February, 2019 )
Fixed Combo Aliad dialogue not doing copy/swap for aliases
greater than 999. Required refactor.
( ZoriaRPG, 30th January, 2019 )
//Gamma 1
Updated ZCL to 2.6.10:
The main in-focus page is once again ZC.
Added the new UI Coloursets (Dark, and October).
Link was not fully cropped during the credits scroll.
Pixels of his hat were left behind as artefacts. This fixes the issue,
by resizing the call to rectfill().
( ZoriaRPG, 29th January, 2019 )
//Beta 36
Fix 'OK' button in joystick button config not saving.
Fix screenshot numbering format to have a width of 5, not 3.
( ZoriaRPG, 28th January, 2019 )
Added an Emulation toggle to try to permit continuous sword triggers
in 2.10 and 2.50 quests.
I'm not sure what the latest 2.50 build is, that should permit this, but if LI
was saved in a later build, and needs it, then here it is.
Try to fix tall grash animation during scrolling.
Try to fix Ganon's Ashes not spawning.
( ZoriaRPG, 25th January, 2019 )
Possible fix for the following reported issue:
`Ganon can hurt you when he's red, and doesn't hurt you when he's flashing, but for one frame his hurtbox comes back when he explodes` -P-Tux
Reposition timing of creation of the hammer smack sprites to try to
prevent them from appearing int he wrong spot if the player changes direction abruptly.
( ZoriaRPG, 24th January, 2019 )
//Beta 35
Added Emulation menu option 'Don't Flip Firetrails'.
If enabled (2.10 or earlier), then firetrails on brang weapomns
will not flip on bounce, and may be allowed to hit and harm enemies.
Add jwin alert messages to all Emulation menu options, to explain what they do.
Apply 1.90 Swim Sprites to all calls to linktile() in link.cpp
Increased screenshot numbering cap from 999, to 99999.
( ZoriaRPG, 22nd January, 2019 )
Apply 2.10 windrobe emulation, also to 1.92.
Final fix of 1.92 vand 2.10 Windrobe mmechanics, removing extra shot.
Clean up tribble emulation.
//Beta 34
Implemented Emulation Option 'DMap Intros Always Repeat' for 2.55 quests.
Fix: Try again to fix 2.10 Windrobes.
Fix: Wizzrobes appearing in dungeon walls in 1.84 quests.
Fix GEL and KEESE tribbles, in 1.90 (or earlier) quests.
This now occurs in readguys.
Remove Emulation flag for OLD TRIBBLES.
( ZoriaRPG, 16th January, 2019 )
//Beta 33
Potentially fixed Triforce Warp-Out in item cellars (2.10 and earlier, no rule, no emulation flag).
Added a ternary statement in getTriforcePiece()
Begin Adding Emulation Menu Options:
Restore 2.10 Windrobes
DMap Intros Always Repeat
--removed this one, because I have a possible in-source fix: Fix Triforce Cellars
Try to fix wizzrobes in 1.90/1.84 quests.
They were spawning in walls, and never should.
Try to make it possible for Windrobes in 2.10 quests to nbot line up.
( ZoriaRPG, 16th January, 2019 )
Fix some emulation options.
( ZoriaRPG, 14th January, 2019 )
//Beta 32
Fixed emulation (item/segment) appearing in quests older than 1.92.
Clear emulation array, except on F6/GameOver->Continue.
Added the ability to copy Link#s walking sprites over his swimming
and diving sprites in 1.90 quests with BS Link Animation.
Begin adding 1.90 BS Animation Toggle
Begin adding 1.9x Tribble Emulation.
Begin adding emulation of half-tile (off-grid) collision.
Fix emulationm of segmented enemy drops.
Fix crash when saving screenshots caused by filename buffer overflow.
( ZoriaRPG, 14th January, 2019 )
//Beta 31
Added an Emulation Menu option to enable drop-per-segment
for Lanmola, Manhandla, and Moldorm.
This needs testing in older quests, and further verification.
neither the menu option, nor the config section option
should work in 2.50+ quests.
( ZoriaRPG, 8th January, 2019 )
//Beta 30
Re-added the 'Menu' button configuration option to
Joystick Button configs.
( ZoriaRPG, 8th January, 2019 )
//Beta 29
Fixed colour issues when using DrawScreen(), DrawLayer(),
and FastCombo(), drawing combos with a CSet2 value.
( ZoriaRPG, 7th January, 2019 )
//Beta 28
Renamed entry [0] in Emulation Menu to 'Flip-Flip Cancel and Wave Warps'
Disabled this option if the current quest was made in 2.10 or
( ZoriaRPG, 22nd December, 2018 )
Added a new menu to ZC Player: 'Emulation'.
This is used for enabling/disabling certain internal behaviour, when playing some
legacy quests where it is desirable to have this option.
( ZoriaRPG, 21st December, 2018 )
//Beta 27
Fixed Ganon's HP in 1st/2nd. On the NES, he has 30, not 32.
Fixed vires splitting before their slide() ends.
Fixed MP3s with metadata not playing.
Let's hope that this fix doesn't fuck up 2.50.0 or 2.50.1 quests.
( ZoriaRPG, 16th December, 2018 )
//Beta 26
Probably fixed issues that Avataro reported with Vire enemies.
( ZoriaRPG, 3rd December, 2018 )