• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Script Help Thread (DO NOT REQUEST SCRIPTS)

Status
Not open for further replies.
I have a huge problem, and to be honest, I'm not even sure if it's script related...
Basically, the whole screen just goes blue after the intro. Nothing else happens. What's up?
Is it possibly because I put a level script on the bottom floor of my house?
 
I assume you mean whackahack.com.
I'll give it a try. Thanks!
Still, if anyone else knows exactly what this is, please tell me. I really don't want to have to start this project all over again...
EDIT: Just checked, the whole site is in Spanish.
 
Last edited:
I assume you mean whackahack.com.
I'll give it a try. Thanks!
Still, if anyone else knows exactly what this is, please tell me. I really don't want to have to start this project all over again...
EDIT: Just checked, the whole site is in Spanish.

A good way to translate the whackahack.com website, use Google translate.
 
I have political and ethical issues with using Google...
But anyway, I couldn't even find anything that looked remotely related to my problem...
I'll wait for a bit, then maybe start transferring...
Aargh...
 
I've always had problems with give item scripts, and flags. Would anyone be able to tell me what the problem is with this one? The guy says his line twice, and then doesn't give me the item.

Spoiler:


There's the script.
 
after the message box you need to specify what type of message it is, no close, normal that should fix it

I don't completely understand what you mean by this. I hope it's not too much to ask, but could you edit my script, so I understand what you are saying?
 
#dynamic 0x800A0B

#org @start
lock
faceplayer
checkflag 0x200
if 0x0 goto @success
if 0x1 goto @empty
release
end

#org @success
msgbox msgbox @stole 0x3 MSG_KEEPOPEN '
giveitem 0xD 0x1 0x3
fanfare 0x13E
waitfanfare
setflag 0x200
end

#org @empty
msgbox @nopotion 0x3 MSG_KEEPOPEN
end

#org @stole
= He appears to be sleeping.\pWhat's that in his hand?\nLet's take it!

#org @nopotion
= He is still sleeping...\nbut doesn't have anymore potions!

there I added the keep open if you still have trouble post here
 
#dynamic 0x800A0B

#org @start
lock
faceplayer
checkflag 0x200
if 0x0 goto @success
if 0x1 goto @empty
release
end

#org @success
msgbox msgbox @stole 0x3 MSG_KEEPOPEN '
giveitem 0xD 0x1 0x3
fanfare 0x13E
waitfanfare
setflag 0x200
end

#org @empty
msgbox @nopotion 0x3 MSG_KEEPOPEN
end

#org @stole
= He appears to be sleeping.\pWhat's that in his hand?\nLet's take it!

#org @nopotion
= He is still sleeping...\nbut doesn't have anymore potions!

there I added the keep open if you still have trouble post here
The same crap happens. Except now, I can walk around when he's talking, and I still don't receive a potion.
 
#dynamic 0x800A0B

#org @start
lock
faceplayer
checkflag 0x200
if 0x0 goto @success
if 0x1 goto @empty
release
end

#org @success
Lock
msgbox msgbox @stole 0x3 MSG_KEEPOPEN '
giveitem 0xD 0x1 0x3
fanfare 0x13E
waitfanfare
setflag 0x200
release
end

#org @empty
lock
msgbox @nopotion 0x3 MSG_KEEPOPEN
release
end

#org @stole
= He appears to be sleeping.\pWhat's that in his hand?\nLet's take it!

#org @nopotion
= He is still sleeping...\nbut doesn't have anymore potions!

I aded some locks and releases
 
Last edited:
#dynamic 0x800A0B

#org @start
lock
faceplayer
checkflag 0x200
if 0x0 goto @success
if 0x1 goto @empty
release
end

#org @success
Lock
msgbox msgbox @stole 0x3 MSG_KEEPOPEN '
giveitem 0xD 0x1 0x3
fanfare 0x13E
waitfanfare
setflag 0x200
release
end

#org @empty
lock
msgbox @nopotion 0x3 MSG_KEEPOPEN
release
end

#org @stole
= He appears to be sleeping.\pWhat's that in his hand?\nLet's take it!

#org @nopotion
= He is still sleeping...\nbut doesn't have anymore potions!

I aded some locks and releases
Alright, one problem is fixed. It stopped letting me walk around as he talked. But, I still do not receive the potion, and he still says the @stole part twice!
 
#dynamic 0x800A0B

#org @start
lock
faceplayer
checkflag 0x200
if 0x0 goto @success
checkflag 0x200
if 0x1 goto @empty
release
end

#org @success
lock
msgbox @stole MSG_NORMAL
giveitem 0xD 0x1 0x0
setflag 0x200
release
end

#org @empty
lock
msgbox @nopotion MSG_NORMAL
release
end

#org @stole
= He appears to be sleeping.\pWhat's that in his hand?\nLet's take it!

#org @nopotion
= He is still sleeping...\nbut doesn't have anymore potions!
Try this one, where I built upon NarutoActor's script.
 
#dynamic 0x800A0B

#org @start
lock
faceplayer
checkflag 0x200
if 0x0 goto @success
if 0x1 goto @empty
release
end

#org @success
Lock
msgbox msgbox @stole 0x3 MSG_KEEPOPEN '
giveitem 0xD 0x1 0x3
fanfare 0x13E
waitfanfare
setflag 0x200
release
end

#org @empty
lock
msgbox @nopotion 0x3 MSG_KEEPOPEN
release
end

#org @stole
= He appears to be sleeping.\pWhat's that in his hand?\nLet's take it!

#org @nopotion
= He is still sleeping...\nbut doesn't have anymore potions!

I aded some locks and releases

Here's the optimized fixed version.
#org @start
checkflag 0x1000
if 0x0 goto @success
msgbox @nopotion MSG_FACE
end

#org @success
lock
msgbox msgbox @stole 0x3 MSG_NORMAL
giveitem 0xD 0x1 0x3
fanfare 0x13E
waitfanfare
setflag 0x1000
release
end

#org @stole
= He appears to be sleeping.\pWhat's that in his hand?\nLet's take it!

#org @nopotion
= He is still sleeping...\nbut doesn't have anymore potions!


Also, use flags which are 0x1000 and above.
 
Status
Not open for further replies.
Back
Top