Thread: [Tutorial] Creating Level Scripts
View Single Post
  #33    
Old October 18th, 2009 (08:25 AM).
cooley's Avatar
cooley cooley is offline
///Keepin' it simple
Silver Tier
 
Join Date: Feb 2007
Location: United States
Age: 20
Gender: Male
Nature: Impish
Posts: 1,150
Send a message via Windows Live Messenger to cooley Send a message via Skype™ to cooley
Quote originally posted by Colorful Summer:
I have a problem, you see.
Here's my script. I have set the level script type to 02.
Spoiler:
#dynamic 0x66666666666666666666666666

#org @start
lock
checkgender
compare LASTRESULT 0x1
if B_BOY goto @boy
setvar 0x4033 0x1
applymovement MOVE_PLAYER @movepl
applymovement 0x12 @mover
waitmovement 0x0
msgbox @whiomg MSG_NORMAL
applymovement 0x13 @moveprof
msgbox @proftalk MSG_NORMAL
applymovement MOVE_PLAYER @facedown
applymovement 0x12 @facedown
msgbox @pchoose MSG_NORMAL
msgbox @meg MSG_NORMAL
release
end

#org @movepl
#raw 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x2 0xFE

#org @mover
#raw 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x12 0x11 0x3 0xFE

#org @facedown
#raw 0x4 0x62 0xFE

#org @boy
setvar 0x4033 0x1
applymovement MOVE_PLAYER @movepl
applymovement 0x11 @mover
waitmovement 0x0
msgbox @whiomb MSG_NORMAL
applymovement 0x13 @moveprof
msgbox @proftalk MSG_NORMAL
applymovement MOVE_PLAYER @facedown
applymovement 0x13 @facedown
msgbox @pchoose MSG_NORMAL
msgbox @meb MSG_NORMAL
release
end

#org @moveprof
#raw 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x63 0xFE

#org @whiomb
= JACK: So, where is that old man?\nHe should've been here by now.

#org @whiomg
= LUCIA: So, where is that old man?\nHe should've been here by now.

#org @proftalk
= MANGO: Old? Me?\nI prefer the word ["]experienced".

#org @pchoose
= MANGO: Well, young lads.\nYou are here to get your first\lPOKéMON, right?\pWell, I've got three POKéMON and\neach of you may only get one.\lThe POKéMON are the following:\p[red_fr]LITSCORP,\n[black_fr]the FIRE-type POKéMON,\p[blue_fr]TADTURP,\n[black_fr]the GRASS-type POKéMON and\p[blue_fr]TARNAQUAX,\n[black_fr]the WATER-type POKéMON.

#org @meb
= JACK: It's okay, [player].\nYou can choose your POKéMON first.

#org @meg
= LUCIA: It's okay, [player].\nYou can choose your POKéMON first.

The problem is, the movements for 0x11, 0x12 and 0x13 don't work.
Yes, the player does move.
How do I fix this?
You should've posted this in the script help thread.
11 = 0xB in hex, 12 = 0xC, 13 = 0xD so if your person number is 11, you should put 0xB, 12 you should put 0xC, and so on...

0x11 = 17
0x12 = 18
0x13 = 19

So if there's no person number 17 on the map, nothing will happen :\
__________________

Reply With Quote