Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

The LEVEL-1 bug and a fix.

1 replies · 775 views · Started 09 July 2007

I wrote a script and modified proposed1st.qst to emulate the bug found in the NES LoZ. Now, if you enter Level 1, exit before going north, and re-enter, the first locked door will unlock.

http://filer.case.edu/dpf4/proposed1st.qst

(I don't have access to the actual game at the moment -- what happens if you enter lv. 1 and then immediately Continue? (Without exiting.) Is it still locked?)

import "std.zh"

int bug = 0;

ffc script eagle_bug{
void run()
{
while(true)
{
if(Game->GetCurDMapScreen() == 0x37 && Game->GetCurDMap() == 0)
{
if(bug == 1)
{
bug = 2;
}
}
else if(Game->GetCurDMapScreen() == 59 && Game->GetCurDMap() == 1)
{
if(bug == 0)
{
bug = 1;
}
else if(bug == 2)
{
Screen->Door[DIR_UP] = D_UNLOCKED;
}
}
else if(Game->GetCurDMapScreen() == 51 && Game->GetCurDMap() == 1)
{
if(bug == 2)
{
Screen->Door[DIR_DOWN] = D_UNLOCKED;;
}
}
Waitframe();
}
}
}