- 21
- Posts
- 12
- Years
- Seen Apr 20, 2013
I was following the wrong tutorial? lol.
Anyway thanks for your help.
Anyway thanks for your help.
Game: Fire Red
Type: Movement/ Speech Event
Editor: XSE
Script:
Spoiler:#dynamic 0x
#org @start
checkflag 0x8
compare LASTRESULT 0x0
if 0x1 goto @begin
end
#org @begin
setflag 0x8
msgbox @1 0x4
closeonkeypress
applymovement 0xFF @move0
waitmovement 0x0
applymovement 0x04 @move1
waitmovement 0x0
msgbox @2 0x4
closeonkeypress
applymovement 0x04 @move2
applymovement 0xFF @move3
waitmovement 0x0
setdooropened 0x8 0x13
doorchange
applymovement 0x04 @move4
applymovement 0xFF @move5
waitmovement 0x0
hidesprite 0x04
warp 0x4 0x3 0x0 0x0 0x0
setdoorclosed 0x8 0x13
doorchange
release
end
#org @1
= Frost: [player]! There you are!
#org @2
= Frost: Come with me to the lab,\nyour Eevee is ready to see you!
#org @move0
#raw 0x3
#raw 0xFE
#org @move1
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0xFE
#org @move2
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x10
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE
#org @move3
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x10
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE
#org @move4
#raw 0x11
#raw 0xFE
#org @move5
#raw 0x12
#raw 0x11
#raw 0xFE
Spent 5+ Hours trying to get it to work, Flawless execution. Everything is perfect. But once you leave the house, the sprite is still there and the script can be done an unlimited amount of times.
(Also, it freezes the game when 0x1 is set to 0x0 in the "if" line)
Thanks Tajaroos, second time you've responded to me ^_^
Um what's with the compare LASTRESULT? you can just remove that and make if or condition 0x0 and did you put the flag on the person ID? try putting a flag so the Person won't appear again. And put the warp code on the last part since the rest of the script won't continue because you will be warped... :)
And note LASTRESULT is replaced by 0x800D in the latest XSE version :)
'---------------
#org 0x800000
lock
faceplayer
checkgender
if 0x0 goto 0x8800012
if 0x1 goto 0x880001B
release
end
'---------------
#org 0x800012
warpmuted 0x4 0x1 0xFF 0x1 0x2
'---------------
#org 0x80001B
warpmuted 0x4 0x5 0xFF 0x1 0x2
'---------------
#org 0x71AC80
#raw 0x2
#raw pointer 0x871AC86
#raw 0x0
'---------------
#org 0x71AC86
#raw word 0x0
#raw word 0x0
#raw pointer 0x8800000
#raw word 0x0
'---------------
#org 0x800000
lock
faceplayer
checkgender
if 0x0 goto 0x8800012
if 0x1 goto 0x880001B
release
end
'---------------
#org 0x800012
warpmuted 0x4 0x1 0xFF 0x1 0x2
'---------------
#org 0x80001B
warpmuted 0x4 0x5 0xFF 0x1 0x2
#dynamic 0x34F046
#org @start
checkflag 0x1000
if 0x1 goto @done
setflag 0x1000
lock
msgbox @msg1 0x6
applymovement 0xFF @wtf
waitmovement 0xFF
applymovement 0x6 @move
waitmovement 0x6
faceplayer
msgbox @msg2 0x6
givepokemon 0x93 0x7 0x0 0x0 0x0 0x0
msgbox @msg3 0x6
applymovement 0x6 @goaway
waitmovement 0x6
release
end
#org @msg1
=\v\h01, WAIT!!!
#org @wtf
#raw 0x0
#raw 0x63
#raw 0xFE
#org @move
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE
#org @msg2
= Hey listen, before you go there I\nwant to give you a present for a\lgood luck.\l... ... ... ...\lI know your mother, she was my\lfriend in high school\land when she told me you might\lcome here\lI knew i have to come here and\lgive you my favorite pokemon.\lThis pokemon I raised for 2 years\land now i want him to be yours.\lI'm trust you to give him the\lmost devoted care you can give.\lGood luck son!
#org @msg3
=\v\h01! GOT DRATINI!
#org @goaway
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE
#org @done
release
end
#dynamic 0x700000
#org @start
lock
checkflag 0x300
if 0x1 goto @done
setflag 0x300
msgbox @msg1 0x6
applymovement 0xFF @wtf
waitmovement 0x0
applymovement 0x6 @move
waitmovement 0x0
faceplayer
msgbox @msg2 0x6
givepokemon 0x93 0x7 0x0 0x0 0x0 0x0
msgbox @msg3 0x6
applymovement 0x6 @goaway
waitmovement 0x0
release
end
First make sure you have a var in the var box, and that it is an unused var.
i.e 40E7
Also try using a lower flag that is unused, like 300
Hope this fixes your problem
PS. I removed the spaces, switched the flag, and relocated the lock command.
Code:#dynamic 0x700000 #org @start lock checkflag 0x300 if 0x1 goto @done setflag 0x300 msgbox @msg1 0x6 applymovement 0xFF @wtf waitmovement 0x0 applymovement 0x6 @move waitmovement 0x0 faceplayer msgbox @msg2 0x6 givepokemon 0x93 0x7 0x0 0x0 0x0 0x0 msgbox @msg3 0x6 applymovement 0x6 @goaway waitmovement 0x0 release end
ok this is my first post ever :)
my script is:
#dynamix 0x800000
#org @start
lock
faceplayer
msgbox @talk1 0x6
release
end
#org @talk1
= hi.
anyways, (dont know how to do spoiler sorry)
when i try to compile this it says"unknown keyword lock" @line 3. i don't know how to fix it either.
and a side note, when i load up my XSE it tells me that my command database is not found and i can't figure out for the life of me why!
anyway any help would be grately appreciated and i thank anybody in advance
connor
This is my script var values (nothing...)
unknown: 0000
var number: 0000
var value: 0000
uknown: 00|00
Hi guys. I made a simple trainer battle script where if the trainer sees you, he walks up to you and battles you. (POKEMON RUBY, XSE)
Spoiler:
#dynamic 0x6B0C6E
#org @start
trainerbattle 0x0 0x2B7 0x0 @before @after
msgbox @beaten 0x6
release
end
#org @before
= Do you got my money?
#org @after
= [blue_rs]is my special color
#org @beaten
= good job.
However, the moment he walks up to you, the game imediately goes to the title screen without saving your game. (you know, the title screen that says PRESS START) I'm not sure what I did wrong. Also if it helps:
Please help good people of pokecommunity :)Spoiler:I am using Advance map 1.95. In the "TRAINER $00" box I put "TRAINER $01" and the "VIEW RADIUS $0000" box I put "VIEW RADIUS $0006"
Pokemon Ruby
XSE
"Script Box"
I made a weather script, but whenever I step on it, nothing happens. I set my Var Number + Unknown the correct way, but I'm still not sure why nothing happens. Please help pokecommunity :)
Spoiler:
#dynamic 0x800C47
#org @start
setweather 0x03
doweather
release
end
just in case, I took the extra "0" out in a copy of the script, and it still didn't work.
Spoiler:
#dynamic 0x800C37
#org @start
setweather 0x3
doweather
release
end