Shauing wrote: ↑December 7th, 2019, 6:50 pm
Great! Only a minor goof I realized when comparing back to back the cutscenes. The bad ending cutscene has a fade-in, the good ending does not. We removed the effects on both with one hack:
(At 0x14D0C write: 22 30 FF 01
At 0xFF30 write: 22 5A B4 02 AD 84 0A C9 06 F0 05 C9 07 F0 01 6B A9 0F 8D 16 02 8D 1A 02 6B)
Only we need to restore only the fade-in for the bad ending cutscene only.
At 0xFF30 write: 22 5A B4 02 AD 84 0A C9 07 D0 08 A9 0F 8D 16 02 8D 1A 02 6B
Shauing wrote: ↑December 7th, 2019, 6:50 pm
An oddity related to music cues appeared while testing with the SPCCMD! password, the Level 1 short intro cue does not play if selected from the Level Select screen.
I copied the logic from the DOS version.
The same happens in the DOS version if you use Shift+L to go from level 14 to level 1.
Maybe I'll look into it.
Shauing wrote: ↑December 7th, 2019, 6:50 pm
Talking about that Level Select screen also, can the Levels 15-20 be erased and/or deactivated from this screen?
At 0x16724 write: 05
At 0x16747 write: 05
At 0x16753 write: 04
At 0x16754 write: F0 1C
At 0x16772 write: A9 0A 80 E2
Shauing wrote: ↑December 7th, 2019, 6:50 pm
(door top fix)
A curiosity, if all traps available were to be used on another mod and want to apply this hack, how could it be done?
At 0xAEA3 write: C9 02 F0 31
At 0xAEAC write: EA EA EA EA EA EA EA
Shauing wrote: ↑December 7th, 2019, 6:50 pm
(uncensored version)
The only very very minor thing is that the text is no longer centered. Can this be fixed?
The vertical position of each text is given by a byte before the text.
The offsets of the bytes are: 0x18257, 0x182B5, 0x18658, 0x189C8, 0x194AB, 0x19510, 0x1958D, 0x1FF00, 0x1FF7F.
A bigger number will move the text up, a smaller number will move the text down.
In the original game, the number is always the number of lines in the text, including the blank lines as well.
So you should use these numbers:
0x18257: 05
0x182B5: 07
0x18658: 05
0x189C8: 05
0x194AB: 05
0x19510: 07
0x1958D: 05
0x1FF00: 07
0x1FF7F: 05
Some texts were also moved horizontally by changing the number of spaces at the beginning of the lines:
In the original game, the "On Jaffar's orders" and "Little does she know" texts use two spaces for the left margin, while all the other texts use only one space.
In the uncensored version, all the texts uniformly use one space.
Another thing about spaces: The original game has spaces at the end of every line (except the last line of each text), but the uncensored version removed these.
While at it, the uncensored version changes "the Princess's heart" to "the Princess' heart".
I don't think the new version is correct.
It also changes "daughter..." (3 dots) into "daughter....." (5 dots).