- 3
- Posts
- 11
- Years
- Seen May 19, 2014
Hello scripters, I have a few questions for you.
First off all, I can't get this script to work:
As you can see, the character is supposed to goto @snippet2 if you answer Yes to the question. However, even if you answer No it still goes to @snippet2.
The movement in @snippet2 isn't working properly either. The msgbox works just fine, but the character doesn't move or disappear at all. [S-HIGHLIGHT]Is there something wrong with the script?[/S-HIGHLIGHT]
EDIT: Also, I had another ROM that I inserted a map and replaced a sprite in, and now it says "Error while creating backup, file not saved" when I try to open it with Advance Map. Is there something wrong with it?
Best regards - Wetroz
First off all, I can't get this script to work:
Spoiler:
#dynamic 0x806978
#org @start
faceplayer
checkflag 0x1370
if 0x1 goto @snippet1
msgbox @string1 0x6 '"Shush, I'm creating a game here!\p..."
release
end
'---------------
#org @snippet1
msgbox @string2 0x5 '"Oh, I see you've become more\npopu..."
if 0x1 goto @snippet2
msgbox @string3 0x6 '"Oh well, guess I'm still too cool\..."
release
end
'---------------
#org @snippet2
msgbox @string4 0x6 '"Then step right through this wall!..."
applymovement 0x15 @move1
waitmovement 0x15
setflag 0x1243
release
end
'---------
' Strings
'---------
#org @string1
= Shush, I'm creating a game here!\pCome back once you've earned some\nmore reputation around the school!
#org @string2
= Oh, I see you've become more\npopular now!\pHave you accepted me, Jesper, as\nyour lord and savior?
#org @string3
= Oh well, guess I'm still too cool\nfor you...
#org @string4
= Then step right through this wall!\pYou're welcome to my secret\nhideout!
'-----------
' Movements
'-----------
#org @move1
#raw 0xE 'Step Left (Slow)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements
#org @start
faceplayer
checkflag 0x1370
if 0x1 goto @snippet1
msgbox @string1 0x6 '"Shush, I'm creating a game here!\p..."
release
end
'---------------
#org @snippet1
msgbox @string2 0x5 '"Oh, I see you've become more\npopu..."
if 0x1 goto @snippet2
msgbox @string3 0x6 '"Oh well, guess I'm still too cool\..."
release
end
'---------------
#org @snippet2
msgbox @string4 0x6 '"Then step right through this wall!..."
applymovement 0x15 @move1
waitmovement 0x15
setflag 0x1243
release
end
'---------
' Strings
'---------
#org @string1
= Shush, I'm creating a game here!\pCome back once you've earned some\nmore reputation around the school!
#org @string2
= Oh, I see you've become more\npopular now!\pHave you accepted me, Jesper, as\nyour lord and savior?
#org @string3
= Oh well, guess I'm still too cool\nfor you...
#org @string4
= Then step right through this wall!\pYou're welcome to my secret\nhideout!
'-----------
' Movements
'-----------
#org @move1
#raw 0xE 'Step Left (Slow)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements
As you can see, the character is supposed to goto @snippet2 if you answer Yes to the question. However, even if you answer No it still goes to @snippet2.
The movement in @snippet2 isn't working properly either. The msgbox works just fine, but the character doesn't move or disappear at all. [S-HIGHLIGHT]Is there something wrong with the script?[/S-HIGHLIGHT]
EDIT: Also, I had another ROM that I inserted a map and replaced a sprite in, and now it says "Error while creating backup, file not saved" when I try to open it with Advance Map. Is there something wrong with it?
Best regards - Wetroz