View Single Post
  #216    
Old January 9th, 2009, 05:25 PM
Binary's Avatar
Binary
え?
 
Join Date: Aug 2007
Age: 20
Hyunbin-

Quote:
Code:
#Dynamic 0x800BF8

#org @start
checkflag 0x828
if 0x0 goto @todesk
if 0x1 goto @end
end

#org @todesk
lock
applymovement 0xFF @move
waitmovement 0x0
release
end

#org @move
#raw 0x12 0x12 0x12 0x10 0x10 0x10 0x10 0x10 0x12 0x12 0x12 0xFE (3 left, 5 down, 3 left)

#org @end
release
end
It actually works like this:
Code:
#Dynamic 0x800BF8

#org @start
checkflag 0x828
if 0x1 goto @end
applymovement 0xFF @move
waitmovement 0x0
release
end

#org @end
release
end

#org @move
#raw 0x12 0x12 0x12 0x10 0x10 0x10 0x10 0x10 0x12 0x12 0x12 0xFE
You may also want to set the flag.
And arrange the Var number, unknown etc.

Rombase: Pokemon Ruby
Comments: The sprite disappears before the script can occur.
Script:

Code:
dynamic 0x800000

#org @start
checkflag 0x250
if 0x1 goto @done
playsong 0x1A4 0x0
applymovement 0x01 @move
waitmovement 0x0
applymovement 0xFF @move2
waitmovement 0x0
msgbox @1 0x6
applymovement 0x01 @move3
waitmovement 0x0
fadesong 0x167
hidesprite 0x1
setflag 0x3D3
setflag 0x249
setflag 0x250
release
end

#org @done
release
end

#org @move
#raw 0x04 0x04 0x03 0x07 0x07 0x07 0x00 0x04 0x10 0x56 0xFE

#org @move2
#raw 0x56 0xFE

#org @1
= Hey kiddo! I didn't expect that\nyou'd wake up so quick! Sorry..\lbad joke.\lAnyways I went to visit Prof.\lAcacia and she told me that she'd\lbe delighted to meet you. Now hurry\lup. Dawn Town is right up ahead.\nSee ya later kid!

#org @move3
#raw 0x03 0x07 0x00 0x04 0x04 0x04 0x04 0x04 0x04 0x54 0xFE
help?
__________________

Last edited by Binary; January 9th, 2009 at 05:33 PM.