• 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 fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Script Help Thread (DO NOT REQUEST SCRIPTS)

Status
Not open for further replies.

Drayano60

Sage
4
Posts
15
Years
  • Age 31
  • UK
  • Seen Jul 31, 2022
I have an Entei script here that I have on FR using XSE, person event of course;

Code:
'---------------
#org 0x34EF0F
lock
faceplayer
cry 0xF4 0x0
msgbox 0x834EF32 MSG_NORMAL '"Rawrarwarar!"
wildbattle 0xF4 0x32 0x8B
fadescreen 0x1
hidesprite LASTTALKED
setflag 0x200
fadescreen 0x0
release
end


'---------
' Strings
'---------
#org 0x34EF32
= Rawrarwarar!

The actual script itself is working fine, but I'm wondering what I would need to do to it to make it so that the legendary music plays in the battle with the Entei like it does with the three birds?

I've looked through the Zapdos script and tried different values of the wildbattle2 function but I've got nothing yet :/ I even tried copying the Zapdos script and changing the offsets but I couldn't get the messages to work correctly and it kept saying "The ZAPDOS ran away!" and such rather than Entei despite the buffer1 tag and stuff :/

Any ideas on how I'd go about doing that?
 
6
Posts
15
Years
  • Seen Aug 10, 2010
I'm trying out some more advance scripts, and of course, I got something wrong here. I hope I can receive some help on this. It's supposed to move someone next to the PLAYER and start a Pokemon Battle.

Base Game: Pokemon Ruby Version
Type: ...Activate Movement to Pokemon Battle?
Editor: PokeScript
Script: S Script (on Advance Map)

Spoiler:


The result: The player stops, but nothing else happens. Movement is disabled as well, so basically, it freezes.

So once again, I hope someone can help me. Thanks in advance.
 

Xela

Do you believe in yourself?
349
Posts
16
Years
  • Age 27
  • Seen Feb 18, 2024
When i try this in-game i get problems...

Base game: Pokemon Firered (U)
Type: You step on a script and it will only go once.
Editor: XSE
Script: Movement and text script.

Spoiler:
 

Pokepal17

More cowbell~
1,519
Posts
15
Years
I'm trying out some more advance scripts, and of course, I got something wrong here. I hope I can receive some help on this. It's supposed to move someone next to the PLAYER and start a Pokemon Battle.

Base Game: Pokemon Ruby Version
Type: ...Activate Movement to Pokemon Battle?
Editor: PokeScript
Script: S Script (on Advance Map)

Spoiler:


The result: The player stops, but nothing else happens. Movement is disabled as well, so basically, it freezes.

So once again, I hope someone can help me. Thanks in advance.

Okay on the script tile set the unknown to 0003 and var number to 4050

When i try this in-game i get problems...

Base game: Pokemon Firered (U)
Type: You step on a script and it will only go once.
Editor: XSE
Script: Movement and text script.

Spoiler:

What's wrong, if it's freezing please read my reply above.

OFF TOPIC: What is wrong wiht people, we're not psychic! So instead of saying your script is giving problems, use some common sense and tell us what they are! Read the rules please!
 

Xela

Do you believe in yourself?
349
Posts
16
Years
  • Age 27
  • Seen Feb 18, 2024
Nope. The script itself won't work. Istead there is appearing some text like rnadom letters and later it says you put a Poke/Great/Ultra ball in your pocket.

The meaning of the script is that msgbox starts in the script then you use a movement. I just came up on something. Maybe movement must happen first before the actual text begins?

EDIT: I got my script to work! No need to help me now.
 
Last edited:

Shun1

Started Project RGSShun
261
Posts
15
Years
Game: Pokémon Ruby
Type: Trigger when stepped on.
Editor: Pokescript
Script: Movement then Text then Movement again
Spoiler:

Screenshots and/or Videos: N/A screen turns black and nothing happens

Thanks in advance
 
Last edited:

Xela

Do you believe in yourself?
349
Posts
16
Years
  • Age 27
  • Seen Feb 18, 2024
Game: Pokémon Ruby
Type: Trigger when stepped on.
Editor: Pokescript
Script: Movement then Text then Movement again
Spoiler:

Screenshots and/or Videos: N/A screen turns black and nothing happens

Thanks in advance

Everything in the script seems to be really fine. Also the problems may be that the flag is already used? Or there is some small errors around the script (Maybe 0xfe is supposed to be uppercase like 0xFE?)
 
6
Posts
15
Years
  • Seen Aug 10, 2010
Okay on the script tile set the unknown to 0003 and var number to 4050
Well, I changed the var number to 4050 (and in the script), but the Unknown was already 3. Nothing else changed. And by the way, sorry. I can't post URLs yet. I was originally going to include Advance Map details.


Person Details:
Spoiler:


I don't think anything else is really important. lol I hope that clears up some of the confusion I caused.
 

Giratina the master

A Member looking for ROM help
94
Posts
15
Years
  • Seen Feb 8, 2010
um how can i make a no leving script and a trainer one and how can i know which dynamic goes there
 

Xela

Do you believe in yourself?
349
Posts
16
Years
  • Age 27
  • Seen Feb 18, 2024
Well, I changed the var number to 4050 (and in the script), but the Unknown was already 3. Nothing else changed. And by the way, sorry. I can't post URLs yet. I was originally going to include Advance Map details.


Person Details:
Spoiler:


I don't think anything else is really important. lol I hope that clears up some of the confusion I caused.

The Unknow isn't meant to be 3, its meant to be 0300.
 

0m3GA ARS3NAL

Im comin' home...
1,816
Posts
16
Years
The Unknow isn't meant to be 3, its meant to be 0300.

No, the Unknown is supposed to be set to 0003, and the Var Number set to 4050.
Please try not to give false information. (The reason it is 0003 and 4050, and not 0300 and 5040, is because with the latest A-Map update, (1.92) the bytes we displayed in this new way.)
 
6
Posts
15
Years
  • Seen Aug 10, 2010
The variable # is 4050 and the Unknown is 3. Nothing changed. I'll try to get a screenshot of the info soon. And, well, I hope I can get help soon. Thanks.
 

Crocky

SuperScarlet!
97
Posts
15
Years
  • Seen Jul 23, 2020
I need help with this gym leader script

Spoiler:
 

Giratina the master

A Member looking for ROM help
94
Posts
15
Years
  • Seen Feb 8, 2010
um i have truble with thid script
#dynamic 0x800000
#org @begin
lock
faceplayer
applymovement 0x[person event number 2 be moved] @movement1
its suppoesed to push you back but haw can i insert it via A map
 

sasquatchd00d

welcoming a clean head.
264
Posts
15
Years
I don't know what's wrong with this script?

Spoiler:


When I compile it, I get this:

Spoiler:


Why do all the extra movements show up?
 

Surf

...
1,196
Posts
15
Years
  • Age 29
  • Rust
  • Seen Jul 31, 2011
I don't know what's wrong with this script?

Spoiler:


When I compile it, I get this:

Spoiler:


Why do all the extra movements show up?


Fixed
Spoiler:

You have to close the movement with the movement FE
Okay?
 

sasquatchd00d

welcoming a clean head.
264
Posts
15
Years
Fixed
Spoiler:

You have to close the movement with the movement FE
Okay?

Ha, I knew that. I just forgot it. x_x
Thanks though. ^_^
 

Attilas

Anime-paradise.info Owner.
19
Posts
15
Years
  • Age 30
  • Seen Jun 1, 2011
This might not be a script question, but guys do you know if it is possible to insert an item image and then make a new item in fire red?
 
Status
Not open for further replies.
Back
Top