McPaul
On my way to become a controversial and hated memb
- 289
- Posts
- 7
- Years
- He/ Him
- Switzerland
- Seen May 18, 2025
Hey yo!
I created a script the same way I usually do, but when I compile it doen't get the way I want. Just watch:
What I wrote and compiled:
And what I get when I reopen my script:
And I get this:
![[PokeCommunity.com] [Emerald] Back wih more problems [PokeCommunity.com] [Emerald] Back wih more problems](https://data.pokecommunity.com/attachments/9/9249-925c84563bbb4aed73b3135cdd96fffe.jpg)
Why's that happening? All those difficulties every time I want to do a single little thing is getting on my nerves.
Thanks for your answer.
I created a script the same way I usually do, but when I compile it doen't get the way I want. Just watch:
What I wrote and compiled:
Spoiler:
'---------------
#dynamic 0xDE4030
#org @main
lockall
checkflag 0x86A
if 0x0 goto 0x8290915
checkflag 0x889
if 0x1 goto 0x829091F
checkitem 0x16A 0x1
compare LASTRESULT 0x1
if 0x1 goto 0x8290915
setanimation 0x0 LASTRESULT
bufferitem 0x0 0x16A
msgbox 0x829092C MSG_YESNO '"It's a big boulder, but an item\nm..."
compare LASTRESULT 0x0
if 0x1 goto 0x8290929
closeonkeypress
doanimation 0x28
waitstate
goto 0x8290908
'---------------
#org 0x290915
msgbox 0x82909D6 MSG_KEEPOPEN '"It's a big boulder, but an item\..."
releaseall
end
'---------------
#org 0x29091F
msgbox 0x8290A16 MSG_KEEPOPEN '"[buffer1] made it possible to move..."
releaseall
end
'---------------
#org 0x290929
closeonkeypress
releaseall
end
'---------------
#org 0x290908
setflag 0x889
msgbox 0x829098C MSG_KEEPOPEN '"[player] used [buffer1]!\p[buffer1..."
releaseall
end
'---------
' Strings
'---------
#org 0x29092C
= It's a big boulder, but an item\nmay be able to push it aside.\pWould you like to use [buffer1]?
#org 0x2909D6
= und!
#org 0x290A16
= [buffer1] made it possible to move\nboulders around.
#org 0x29098C
= [player] used [buffer1]!\p[buffer1] made it\npossible to move boulders around!
#dynamic 0xDE4030
#org @main
lockall
checkflag 0x86A
if 0x0 goto 0x8290915
checkflag 0x889
if 0x1 goto 0x829091F
checkitem 0x16A 0x1
compare LASTRESULT 0x1
if 0x1 goto 0x8290915
setanimation 0x0 LASTRESULT
bufferitem 0x0 0x16A
msgbox 0x829092C MSG_YESNO '"It's a big boulder, but an item\nm..."
compare LASTRESULT 0x0
if 0x1 goto 0x8290929
closeonkeypress
doanimation 0x28
waitstate
goto 0x8290908
'---------------
#org 0x290915
msgbox 0x82909D6 MSG_KEEPOPEN '"It's a big boulder, but an item\..."
releaseall
end
'---------------
#org 0x29091F
msgbox 0x8290A16 MSG_KEEPOPEN '"[buffer1] made it possible to move..."
releaseall
end
'---------------
#org 0x290929
closeonkeypress
releaseall
end
'---------------
#org 0x290908
setflag 0x889
msgbox 0x829098C MSG_KEEPOPEN '"[player] used [buffer1]!\p[buffer1..."
releaseall
end
'---------
' Strings
'---------
#org 0x29092C
= It's a big boulder, but an item\nmay be able to push it aside.\pWould you like to use [buffer1]?
#org 0x2909D6
= und!
#org 0x290A16
= [buffer1] made it possible to move\nboulders around.
#org 0x29098C
= [player] used [buffer1]!\p[buffer1] made it\npossible to move boulders around!
And what I get when I reopen my script:
Spoiler:
'---------------
#org 0xE3D184
lockall
checkflag 0x86A
if 0x0 goto 0x8290915
checkflag 0x889
if 0x1 goto 0x829091F
checkitem 0x16A 0x1
compare LASTRESULT 0x1
if 0x1 goto 0x8290915
setanimation 0x0 LASTRESULT
bufferitem 0x0 0x16A
msgbox 0x829092C MSG_YESNO '"It's a big boulder, but an item\nm..."
compare LASTRESULT 0x0
if 0x1 goto 0x8290929
closeonkeypress
doanimation 0x28
waitstate
goto 0x8290908
'---------------
#org 0x290915
msgbox 0x82909D6 MSG_KEEPOPEN '"und!"
releaseall
end
'---------------
#org 0x29091F
msgbox 0x8290A16 MSG_KEEPOPEN '"[buffer1] made it possible to move..."
releaseall
end
'---------------
#org 0x290929
closeonkeypress
releaseall
end
'---------------
#org 0x290908
setflag 0x889
msgbox 0x829098C MSG_KEEPOPEN '"[player] used [buffer1]!\p[buffer1..."
releaseall
end
'---------
' Strings
'---------
#org 0x29092C
= It's a big boulder, but an item\nmay be able to push it aside.\pWould you like to use [buffer1]?
#org 0x2909D6
= und!
#org 0x290A16
= [buffer1] made it possible to move\nboulders around.
#org 0x29098C
= [player] used [buffer1]!\p[buffer1] made it\npossible to move boulders around!
#org 0xE3D184
lockall
checkflag 0x86A
if 0x0 goto 0x8290915
checkflag 0x889
if 0x1 goto 0x829091F
checkitem 0x16A 0x1
compare LASTRESULT 0x1
if 0x1 goto 0x8290915
setanimation 0x0 LASTRESULT
bufferitem 0x0 0x16A
msgbox 0x829092C MSG_YESNO '"It's a big boulder, but an item\nm..."
compare LASTRESULT 0x0
if 0x1 goto 0x8290929
closeonkeypress
doanimation 0x28
waitstate
goto 0x8290908
'---------------
#org 0x290915
msgbox 0x82909D6 MSG_KEEPOPEN '"und!"
releaseall
end
'---------------
#org 0x29091F
msgbox 0x8290A16 MSG_KEEPOPEN '"[buffer1] made it possible to move..."
releaseall
end
'---------------
#org 0x290929
closeonkeypress
releaseall
end
'---------------
#org 0x290908
setflag 0x889
msgbox 0x829098C MSG_KEEPOPEN '"[player] used [buffer1]!\p[buffer1..."
releaseall
end
'---------
' Strings
'---------
#org 0x29092C
= It's a big boulder, but an item\nmay be able to push it aside.\pWould you like to use [buffer1]?
#org 0x2909D6
= und!
#org 0x290A16
= [buffer1] made it possible to move\nboulders around.
#org 0x29098C
= [player] used [buffer1]!\p[buffer1] made it\npossible to move boulders around!
And I get this:
![[PokeCommunity.com] [Emerald] Back wih more problems [PokeCommunity.com] [Emerald] Back wih more problems](https://data.pokecommunity.com/attachments/9/9249-925c84563bbb4aed73b3135cdd96fffe.jpg)
Why's that happening? All those difficulties every time I want to do a single little thing is getting on my nerves.
Thanks for your answer.
Last edited: