• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Forum moderator applications are now open! Click here for details.
  • Welcome to PokéCommunity! Register now and join one of the best places on the 'net to talk Pokémon and more! Community members will not see the bottom screen advertisements.
  • Want to share your adventures playing Pokémon?
    Check out our new Travel Journals forum for sharing playthroughs of ROM Hacks, Fan Games, and other Pokémon content!
  • IMPORTANT: Following a takedown request, the following hacks have been delisted from PokéCommunity:

    • Pokémon Glazed
    • Pokémon: Giratina Strikes Back
    • Pokémon Flora Sky
    • Pokémon Stranded
    The downloads and discussion threads for these hacks will no longer be accessible, and staff will be unable to return questions regarding accessing this content.

Script Help Thread (DO NOT REQUEST SCRIPTS)

Status
Not open for further replies.
7
Posts
12
Years
  • Seen Mar 30, 2016
@droomph

Thanks for your help. I did everything you said, I removed th whole nickname part, I used a clean ROM and inserted these scripts. But it is still the same. As long as I stay in the map everythin is fine. When i get out an back and after facing a wild pokemon, my sprite isn't moving while I'm moving some sort of camera through which I even can face wild Pokemon. I absolutely don't know what could cause that. I thougt it would be a header script, but i removed every single script in the header.

edit: I gotta correct myself. Even without leaving the map the error occurs. Just the first time I enter the map and after a wild pokemn battle I lose control over my sprite.

Me again: I found out, that the error only occurs, when the bug-catcher I inserted is on the screen when a wild pokemon battle starts. After the fight I become him. I'm becoming the sprite of the bug catcher trainer, but keeping my things and pokemon. What did I wrong. Thats my Trainer Script:

Code:
#org 0x8017C8
trainerbattle 0x0 0x267 0x0 0x88017E1 0x88017F8
msgbox 0x8801811 MSG_NORMAL '"Hi"
release
end
When I change 0x0 into 0x3 it won't compile, so kept it that way.
The Person Nr. is 0, the first Unknown is 00, Movement is 00, sec. Unknown is 00, third Unknown is 00, Person ID is 0267. I can fight him without any problems.
 
Last edited:

droomph

weeb
4,285
Posts
12
Years
edit: I gotta correct myself. Even without leaving the map the error occurs. Just the first time I enter the map and after a wild pokemn battle I lose control over my sprite.

Me again: I found out, that the error only occurs, when the bug-catcher I inserted is on the screen when a wild pokemon battle starts. After the fight I become him. I'm becoming the sprite of the bug catcher trainer, but keeping my things and pokemon. What did I wrong. Thats my Trainer Script:
Code:
#org 0x8017C8
trainerbattle 0x0 0x267 0x0 0x88017E1 0x88017F8
msgbox 0x8801811 MSG_NORMAL '"Hi"
release
end
When I change 0x0 into 0x3 it won't compile, so kept it that way.
The Person Nr. is 0, the first Unknown is 00, Movement is 00, sec. Unknown is 00, third Unknown is 00, Person ID is 0267. I can fight him without any problems.
Did you put the sight distance on?

Also, the 0x267 is supposed to be the TRAINER ID.
 

DrFuji

[I]Heiki Hecchara‌‌[/I]
1,691
Posts
14
Years
edit: I gotta correct myself. Even without leaving the map the error occurs. Just the first time I enter the map and after a wild pokemn battle I lose control over my sprite.

Me again: I found out, that the error only occurs, when the bug-catcher I inserted is on the screen when a wild pokemon battle starts. After the fight I become him. I'm becoming the sprite of the bug catcher trainer, but keeping my things and pokemon. What did I wrong. Thats my Trainer Script:

Code:
#org 0x8017C8
trainerbattle 0x0 0x267 0x0 0x88017E1 0x88017F8
msgbox 0x8801811 MSG_NORMAL '"Hi"
release
end
When I change 0x0 into 0x3 it won't compile, so kept it that way.
The Person Nr. is 0, the first Unknown is 00, Movement is 00, sec. Unknown is 00, third Unknown is 00, Person ID is 0267. I can fight him without any problems.

