xDFor the trainerbattle command you require the battle number and a "resevered" word. Can anyone tell me where you find these?
xD
@X-Aveon: if you meant the one I fixed for you: You want to make a message if you loose, but if you loose..you faint and are warped to the pokemon center. There's no message for after loosing ^^
#dynamic 0x1C5A03
#org @start
lock
faceplayer
checkflag 0x828
if B_true goto @done
msgbox @notime
boxset 0x6
release
end
#org @done
trainerbattle 0x1 0x5F 0x01 @before @after @later
end
#org @later
lock
applymovement 0x1 @move
waitmovement 0x0
hidesprite 0x1
release
end
#ORG @move
#raw 0x62 0x30 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0xFE
#org @before
= Do you have a\nproblem?\pLets fight!
#org @after
= Dang, you're strong!
#org @notime
= I don't have\ntime for you.
hey nobody looked at my script so im going to post it again
so here it is:
#org 0x8000A3
checkflag 0x828
if 0x0 goto 0x88000B7
if 0x1 goto 0x88000B4
end
#org 0x8000B7
lock
msgbox 0x88000CD '"oh i forgot i need a pokemon \nfrom..."
callstd 0x6
applymovement MOVE_PLAYER 0x880011A
waitmovement 0x0
release
end
#org 0x8000B4
release
end
#org 0x80011A
#raw 3 'Face Right
#org 0x8000CD
= oh i forgot i need a pokemon \nfrom proffeser elm i better \ngo and get one.
im just a starter at scripting please correct it
and the problem is i want it to push you right untill you get your pokemon but it freezes for some odd reason
#org 0x8000A3
checkflag 0x828
if 0x0 goto 0x88000B7
[U]if 0x1[/U] goto 0x88000B4 you can delete the underlined part.. or better yet, delete this whole line and the one it points to (it's just a release, which is not needed, and an end which can also be found here)
end
thanks but what do you mean by unknownIt's supposed to be a script tile. change the first unknown to 0003 and the variable to 4050 (assuming you haven't used 4050 yet). And in a script tile, lock isn't really necessary.. Instead, use lockall (though I have never seen lockall work XD)
But.. I'm gonna point out some things in the script itself...
Code:#org 0x8000A3 checkflag 0x828 if 0x0 goto 0x88000B7 [U]if 0x1[/U] goto 0x88000B4 you can delete the underlined part.. or better yet, delete this whole line and the one it points to (it's just a release, which is not needed, and an end which can also be found here) end
and the fact that.. it's supposed to stop you from continuing without pokemon.. Dunno why, but why make the player face right instead of move right?
thanks but what do you mean by unknown
Oops...you have 85 people on one map? if you are trying to get the hero to move then the value should be FF. And i think the hidesprite commands only work best when used in level scripts.
but then again i am not sure what the problem is.
#org $start
lock
faceplayer
checkflag 0x200
special 0x164
if b_true goto $done
setflag 0x200
release
end
#org $done
clearflag ox200
release
end
Help please I'm trying to get a special command to work and everytime I walk over it nothing happens! Im sure it's alot of the script is wrong, but I've just started after all. the players supposed to stop and the gronuds supposed to shake(earthquake)
Code:#org $start lock faceplayer checkflag 0x200 special 0x164 if b_true goto $done setflag 0x200 release end #org $done clearflag ox200 release end
#org $start
lock
faceplayer
checkflag 0x200
if b_true goto $done
special 0x164
setflag 0x200
release
end
#org $done
release
end
#org $start
lock
faceplayer
special 0x164
release
end
#org $start
lock
faceplayer
checkflag 0x200
if b_true goto $done
special 0x164
setflag 0x200
release
end
#org $done
clearflag 0x200
release
end
#dynamic 0x800000
#org @start
lock
faceplayer
checkflag 0x200
if b_true goto @done
special 0x164
setflag 0x200
release
end
#org @done
release
end
#dynamic 0x800000
#org @start
lock
faceplayer
special 0x164
release
end
#dynamic 0x800000
#org @start
lock
faceplayer
checkflag 0x200
if b_true goto @done
special 0x164
setflag 0x200
release
end
#org @done
clearflag 0x200
release
end