Skip to content

Nintendo Entertainment System · Improvement

Main Script F2 Fix

By abw

Dragon Warrior II · All hacks & resources →

About this project

Dragon Warrior II's $F2 script control code is broken: if the number in RAM $8F-$90 is 1, it's supposed to print nothing, otherwise it's supposed to print "s". However, if the number in RAM $8F-$90 is 1, what it actually does is trigger a string end, which results in the game displaying text like "And earned 1 piece" instead of "And earned 1 piece of gold.".

This patch fixes the bug so that when $8F-$90 is 1, the $F2 control code prints no text instead of terminating the entire string. Note that the bug is undetectable in the original game since the $F2 control code is only used in combination with gold amounts and there is no way to change your gold amount by exactly 1, so this patch will be of limited interest to non-hackers.

Includes commented source code!

Original game requirements

Unpatched:
File MD5      3AEF63A01D6F57E3BF2C865A1D919D13        
File SHA-1    F464C7045A489A248686E92164FDE2903CFD013E
File CRC32    E9F5BE99                                
ROM MD5       CCDB4563C9004D862DCF3A98C7937C22        
ROM SHA-1     191A131E7E27E121D094CC412FED87C708147B2C
ROM CRC32     8C5A784E                                

Patched:
File MD5      E309C46AA8268C2F8CF44D8400D2B3B7        
File SHA-1    5A0869BC4F6891A46B06DA64887233F196F28B73
File CRC32    F78557B1                                
ROM MD5       6BC7F31D73110429B483BA01B97C9BF6        
ROM SHA-1     8525EB6F4952D3A07A0B8E52D21E96312766C989
ROM CRC32     922A9166

Creator credits

abw
Hacking

RELEASE 1.0

Readme & instructions

No readme is available for this release.

FROM THE COMMUNITY

Player reviews

0 reviews
No ratings yet

Played this project? Tell other players how it holds up.

Your take on Main Script F2 Fix

Spam has been overwhelming. To help us approve your review, sign up and introduce yourself in the Introductions forum so we know you’re not a bot.

Sign in with your Retro Replay account to rate this project and share your experience.

Sign in to review