Tryndamere
the Barbarian King.
- 157
- Posts
- 14
- Years
- Freljord.
- Seen Jan 24, 2016
i think what is wrong is that there should be only 1 waitmovement 0x0
Last edited:
Okay, I've done everything you said. But the text is still not coming up, another thing is that the sprite re-appeared for the second time and once the script activated again, then the sprite disappeared forever and the script wouldn't work again. So, you fixed something I guess, but not all of the problems.I have no idea why it isn't displaying the text :<
Did you set his person ID to 1000? If you haven't that would explain why his sprite is reappearing. I'm not sure why you put 'clearflag 0x1000' in org @done because that would be allowing you to repeat the script again - It may also have something to to with being able to see him again as well.
I already had the spaces in the script. They just didn't copy over. And I tried taking out the second waitmovement. It still crashed XSE. I thought you were supposed to do a waitmovement after every applymovement so it could wait the appropriate amount of time for the movement? Thanks in advance to whoever can get the answer. /:
put a pause after the playsong command something like pause 0x5Okay, I've done everything you said. But the text is still not coming up, another thing is that the sprite re-appeared for the second time and once the script activated again, then the sprite disappeared forever and the script wouldn't work again. So, you fixed something I guess, but not all of the problems.
Can you answer my question 2 posts above that one?
im just taking a guess but it might be from those apostrophes['] idk why though it should work even with the those in, i removed them from that huge chunk of text and its compiling now.. also one of your dynamic label done needs to be changed to done1As in, I click the debug button then it says "XSE has stopped working. Windows is looking for a solution to the problem." -Closes out- But, it doesn't do that for a basic talking script.
#dynamic 0x800000
#org @start
checkflag 0x900
if 0x1 goto @done1
setflag 0x900
applymovement 0x01 @move
waitmovement 0x0
applymovement 0xFF @move2
waitmovement 0x0
checkflag 0x82F
if 0x1 goto @momma
msgbox @msg1 0x6
setflag 0x82F
release
end
#org @done1
release
end
#org @momma
msgbox @msg2 0x6
release
end
#org @msg2
= Hey, \v\h01! Did you clean your room\nlike I asked you to earlier?
#org @msg1
= I have a surprise for you! You\nremember how you ve always\lwanted a Pokémon? Well, I have\ldecided it is time for you to get\lone! Professor John said he will\lbe waiting for you in his lab to\lgive you a choice of\lthree Pokémon! You know, last\lnight I saw a commercial about\lthe Elite Four. Turns out\lthey are doing it one last time.\lThey called it their Swan Song.\lYou should try to join it! I\lthink it would be great! I know\lyou have always wanted to be a\lTrainer. Now is your chance! Oh,\lby the way. I also got you these\lshoes. They might just make your\ljourney easier.
#org @move
#raw 0x1
#raw 0xFE
#org @move2
#raw 0xA
#raw 0xC
#raw 0xFE
put a pause after the playsong command something like pause 0x5
and you cleared the 0x1000 flag after checking if it is done.. change it
It still does the same thing. :\
#dynamic 0x800000
#org @start
checkflag 0x1000
if 0x0 goto @next
release
end
#org @next
applymovement 0x04 @move1
waitmovement 0x0
playsong 0x0110 0x0
pause 0x5
msgbox @1 0x6
applymovement 0x04 @move2
waitmovement 0x0
fadesong 0x12c
hidesprite 0x04
setflag 0x1000
release
end
#org @move1
#raw 0x02
#raw 0x62
#raw 0xA
#raw 0xFE
#org @move2
#raw 0xB
#raw 0xB
#raw 0x8
#raw 0x8
#raw 0x8
#raw 0x8
#raw 0x8
#raw 0x8
#raw 0x8
#raw 0x8
#raw 0xFE
#org @1
= Hello, [player]. I've found\nsomething really strange near the\llake. Come meet me there, I'll be\lwaiting for you. See ya there!
we've overlooked the biggest thing you're missing.. a setflag.. XD
also are you sure the pause doesnt work?
if i were to re-write it, it'd be
Code:#dynamic 0x800000 #org @start checkflag 0x1000 if 0x0 goto @next release end #org @next applymovement 0x04 @move1 waitmovement 0x0 playsong 0x0110 0x0 pause 0x5 msgbox @1 0x6 applymovement 0x04 @move2 waitmovement 0x0 fadesong 0x12c hidesprite 0x04 setflag 0x1000 release end #org @move1 #raw 0x02 #raw 0x62 #raw 0xA #raw 0xFE #org @move2 #raw 0xB #raw 0xB #raw 0x8 #raw 0x8 #raw 0x8 #raw 0x8 #raw 0x8 #raw 0x8 #raw 0x8 #raw 0x8 #raw 0xFE #org @1 = Hello, [player]. I've found\nsomething really strange near the\llake. Come meet me there, I'll be\lwaiting for you. See ya there!
I can see 3 errors in the first 3 lines after @start :DFor Fire Red. This script is supposed to keep pushing you back until you select a Pokemon, then once you step on the tile again, it's supposed to take you to the Prof. But, it just freezes when I step on it. I set the unknown on A-Map to 0003 and the var number to 4050. Can anyone help me with this? Thanks in advance.
Spoiler:
#dynamic 0x800000
#org @start
checkflag 0x1
if 0x0 goto @move1
goto @move2
msgbox @Pokedex 0x6
fanfare 0x13E
msgbox @received 0x4
waitfanfare
closeonkeypress
setflag 0x829
release
end
#org @pokedex
= Very well then! That was a very\ngood choice, [PLAYER]. With your first\lPokemon, you get a Pokedex. This\lautomatically records data on\levery Pokemon you see. Even more\ldata on every on you capture!\lThat is something to keep in mind.\lWith that, I ask you to leave as I\lhave some studies to attend to.\lMake sure to pay attention on your\ljourney. I may send some of my\laides if I need your assistance\lwith anything. Bye, [PLAYER].\lTake care!
#org @received
=You received a Pokedex!
#org @move1
#raw 0x9
#raw 0xFE
#org @move2
#raw 0xA
#raw 0xA
#raw 0x1
#raw 0xFE
#dynamic 0x800000
#org @start
checkflag 0x1001
if 0x1 goto @done1
lock
applymovement 0x01 @move2
waitmovement 0x0
trainerbattle 0x0 0x001 0x0 @before @after
msgbox 0x6 @BeforeWalkingAway
applymovement 0x01 @move3
waitmovement 0x0
hidesprite 0x800F
setflag 0x1001
release
end
#org @done1
release
end
#org @before
= Well, hey there stranger.\nWhat are you doing around here in\lthe wild? Oh, you are a Pokémon\ltrainer, too? We should battle!\lYeah, come on!
#org @after
= Whoa! You're really strong!
#org @BeforeWalkingAway
= Whoa, that Pokémon is quite\nthe fighter. My name is [RIVAL]. And\lyou are? … Oh, your name is\l[PLAYER]? Look, I can't stay long. I\lgotta go beat the gym leader in\lAsidia City if I wanna become\lthe final Elite Four Champion.\lSee ya!
#org @move2
#raw 0x62
#raw 0x11
#raw 0x13
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0xFE
#org @move3
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
This is also for Fire Red. I made this script for the first rival battle, and when I go to debug or compile it, XSE closes itself out. I've tried redownloading XSE and it didn't work.
Code:#dynamic 0x800000 #org @start checkflag 0x1001 if 0x1 goto @done1 lock applymovement 0x01 @move2 waitmovement 0x0 trainerbattle 0x0 0x001 0x0 @before @after msgbox 0x6 @BeforeWalkingAway applymovement 0x01 @move3 waitmovement 0x0 hidesprite 0x800F setflag 0x1001 release end #org @done1 release end #org @before = Well, hey there stranger.\nWhat are you doing around here in\lthe wild? Oh, you are a Pokémon\ltrainer, too? We should battle!\lYeah, come on! #org @after = Whoa! You're really strong! #org @BeforeWalkingAway = Whoa, that Pokémon is quite\nthe fighter. My name is [RIVAL]. And\lyou are? … Oh, your name is\l[PLAYER]? Look, I can't stay long. I\lgotta go beat the gym leader in\lAsidia City if I wanna become\lthe final Elite Four Champion.\lSee ya! #org @move2 #raw 0x62 #raw 0x11 #raw 0x13 #raw 0x13 #raw 0x11 #raw 0x11 #raw 0xFE #org @move3 #raw 0x1E #raw 0x1E #raw 0x1E #raw 0x1F #raw 0x1F #raw 0x1F #raw 0x1F #raw 0x1F #raw 0x1F #raw 0x1F
So, to whoever can fix this: thank you. SO much.
#org @move3
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
[COLOR="Red"]#raw 0xFE[/COLOR]
#org @BeforeWalkingAway
= Whoa, that Pokémon is quite\nthe fighter. My name is [RIVAL]. And\lyou are? … Oh, your name is\l[PLAYER]? Look, I can't stay long. I\lgotta go beat the gym leader in\lAsidia City if I wanna become\lthe final Elite Four Champion.\lSee ya!
...
msgbox 0x6 @BeforeWalkingAway
...
...
trainerbattle 0x0 0x001 0x0 @before @after
...
#dynamic 0x800000
#org @start
checkflag 0x1001
if 0x1 goto @done1
applymovement 0x01 @move2
waitmovement 0x0
trainerbattle 0x1 0x001 0x0 @before @after @then
end
#org @then
msgbox @BWA 0x6
applymovement 0x01 @move3
waitmovement 0x0
hidesprite 0x800F
setflag 0x1001
release
end
#org @done1
release
end
#org @before
= Well, hey there stranger.\nWhat are you doing around here in\lthe wild? Oh, you are a Pokémon\ltrainer, too? We should battle!\lYeah, come on!
#org @after
= Whoa! You're really strong!
#org @BWA
= Whoa, that Pokémon is quite\nthe fighter. My name is [RIVAL]. And\lyou are?\pOh, your name is \v\h01?\nLook, I cannot stay long.\pI gotta go beat the gym leader in\nAsidia City if I wanna become\lthe final Elite Four Champion.\pSee ya!
#org @move2
#raw 0x62
#raw 0x11
#raw 0x13
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0xFE
#org @move3
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0xFE
This is also for Fire Red. I made this script for the first rival battle, and when I go to debug or compile it, XSE closes itself out. I've tried redownloading XSE and it didn't work.
Code:#dynamic 0x800000 #org @start checkflag 0x1001 if 0x1 goto @done1 lock applymovement 0x01 @move2 waitmovement 0x0 trainerbattle [COLOR=red]0x1[/COLOR] 0x001 0x0 @before @after [COLOR=red]@later[/COLOR] [COLOR=#ff0000]#org @later[/COLOR] msgbox @BeforeWalkingAway [COLOR=red]0x6[/COLOR] applymovement 0x01 @move3 waitmovement 0x0 hidesprite [COLOR=red]0x1[/COLOR] setflag 0x1001 release end #org @done1 release end #org @before = Well, hey there stranger.\nWhat are you doing around here in\lthe wild? Oh, you are a Pokémon\ltrainer, too? We should battle!\lYeah, come on! #org @after = Whoa! You're really strong! #org @BeforeWalkingAway = Whoa, that Pokémon is quite\nthe fighter. My name is [RIVAL]. And\lyou are? … Oh, your name is\l[PLAYER]? Look, I can't stay long. I\lgotta go beat the gym leader in\lAsidia City if I wanna become\lthe final Elite Four Champion.\lSee ya! #org @move2 #raw 0x62 #raw 0x11 #raw 0x13 #raw 0x13 #raw 0x11 #raw 0x11 #raw 0xFE #org @move3 #raw 0x1E #raw 0x1E #raw 0x1E #raw 0x1F #raw 0x1F #raw 0x1F #raw 0x1F #raw 0x1F #raw 0x1F #raw 0x1F [COLOR=red]#raw 0xFE[/COLOR]
So, to whoever can fix this: thank you. SO much.
Disappear command is very buggy... you shouldn't use it.The command disappear 0x1 is not working why?