It sounds like your sprite has the movement type 'Look Down'. Change it from that to 'No Movement'.
 
7
Posts
12
Years
  • Seen Mar 30, 2016
@ droomph,
the sight distance was 0004.
the Trainer ID was supposed to be 0x267. Shouldn't it be in the script and in advance map (Person ID 0267)?

@DrFuji

Yes, it was on "look down", I'll try it now with "no movement" and will report the outcoming.

Thanks so far

edit: GREAT! No more body changes. All I did was setting to "no movement". I don't believe how powerful such a setting can be. Thanks you two.
 
Last edited:
7
Posts
12
Years
  • Seen Mar 30, 2016
Is there a way to prevent escaping from a wild Battle or at least reduce the chance to escape (without level up)?

Or let them leave an item after winning?
 
Last edited:

DrFuji

[I]Heiki Hecchara‌‌[/I]
1,691
Posts
14
Years
Is there a way to prevent escaping from a wild Battle or at least reduce the chance to escape (without level up)?

Or let them leave an item after winning?

Those things are impossible to achieve without ASM. However, if you are in a scripted wild battle, you can kind of prevent the player from running away, as shown in this post.
 

droomph

weeb
4,285
Posts
12
Years
I've searched for this quite some time, couldn't find anything really helpfull, but does anyone know how to edit or write a roaming pokémon/legendary script? I know that there are some special commands which have something to do with it, but that's about it. Those commands could really help me though.
It's in ASM.

JPAN has a hack for FireRed that can do that though.
 

Crocky

SuperScarlet!
97
Posts
15
Years
  • Seen Jul 23, 2020
Hey everyone, I just got back into rom hacking an I forgot some stuff.

#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @1 0x6
playsong 0x020F 0x0
fadesong 0x020F
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x1005
release
end

#org @1
= Hurry up \v\h01!\pYou dont want to be late to\nget your first Pokémon do you?

What im trying to do here is make this guy play Gary's theme when you start to talk to him and disappear after you finish talking to him. When i talk to him in my Emerald, he just plays the theme and disappears without saying anything. Does anyone see what I did wrong?
 
7
Posts
12
Years
  • Seen Mar 30, 2016
Code:
'---------------
#org 0x8052A4
checkflag 0x111
if 0x0 goto 0x88055A5
lock
applymovement 0x3 0x8801C65
waitmovement 0x3
msgbox 0x88054E2 MSG_FACE '"Hallo [player]\v\h05!\pSchön dich ..."
msgbox 0x8805557 MSG_FACE '"Wie dem auch sei.\pLass und nach H..."
applymovement 0x3 0x88055F8
applymovement MOVE_PLAYER 0x880561B
clearflag 0x111
release
end

'---------------
#org 0x8055A5
release
end


'---------
' Strings
'---------
#org 0x8054E2
= Hallo [player]\v\h05!\pSchön dich zu sehen.\nHattest du eine angenehme Fahrt?\pDein Handtuch guckt übrigens aus\ndeinem Rucksack.

#org 0x805557
= Wie dem auch sei.\pLass uns nach Hause fahren und\ndort alles Weitere bereden.


'-----------
' Movements
'-----------
#org 0x801C65
#raw 0x56 'Exclamation Mark (!)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xFE 'End of Movements

#org 0x8055F8
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x80561B
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements
The problem is the applymovement nr. 2 and 3 (applymovement 0x3 0x88055F8, applymovement MOVE_PLAYER 0x880561B)

The person 0x3 and the player won't move as ordered. After 0x3 moves to the player and talks to him they should go both together 12steps left and 21 steps up. But after the first applymovement and the talking nothing happens (without crashing, I can move). What could be wrong?
 
Last edited:

droomph

weeb
4,285
Posts
12
Years
Code:
'---------------
#org 0x8052A4
checkflag 0x111
if 0x0 goto 0x88055A5
lock
applymovement 0x3 0x8801C65
waitmovement 0x3
msgbox 0x88054E2 MSG_FACE '"Hallo [player]\v\h05!\pSchön dich ..."
msgbox 0x8805557 MSG_FACE '"Wie dem auch sei.\pLass und nach H..."
applymovement 0x3 0x88055F8
applymovement MOVE_PLAYER 0x880561B
clearflag 0x111
release
end

