Script Help Thread (DO NOT REQUEST SCRIPTS)
View Single Post
January 13th, 2009 (2:04 AM).
Join Date: Oct 2006
Location: The Netherlands
I've seen a few errors. Changes are bold.
Originally Posted by
I can't get this to work. It's my first try at a level script.
if 0x0 goto @show
'No release, because you didn't lock anything yet.
'Lock only applies for a Person script. (When you talk to someone, it locks that person.)
[People number, not People ID...]
[same as above]
0 'Always 0x0
msgbox @pokemon 0x6
givepokemon 0x17E 0x5 0x8B 0x0 0x0 0x0
msgbox @got 0x6
applymovement 0x1000 @walkaway
setvar 0x4033 0x1
'With lockall, you have to use releaseall
#raw 0x60 0x0D 0x0F 0x0F 0x0F 0x0F 0x0F 0x01 0xFE
= [blue_fr]Warren: Ah, [player].\nYour mother had invited
me over to talk about\nyou getting you a Pokemon!
I have brought one for\n you to save you the hassle
of catching one yourself.\nHere you go. 'Use \p after \n, otherwise the text won't be displayed.
= [red_fr] [player] recieved Aron!
#raw 0x0C 0x0C 0x0C 0x0C 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0C 0x60 0xFE
I've got the persons ID at 1000. I made it Script type 2 in the A-Map header. Flag is 4033, value is 0000, the script offset is in offset 2. The script is supposed to happen when you walk down the stairs into the first floor of your house but it restarts the game if you enter the stairs.
View Public Profile
Send a private message to Larsie13
Find all posts by Larsie13
Find threads started by Larsie13