Please? I really need this fixed. Or maybe it's un-fixable? :\Game: FireRed
Type: Trigger
Editor: XSE ;)
Script:
Spoiler:A-Map:
The actual script:
Unknown: 0003
Var number: 4050
Var value: 0000
Unknown: 00-00
Script offset: $8000E0
Kyogre:
Person event no: 13
Person ID: 0013
Yellow:
Person event no: 12
Person ID: 0012
XSE:
Quote:
'---------------
#org 0x8000E0
checkflag 0x200
if 0x0 goto 0x88000EC
release
end
'---------------
#org 0x8000EC
lock
applymovement MOVE_PLAYER 0x8800158
waitmovement 0x0
applymovement 0x12 0x880015C
waitmovement 0x0
msgbox 0x8800169 MSG_NORMAL '"[red_fr]YELLOW: Hey [player], your..."
setweather 0xD
doweather
msgbox 0x88001A3 MSG_NORMAL '"[red_fr]YELLOW: Aww[.] it had to s..."
applymovement 0x13 0x880015F
waitmovement 0x0
msgbox 0x88001D2 MSG_NORMAL '"[red_fr]YELLOW: Wh-What's that?!"
msgbox 0x88001F0 MSG_NORMAL '"[player]: I'll check my Pokedex[.]"
showpokepic 0x194 0x14 0x16
cry 0x194 0x0
msgbox 0x880020D MSG_NORMAL '"Name: KYOGRE\nSEA BASIN POKeMON\lT..."
msgbox 0x880024B MSG_NORMAL '"[red_fr]YELLOW: Let's run!"
hidepokepic
setflag 0x200
warp 0x4 0x1 0x1 0x2 0x5
hidesprite 0x12
setbyte2 0x2 0xFE
'---------
' Strings
'---------
#org 0x800169
= [red_fr]YELLOW: Hey [player], your here at\nlast!\p[black_fr][player]: Am I late?
#org 0x8001A3
= [red_fr]YELLOW: Aww[.] it had to start\nraining now.
#org 0x8001D2
= [red_fr]YELLOW: Wh-What's that?!
#org 0x8001F0
= [player]: I'll check my Pokedex[.]
#org 0x80020D
= Name: KYOGRE\nSEA BASIN POKeMON\lType 1:[blue_fr] WATER\l[black_fr]Type 2: -
#org 0x80024B
= [red_fr]YELLOW: Let's run!
'-----------
' Movements
'-----------
#org 0x800158
#raw 0x10 'Step Down (Normal)
#raw 0x2 'Face Left
#raw 0xFE 'End of Movements
#org 0x80015C
#raw 0x3 'Face Right
#raw 0xFE 'End of Movements
#org 0x80015F
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0xFE 'End of Movements
Screenshots and/or Videos:
The problem is, there's no pokepic and Yellow doesn't turn.
#Dynamic 0x80005D
#org @start
lock
checkflag 0x200
if 0x1 goto @end
checkflag 0x828
if 0x0 goto @move
if 0x1 goto @end
setflag 0x200
release
end
#org @move
applymovement 0xFF @back
waitmovement 0x0
release
end
#org @back
#raw 0x62 0x00 0x0C 0x0C 0x0C 0xFE
#org @end
clearflag 0x900
release
end
Gahhh. I've been trying to make it so that this walking event happens only ONCE. i'm using XSE. here is my code:
Code:
...
Thanks.
#Dynamic 0x80005D
#org @start
lock
checkflag 0x200
if 0x1 goto @end
checkflag 0x828
if 0x0 call @move
else goto @end
release
end
#org @move
applymovement 0xFF @back
waitmovement 0x0
[B]setflag 0x200[/B]
end
#org @back
#raw 0x62 0x00 0x0C 0x0C 0x0C 0xFE
#org @end
clearflag 0x900
release
end
end
#Dynamic 0x80005D
#org @start
lock
checkflag 0x200
if 0x0 call @move
else goto @end
release
end
#org @move
applymovement 0xFF @back
waitmovement 0x0
setflag 0x200
end
#org @back
#raw 0x62 0x00 0x0C 0x0C 0x0C 0xFE
#org @end
clearflag 0x900
release
end
Originally Posted by ~Watermelon View Post
Game: FireRed
Type: Trigger
Editor: XSE
Script:
Content hidden:
Click here to view.
A-Map:
The actual script:
Spoiler:Unknown: 0003
Var number: 4050
Var value: 0000
Unknown: 00-00
Script offset: $8000E0
Kyogre:
Person event no: 13
Person ID: 0013
Yellow:
Person event no: 12
Person ID: 0012
XSE:
Quote:
'---------------
#org 0x8000E0
checkflag 0x200
if 0x0 goto 0x88000EC
release
end
'---------------
#org 0x8000EC
lock
applymovement MOVE_PLAYER 0x8800158
waitmovement 0x0
applymovement 0x12 0x880015C
waitmovement 0x0
msgbox 0x8800169 MSG_NORMAL '"[red_fr]YELLOW: Hey [player], your..."
setweather 0xD
doweather
msgbox 0x88001A3 MSG_NORMAL '"[red_fr]YELLOW: Aww[.] it had to s..."
applymovement 0x13 0x880015F
waitmovement 0x0
msgbox 0x88001D2 MSG_NORMAL '"[red_fr]YELLOW: Wh-What's that?!"
msgbox 0x88001F0 MSG_NORMAL '"[player]: I'll check my Pokedex[.]"
showpokepic 0x194 0x0A 0x03
cry 0x194 0x0
msgbox 0x880020D MSG_NORMAL '"Name: KYOGRE\nSEA BASIN POKeMON\lT..."
msgbox 0x880024B MSG_NORMAL '"[red_fr]YELLOW: Let's run!"
hidepokepic
setflag 0x200
warp 0x4 0x1 0x1 0x2 0x5
hidesprite 0x12
setbyte2 0x2 0xFE
'---------
' Strings
'---------
#org 0x800169
= [red_fr]YELLOW: Hey [player], your here at\nlast!\p[black_fr][player]: Am I late?
#org 0x8001A3
= [red_fr]YELLOW: Aww[.] it had to start\nraining now.
#org 0x8001D2
= [red_fr]YELLOW: Wh-What's that?!
#org 0x8001F0
= [player]: I'll check my Pokedex[.]
#org 0x80020D
= Name: KYOGRE\nSEA BASIN POKeMON\lType 1:[blue_fr] WATER\l[black_fr]Type 2: -
#org 0x80024B
= [red_fr]YELLOW: Let's run!
'-----------
' Movements
'-----------
#org 0x800158
#raw 0x10 'Step Down (Normal)
#raw 0x2 'Face Left
#raw 0xFE 'End of Movements
#org 0x80015C
#raw 0x3 'Face Right
#raw 0xFE 'End of Movements
#org 0x80015F
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0xFE 'End of Movements
Screenshots and/or Videos: https://www.youtube.com/watch?v=SUkEDlxmkpY
The problem is, there's no pokepic and Yellow doesn't turn.
Please? I really need this fixed. Or maybe it's un-fixable?
1st, You might want to check if you set the Trigger values correctly in A-map. If they are set correctly, then you may want to check if the flags are available to use.On the tile, the player the just passes through it and nothing happens.
Spoiler:'---------------
#org 0x73ED9C
checkflag 0x1221
if 0x0 goto 0x873EDAE
if 0x1 goto 0x873EDF7
release
end
'---------------
#org 0x73EDAE
checkflag 0x1222
if 0x1 goto 0x873EDF7
playsong 0x13B 0x0
showsprite 0x8
applymovement 0x8 0x873EDDA
trainerbattle 0x1 0xB 0x0 0x873EDFA 0x873EE04 0x873EDDF
release
end
'---------------
#org 0x73EDF7
release
end
'---------------
#org 0x73EDDF
msgbox 0x873EE14 MSG_NORMAL '"???:I am [darknavyblue_fr]PURPLE.[..."
fadescreen 0x1
hidesprite 0x8
setflag 0x1222
fadescreen 0x0
fadesong 0x13B
release
end
'---------
' Strings
'---------
#org 0x73EDFA
= ???:...
#org 0x73EE04
= ???:I lost?!?
#org 0x73EE14
= ???:I am [darknavyblue_fr]PURPLE.[black_fr]We will soon meet\nagain.
'-----------
' Movements
'-----------
#org 0x73EDDA
#raw 0x8 'Step Down (Very Slow)
#raw 0x8 'Step Down (Very Slow)
#raw 0xFE 'End of Movements
That means that the script wasn't compiled..Only the text was, resulting in an epic failure..I have only tried to make two scripts before, and they always end up like this:
![]()
Here is my script:
#ORG $start
Lock
Faceplayer
message $loser
$loser 1 = ...\nGo away loser.
boxset 6
release
end
_________________________
#OFFSET: 0, 0
Invalid Command : Lock
Invalid Command : Faceplayer
Invalid Command : message
#INLINE: 0, 1
9: Encoding text: ...\nGo away loser.
Invalid Command : boxset
Invalid Command : release
Invalid Command : end
|
\- Processed 0 Lines
Now it is giving him trainer music :t057:
If you can guess, it goes to your rival.
I went to, but I guess there just are not enough tutorials. I am not someone who like to continually test scripts...That means that the script wasn't compiled..Only the text was, resulting in an epic failure..
Why not try XSE? :P
GAME: FireRed
TYPE: person event ("giveitem" problem)
EDITOR: XSE
I'm trying to make a giveitem script, and something in it is messing up. I put the section that's messing up in bold, since the rest of the script works just fine. I followed diegoisawesome's XSE tutorial, and it said that when you use "giveitem" a message box saying "PLAYER received ITEM!" will automatically pop up and you'll hear a fanfare, so you don't even need to script that part. However, when I use the script below, that never pops up. Instead, the "takeit" script just plays twice, before moving on to the "prettyexpensive" script, and it never says "[PLAYER] received ITEM!" at all. If I try to take out the 0x6 on the "msgbox @takeit" line, XSE says it's missing a parameter. If I have to, I can just add "[PLAYER] received SILPH SCOPE!" to the end of "takeit" and stick in a fanfare, but my main concern is stopping "takeit" from playing twice.
SCRIPT
Spoiler:#dynamic 0x31DD47
#org @start
lock
faceplayer
checkflag 0x200
if 0x1 goto @ughbone
msgbox @doyouwant 0x5
compare 0x800D 0x1
if 0x1 goto @wannasilph
msgbox @finethen 0x6
release
end
#org @doyouwant
= [red_fr]Ugh[.] I just got back from a\nmission in POKéMON TOWER,\land I hurt all over[.]\pHuh? So, BONNIE's sending you?\nGood luck! You'll need it.\lLuck, and a SILPH SCOPE.\lDo you want mine?
#org @finethen
= [red_fr]Fine then.\nSee if I care if a wild GHOST\lsucks your soul out your ears.
#org @ughbone
msgbox @hurtallover 0x6
release
end
#org @wannasilph
msgbox @takeit
giveitem 0x359 0x1 0x6
msgbox @prettyexpensive 0x6
setflag 0x200
release
end
#org @takeit
= [red_fr]Here, take it! If I don't have a SILPH SCOPE, I can't be sent on that mission again!\p
#org @prettyexpensive
= [black_fr][PLAYER] received SILPH SCOPE!\nLooks pretty expensive[.]\p[red_fr]Don't look so greedy. BONNIE says\nwe've only got two SILPH SCOPES.\lThe BOSS would be furious if you\lsold one, so don't even think\labout it.
#org @hurtallover
= [red_fr]Ugh, I feel like I broke every bone in my body[.]\pThat's what happens when you mess with CUBONE and MAROWAK.\pI'm so glad I never have to go back to POKéMON TOWER again!
#Dynamic 0x800AD3
#org @start
checkflag 0x200
if 0x0 call @move
else goto @end
end
#org @move
applymovement 0xFF @back
waitmovement 0x0
applymovement 0x02 @dude
waitmovement 0x0
msgbox @prob 0x6
applymovement 0xFF @back2
waitmovement 0x0
applymovement 0x01 @mumface
waitmovement 0x0
msgbox @prob2 0x6
end
#org @mumface
#raw 0x00 0xFE
#org @back2
#raw 0x12 0x01 0xFE
#org @back
#raw 0x62 0x00 0x0C 0x0C 0x0C 0x12 0x12 0xFE
#org @dude
#raw 0x03 0xFE
#org @prob
= MUM: Sorry, TONY, but I\nhaven't seen LYDIA anywhere.\pTONY: Why today? It's her\nbirthday today!
#org @prob2
= \v\H01. Go and help TONY find\nLYDIA.
#org @end
release
end
#dynamic 0xoffset
#org @first
checkflag 0x829
if 0x0 goto @start
release
end
#org @start
message @1 0x5
setflag 0x829
special 0x16F
release
end
#org @1
= Here, take this PokeDex! Have fun. Like it?
Game: FireRed
Editor: XSE
Problem: I made this script that would theoretically make it so that Prof. Oak give the player their National Dex instead of your Pokedex. I made this script below and placed it within the game, but nothing happened. I'm looking for help on why this piece of script isn't working for me.
Code:#dynamic 0xoffset #org @first [B]lock[/B] checkflag 0x829 if 0x0 goto @start release end #org @start message @1 [B]0x6[/B] setflag 0x829 special 0x16F release end #org @1 = Here, take this PokeDex! Have fun. Like it?
Okay, I took those fixes and applied them to the script, but when I compiled the script into the game the event is still won't activate. I don't if I need a separate script informing the first script that the event is going through someone (Prof. Oak) or what. The guide I'm using at the moment doesn't mention much about directing events to specific people.You used the wrong message type. 0x5 is for yes/no boxes. 0x6 is for normal boxes and is what you need. Also you need a lock at the beginning so if the event is through a person, the person won't move while it happens. I've put these fixes in bold.
1st, You might want to check if you set the Trigger values correctly in A-map. If they are set correctly, then you may want to check if the flags are available to use.
If none of the changes I've suggested work, please reply ^_^
The trigger values are correct, and I've tried 5 different flags with no luck.
EDIT: I redid the script on a new offset and it worked.
EDIT 2: It worked, but with some errors.
Heres a few screenshots to explain them:
Start of Script, goes perfectly.
![]()
After the battle, the sprite changes.
![]()
After the fadescreen, the rom shows a different place on the map. The player does not show up on the screen.
![]()