View Single Post
  #45    
Old July 17th, 2008, 12:04 PM
cooley's Avatar
cooley
///Keepin' it simple
 
Join Date: Feb 2007
Location: United States
Age: 19
Gender: Male
Nature: Impish
Send a message via Windows Live Messenger to cooley Send a message via Skype™ to cooley
Quote:
Originally Posted by khaosknight1 View Post
Ok, so like if i was going to make a setmaptile script i cant make it like this

Code:
  
#Dynamic 0x800000
 
#org @main
checkflag 0x201
if 0x1 goto @change
release
end
 
#org @change
movesprite2 0x15 0x11 0x08
setmaptile 0x14 0x7 0x78 0x1
setmaptile 0x15 0x7 0x79 0x1
setmaptile 0x16 0x7 0x79 0x1
setmaptile 0x17 0x7 0x7A 0x1
setmaptile 0x14 0x8 0x189 0x0
setmaptile 0x15 0x8 0x189 0x0
setmaptile 0x16 0x8 0x189 0x0
setmaptile 0x17 0x8 0x189 0x0
setmaptile 0x14 0x9 0x3E 0x1
setmaptile 0x15 0x9 0x3E 0x1
setmaptile 0x16 0x9 0x3E 0x1
setmaptile 0x17 0x9 0x3E 0x1
setmaptile 0x14 0xA 0x1 0x0
setmaptile 0x15 0xA 0x1 0x0
setmaptile 0x16 0xA 0x1 0x0
setmaptile 0x17 0xA 0x1 0x0
release
end
i have to make it like this for it to work?

Code:
 
#Dynamic 0x800000
 
#org @main
checkflag 0x201
if 0x0 goto @end
movesprite2 0x15 0x11 0x08
setmaptile 0x14 0x7 0x78 0x1
setmaptile 0x15 0x7 0x79 0x1
setmaptile 0x16 0x7 0x79 0x1
setmaptile 0x17 0x7 0x7A 0x1
setmaptile 0x14 0x8 0x189 0x0
setmaptile 0x15 0x8 0x189 0x0
setmaptile 0x16 0x8 0x189 0x0
setmaptile 0x17 0x8 0x189 0x0
setmaptile 0x14 0x9 0x3E 0x1
setmaptile 0x15 0x9 0x3E 0x1
setmaptile 0x16 0x9 0x3E 0x1
setmaptile 0x17 0x9 0x3E 0x1
setmaptile 0x14 0xA 0x1 0x0
setmaptile 0x15 0xA 0x1 0x0
setmaptile 0x16 0xA 0x1 0x0
setmaptile 0x17 0xA 0x1 0x0
release
end
 
#org @end
release
end
Both ways are good. But setmaptile scripts don't have to include setmaptiles. I don't even think that's the official name for it.
__________________