#dynamic 0x800000
#org @start
checkflag 0x861
if b_false goto @hide
checkflag 0x204
if b_true goto @end
setvar 0x5040 0x0
checkflag 0x861
if b_true goto @script
end
#org @hide
hidesprite 0x9
releaseall
end
#org @script
compare 0x5040 0x0
if b_true goto @dex0
compare 0x5040 0x1
if b_true goto @dex1
compare 0x5040 0x2
if b_true goto @dex2
end
#org @dex0
showsprite 0x9
lockall
applymovement 0x9 @move0
waitmovement 0x0
msgbox @upgrade
boxset 0x6
special 0x1F3
fanfare 0x13E
msgbox @got
boxset 0x6
waitfanfare
fadescreen 0x1
hidesprite 0x9
setflag 0x204
fadescreen 0x0
releaseall
end
#org @dex1
showsprite 0x9
lockall
applymovement 0x9 @move1
waitmovement 0x0
msgbox @upgrade
boxset 0x6
special 0x1F3
fanfare 0x13E
msgbox @got
boxset 0x6
waitfanfare
fadescreen 0x1
hidesprite 0x9
setflag 0x204
fadescreen 0x0
releaseall
end
#org @dex2
showsprite 0x9
lockall
applymovement 0x9 @move2
waitmovement 0x0
msgbox @upgrade
boxset 0x6
special 0x1F3
fanfare 0x13E
msgbox @got
boxset 0x6
waitfanfare
fadescreen 0x1
hidesprite 0x9
setflag 0x204
fadescreen 0x0
releaseall
end
#org @end
releaseall
end
#org @move0
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x0A
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x0B
#raw 0xFE
#org @move1
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x0A
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x0B
#raw 0x0B
#raw 0xFE
#org @move2
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x0A
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x0B
#raw 0x0B
#raw 0x0B
#raw 0x0B
#raw 0xFE
#org @upgrade
= Take this, but don't say anything\nto PROF.BIRCH. He doesn't know that\lI took this prototype NATIONAL DEX\l... ... ...
#org @got
= [player]'s POKéDEX got upgraded.
Theres no text...Can someone tell me whats wrong with this script?
Spoiler:#Dynamic 0x823322
#org @Main
lock
checkflag 0x1001
if 0x1 goto @done
setflag 0x1001
faceplayer
callstd 0x4
special 0x16F
release
end
#org @done
release
end
#org $start
checkflag 0x203
if b_true goto $done
applymovement 0xFF $move
pausemove 0x0
applymovement 0xFF $move2
pause 0x30
message $1
boxset 6
message $2
boxset 6
message $3
boxset 6
applymovement 0x08 $move3
pausemove 0
message $4
boxset 6
#raw 0x53 0x06 0x00
message $5
boxset 6
applymovement 0x08 $move4
pausemove 0
applymovement 0xFF $move5
pausemove 0
playsound 0x133
nop
message $6
boxset 6
applymovement 0xFF $move6
applymovement 0x10 $move6
applymovement 0x08 $move6
pausemove 0
applymovement 0x0B $move7
pausemove 0
applymovement 0x0B $move8
pausemove 0
#raw 0x53 0x05 0x00
applymovement 0x0B $move9
pausemove 0
fadesound 0x12C
nop
#raw 0x53 0x11 0x00
setflag 0x202
release
end
#org $done
release
end
#org $move
#raw 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0xFE
#org $move2
#raw 0x12 0x11 0x11 0xFE
#org $move3
#raw 0x08 0x0F 0x0F 0x0F 0x0F 0x0F 0x01 0xFE
#org $1
$1 1 =Oak: Hello \v\h01 your finally here.\n Glad you could make it.
#org $2
$2 1 =Oak:As you can see someone has\nalready gotten a starter so there\pare only two left.
#org $3
$3 1 =\v\h06: I'll choose first!
#org $4
$4 1 =\v\h06: I'll take this one
#org $5
$5 1 =Oak: Go get yours \v\h01
#org $move4
#raw 0x02 0xFE
#org $move5
#raw 0x08 0x0F 0x0F 0x09 0x03 0xFE
#org $6
$6 1 =???: Actually, i'll be taking that Pokemon.
#org $move6
#raw 0x62 0xFE
#org $move7
#raw 0x1D 0x20 0x20 0x20 0x20 0x1E 0x20 0x20 0x20 0x20 0xFE
#org $move8
#raw 0x20 0x20 0x01 0xFE
#org $move9
#raw 0x1F 0x1F 0x1D 0x1D 0x1D 0x1D 0x1D 0x1D 0x1D 0x1D 0xFE
Ok I have a big problem.
Whenever I make an Applymovement script, I have to be able to see the character I want to move, On my screen, if the character isnt on my screen, it wont move.
Can someone help me out? I wanna move a character without it having to be on my screen [IN THE GAME]
Everything works, but I cant move my Rival [Hes near the healing mechine in professor oak's lab]
If you cant understand what i am saying: I can move characters that I have view of in my screen in-game, but if I cant see the character, it wont move.
Hmm... I have the one for Emerald version, that is the 24 hour check... but I haven't found a 10 minute one yet... is there one?Hey,
what is the command that checks the amount of time taken?
Like for example, a guy tells you that you have 10 min to come back, if you come earlier the next event won't happen until 10 min have passed.
Thanks.
If the PLAYER's too far away from the person you want to move, it will never move.
If you want a person to move towards the PLAYER, that person should be...
If the person will appear from either right or left, then the person should be 8 tiles away from the PLAYER so the screen won't show him.
If the person will appear from either above or at the bottom, then the person should be 6 tiles away from the PLAYER...
![]()
The center of the screen is always the PLAYER, so this means, the screen is 15x11 in size.
What I am trying to say is that, put that person 8 tiles away from the PLAYER if he moves in from either left or right, and/or 6 tiles away if he moves from either up or down. ;)
#dynamic 0x71AF6D
#org @begin
applymovement 0x1 @move1
waitmovement 0x0
msgbox @go
boxset 0x6
applymovement 0x1 @move2
waitmovement 0x0
applymovement 0xFF @move3
release
end
#org @move1
= 0x0F 0x0F 0x0F 0x01 0xFE
#org @go
= GO AWAY NOW!!!
#org @move2
= 0x4F 0x00 0xFE
#org @move3
= 0x0E 0x0E 0x0E 0xFE
On the script tile, putI've been wanting to test this script out. When I did(a long while ago), the Rom froze when I stepped on the script tile.
I use XSE.
Code:#dynamic 0x71AF6D #org @begin applymovement 0x1 @move1 waitmovement 0x0 msgbox @go boxset 0x6 applymovement 0x1 @move2 waitmovement 0x0 applymovement 0xFF @move3 [B]waitmovement 0x0[/B] release end #org @move1 = 0x0F 0x0F 0x0F 0x01 0xFE #org @go = GO AWAY NOW!!! #org @move2 = 0x4F 0x00 0xFE #org @move3 = 0x0E 0x0E 0x0E 0xFE