'---------------
#org 0x8055A5
release
end


'---------
' Strings
'---------
#org 0x8054E2
= Hallo [player]\v\h05!\pSchön dich zu sehen.\nHattest du eine angenehme Fahrt?\pDein Handtuch guckt übrigens aus\ndeinem Rucksack.

#org 0x805557
= Wie dem auch sei.\pLass uns nach Hause fahren und\ndort alles Weitere bereden.


'-----------
' Movements
'-----------
#org 0x801C65
#raw 0x56 'Exclamation Mark (!)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xFE 'End of Movements

#org 0x8055F8
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x80561B
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements
The problem is the applymovement nr. 2 and 3 (applymovement 0x3 0x88055F8, applymovement MOVE_PLAYER 0x880561B)

The person 0x3 and the player won't move as ordered. After 0x3 moves to the player and talks to him they should go both together 12steps left and 21 steps up. But after the first applymovement and the talking nothing happens (without crashing, I can move). What could be wrong?
The problem here is that you already set lock three times and faceplayer two times. The first time it works because lock keeps the player in place, thus nothing is wrong with the other sprite that moves. The second time, however, you and the sprite are both locked down, so no command can move you two.

Try doing either a release or a releaseall before applying the movements again.

(Also, for the computer's sake, make the second MSG_FACE a MSG_NORMAL.^^)
 

destinedjagold

You can contact me in PC's discord server...
8,593
Posts
16
Years
  • Age 33
  • Seen Dec 23, 2023
Code:
'---------------
#org 0x8052A4
checkflag 0x111
if 0x0 goto 0x88055A5
lock
applymovement 0x3 0x8801C65
waitmovement 0x3
msgbox 0x88054E2 [COLOR="Blue"]MSG_NORMAL[/COLOR] '"Hallo [player]\v\h05!\pSchön dich ..."
msgbox 0x8805557 [COLOR="blue"]MSG_NORMAL[/COLOR] '"Wie dem auch sei.\pLass und nach H..."
applymovement 0x3 0x88055F8
applymovement MOVE_PLAYER 0x880561B
[COLOR="Red"]waitmovement 0[/COLOR]
clearflag 0x111
release
end

'---------------
#org 0x8055A5
release
end


'---------
' Strings
'---------
#org 0x8054E2
= Hallo [player]\v\h05!\pSchön dich zu sehen.\nHattest du eine angenehme Fahrt?\pDein Handtuch guckt übrigens aus\ndeinem Rucksack.

#org 0x805557
= Wie dem auch sei.\pLass uns nach Hause fahren und\ndort alles Weitere bereden.


'-----------
' Movements
'-----------
#org 0x801C65
#raw 0x56 'Exclamation Mark (!)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xFE 'End of Movements

#org 0x8055F8
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x80561B
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements
The problem is the applymovement nr. 2 and 3 (applymovement 0x3 0x88055F8, applymovement MOVE_PLAYER 0x880561B)

The person 0x3 and the player won't move as ordered. After 0x3 moves to the player and talks to him they should go both together 12steps left and 21 steps up. But after the first applymovement and the talking nothing happens (without crashing, I can move). What could be wrong?

Blue = the proper.
Red = the command line you forgot.
 
7
Posts
12
Years
  • Seen Mar 30, 2016
'---------------
#org 0x8052A4
checkflag 0x111
if 0x0 goto 0x88055A5
applymovement 0x3 0x8801C65
waitmovement 0x3
msgbox 0x88054E2 MSG_NORMAL '"Hallo [player]\v\h05!\pSchön dich ..."
msgbox 0x8805557 MSG_NORMAL '"Wie dem auch sei.\pLass uns nach H..."
releaseall
applymovement MOVE_PLAYER 0x880561B
releaseall
applymovement 0x3 0x88055F8
clearflag 0x111
release
end

'---------------
#org 0x8055A5
release
end


'---------
' Strings
'---------
#org 0x8054E2
= Hallo [player]\v\h05!\pSchön dich zu sehen.\nHattest du eine angenehme Fahrt?\pDein Handtuch guckt übrigens aus\ndeinem Rucksack.

#org 0x805557
= Wie dem auch sei.\pLass uns nach Hause fahren und\ndort alles Weitere bereden.


'-----------
' Movements
'-----------
#org 0x801C65
#raw 0x56 'Exclamation Mark (!)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xFE 'End of Movements

#org 0x80561B
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x8055F8
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements
Thanks for your reply.
That's what my script look like now. I changed into msg_normal and pasted before the second and third applymovement releaseall (just to be safe).
But there wasn't any change. They are both not moving.

@destinedjagold

I didn't saw your reply. I'll try your suggestion right away.

Yay! Waitmovement 0x0 did it. Who or whar exactly is even meant by this command? Thank you guys
 
Last edited:

Satoshi Ookami

Memento Mori
14,254
Posts
15
Years
Yay! Waitmovement 0x0 did it. Who or whar exactly is even meant by this command? Thank you guys
Hard to explain... let's just say it's command that tells ROM that movement is actually finished and ROM can move to another command.
The thing you need to remember is that waitmovement 0x0 (or 0 if you're using decimal) must be written after each applymovement you put into ROM.
 
7
Posts
12
Years
  • Seen Mar 30, 2016
Does anyone know, how to make the fainted hero get back to a certain position (I want him to restart at this room)? In my starting scene i've let the hero walk through a later city with pokecenter (via applymovement) and warp to the starting town. Now when he faints in a nearby forest he restarts in the later city at the pokecenter. Is there a way to edit this?
 

hinkage

Everyone currently in an argument with this member
381
Posts
13
Years
  • Age 28
  • Seen Mar 17, 2024
Does anyone know, how to make the fainted hero get back to a certain position (I want him to restart at this room)? In my starting scene i've let the hero walk through a later city with pokecenter (via applymovement) and warp to the starting town. Now when he faints in a nearby forest he restarts in the later city at the pokecenter. Is there a way to edit this?

When you enter a new town, or Poke Center, there's a script with the command "sethealingplace". Delete that script and you won't return to that town after you die, ever.

Better yet, you could edit said script and use flags to make it only return you to that town after a certain event.
 

jukin8

Suicune Man
16
Posts
12
Years
new

im new to scripting and i need a clear explainaition of how to make a script that you step on make someone give you something screenfades their sprite disappears and stays gone and also to change the script for recieveing a starter in ruby because i have 3 person events set up to capture your starter :/
 

Co500

Nostalgia Edition
563
Posts
15
Years
im new to scripting and i need a clear explainaition of how to make a script that you step on make someone give you something screenfades their sprite disappears and stays gone and also to change the script for recieveing a starter in ruby because i have 3 person events set up to capture your starter :/
Everything you need is here: http://www.pokecommunity.com/showthread.php?t=164276

Anyway, I have a problem with my script, everything works great apart from "applymovement 0x7 @move3
applymovement 0x8 @move4"
When the script activates they just dont move, at all
Heres the full script
Spoiler:
 
18
Posts
12
Years
  • Seen Mar 15, 2015
im new in scripting , i need to know how can i change movement of a person.

Example:

--------------------------------------------------------------------
#org 0x972A9D



0x1 0x885A02D



0x1 0x8973FA8




'-----------------------
#org 0x85A02D



'-----------------------
#org 0x973FA8




0x3 0x885A02F



msgbox 0x8973F3F '"\c\h01ÇOh hey, [player].\nHave you ..."

0x4F 0xA0610003
0x8 0x6100FF4F

0x8 0x35000051




'-----------
' Movements
'-----------
#org 0x85A02F
#raw 11 'Step Up (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements


'---------
' Strings
'---------
#org 0x973F3F
= \c\h01ÇOh hey, [player].\nHave you talked to your Neighbor?\pI think she will give you\nsomething before you go.
------------------------------------------------------------------------------

How can i change this script to walk right instead of left?
[Pokemon Fire Red Version]
 
Status
Not open for further replies.
Back
Top