Thread: [Tutorial] Creating Level Scripts
View Single Post
  #15    
Old September 14th, 2009 (05:50 AM). Edited September 14th, 2009 by Reygok.
Reygok's Avatar
Reygok Reygok is offline
Beginning Hacker
 
Join Date: Sep 2009
Gender: Male
Posts: 59
Hi, i just registered, only to post here (and, sorry in advane, my c nearly never works)

I just want to show you my levelscript, ooley:

Spoiler:

'---------------
#org 0x6BEF70
#raw 0x2
#raw pointer 0x86BEF76
#raw 0x0

'---------------
#org 0x6BEF76
#raw word 0x7000
#raw word 0x0
#raw pointer 0x8802634
#raw word 0x0

'---------------
#org 0x802634
lock
checkflag 0x204
if 0x1 goto 0x8801F22
checkflag 0x201
if 0x0 goto 0x8801F22
applymovement MOVE_PLAYER 0x8801F24
waitmovement 0x0
msgbox 0x8801F2D MSG_NORMAL '"Prof. Gink: Hallo ihr beiden!\nHeu..."
applymovement 0x2 0x8801F2A
waitmovement 0x0
msgbox 0x880203C MSG_NORMAL '"Sandy: Nein, ich will dass [player..."
msgbox 0x880206A MSG_NORMAL '"Prof. Gink: Nun gut. Also [player]..."
setflag 0x203
setvar 0x7000 0x1
release
end

'---------------
#org 0x801F22
release
end


'---------
' Strings
'---------
#org 0x801F2D
= Prof. Gink: Hallo ihr beiden!\nHeute ist es soweit!\pDa ihr beide gestern 14 Jahre alt\ngeworden seit, bekommt ihr heute\leuer erstes Pokémon!\pIhr könnt zwischen 3 verschiedenen\nwählen. Also, Ladies first, wie\lman so schön sagt!\pSandy, du darfst als erstes\neins aussuchen.

#org 0x80203C
= Sandy: Nein, ich will dass [player]\nzuerst wählt!

#org 0x80206A
= Prof. Gink: Nun gut. Also [player],\ndie Pokémon liegen dort auf dem Tisch.\pSuch dir eines aus.


'-----------
' Movements
'-----------
#org 0x801F24
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x801F2A
#raw 0x3 'Face Right
#raw 0xFE 'End of Movements


I followed exatly you tutorial, and revised it 4 times, but I don't find the error. When I enter the map I put this level sript on, nothing happens. Do you know why? Or anyone else?

Thanky in advane

Edit: And does anybody know why some sprites have strange colors with ''showpokepic''? Bulbasaur is normal, but Charmander is black and blue
Reply With Quote