• 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.
18
Posts
15
Years
  • Seen Aug 13, 2011
I made this script to get the Eon Ticket, I think its perfect...
but I'm having trouble to find Old Sea Chart, Aurora/Mystery Ticket script and variable, can you give me a help??

Spoiler:
 

Popstar Leafeon

Rose's Protegé
104
Posts
15
Years
LG Running Shoes Blues...

Game: Leaf Green
Type: Person Event
Editor: XSE
Script:
Spoiler:


Okay, the problem here is that when I talk to MOM, who is the person who is telling you to put on your shoes, nothing pops up. You hear the usual sound when you talk to someone, but there's no text box. You can still walk around and leave the house, but you can't run. Will someone help me here, please?
 

Pokepal17

More cowbell~
1,519
Posts
15
Years
Game: Leaf Green
Type: Person Event
Editor: XSE
Script:

Spoiler:


Okay, the problem here is that when I talk to MOM, who is the person who is telling you to put on your shoes, nothing pops up. You hear the usual sound when you talk to someone, but there's no text box. You can still walk around and leave the house, but you can't run. Will someone help me here, please?

Changes in the script. It should work.
 
18
Posts
15
Years
  • Seen Aug 13, 2011
Sorry to ask this once more... but please I want to know...

I made this script to get the Eon Ticket, I think its perfect...
but I'm having trouble to find Old Sea Chart, Aurora/Mystery Ticket script and variable, can you give me a help??

Spoiler:
 

Ninja Caterpie

AAAAAAAAAAAAA
5,979
Posts
15
Years
ROM: FR
Script type: Trigger script
Script editor: XSE
Info: There are other trigger scripts on either sides of it which set 0x4000 to either 0x1 or 0x0. :\
Problem: It makes it sunny and then freezes. Even if I come in from the side that has 0x1 set. :\
Spoiler:
 

Darthatron

巨大なトロール。
1,152
Posts
18
Years
ROM: FR
Script type: Trigger script
Script editor: XSE
Info: There are other trigger scripts on either sides of it which set 0x4000 to either 0x1 or 0x0. :\
Problem: It makes it sunny and then freezes. Even if I come in from the side that has 0x1 set. :\
Spoiler:
If I'm not mistaken, there is no 0x12 weather codition. It only goes to 0xE. No doubt you're trying to set it to 12.

Anyway, what I'm trying to say is remove the 0x in setweather 0x12.

So...

Code:
'---------------
#org 0x168678
compare 0x4000 0x0
if 0x1 goto 0x82A2F90
setweather 12
doweather
release
end

'---------------
#org 0x2A2F90
setweather 0x2
doweather
end

...or...

Code:
'---------------
#org 0x168678
compare 0x4000 0x0
if 0x1 goto 0x82A2F90
setweather 0xC
doweather
release
end

'---------------
#org 0x2A2F90
setweather 0x2
doweather
end

...

Havinh "0x" infront of a number makes XSE think that it's a hex value, not decimal.
 

Ninja Caterpie

AAAAAAAAAAAAA
5,979
Posts
15
Years
If I'm not mistaken, there is no 0x12 weather codition. It only goes to 0xE. No doubt you're trying to set it to 12.

Anyway, what I'm trying to say is remove the 0x in setweather 0x12.

So...

Code:
'---------------
#org 0x168678
compare 0x4000 0x0
if 0x1 goto 0x82A2F90
setweather 12
doweather
release
end

'---------------
#org 0x2A2F90
setweather 0x2
doweather
end

...or...

Code:
'---------------
#org 0x168678
compare 0x4000 0x0
if 0x1 goto 0x82A2F90
setweather 0xC
doweather
release
end

'---------------
#org 0x2A2F90
setweather 0x2
doweather
end

...

Havinh "0x" infront of a number makes XSE think that it's a hex value, not decimal.

No, it still makes it sunny and freezes. :\

EDIT: I found it. I just didn't put release after the set and do weather in the section segment. Thing is, it only sets it to sunny and not the other way around. :\

Well, I tried to make it simpler, and have one script:

Spoiler:

No matter what, it sets the weather to sunny. :\
 
Last edited:

Hyunbin

w00t!~
166
Posts
17
Years
i'm using pokescript
and hacking firered
i'm having the player start off in an elevator
before anything, he is locked in place and an announcement is shown

i need to know how to make the script work right at the start of the game
and what i need to put it in my script to

~ play an announcement jingle
~ make the elevator "move", play the sound of the elevator moving
~ have the elevator "stop" and play the stopped sound
~ and play the ding dong sound when the elevator has reached a floor
 

Ninja Caterpie

AAAAAAAAAAAAA
5,979
Posts
15
Years
i'm using pokescript
and hacking firered
i'm having the player start off in an elevator
before anything, he is locked in place and an announcement is shown

i need to know how to make the script work right at the start of the game
and what i need to put it in my script to

~ play an announcement jingle
~ make the elevator "move", play the sound of the elevator moving
~ have the elevator "stop" and play the stopped sound
~ and play the ding dong sound when the elevator has reached a floor
1. This is only do-able in XSE

Anyway, decompile (open) the elevator script in the department store. Check how you make the elevator move and which sound the elevator-stop-music is. An announcement jingle would have to be found, though,
 

Hyunbin

w00t!~
166
Posts
17
Years
thank you
i'll download that right now =3

---

ok i'm having a problem
i'm using xse now

ok so this girl goes through this whole poking fiasco XD
and whenever i decline a pokemon from her, gibberish text comes up instead of what i want
also, after she DOES give me a pokemon, more gibberish comes up
i've bolded the problem areas
everything else works fine though

Code:
#dynamic 0x801C3D

#org @chrissy
checkflag 0x504
if 0x1 call @gotshileef
checkflag 0x500
if 0x1 call @poke2
msgbox @pokedialogue1 0x2
setflag 0x500
end

#org @poke2
checkflag 0x501
if 0x1 call @poke3
msgbox @pokedialogue2 0x2
setflag 0x501
end

#org @poke3
checkflag 0x502
if 0x1 call @poke4
msgbox @pokedialogue3 0x2
setflag 0x502
end

#org @poke4
checkflag 0x503
if 0x1 call @poke5
msgbox @pokedialogue4 0x2
setflag 0x503
end

#org @poke5
lock
faceplayer
msgbox @pokedialogue5 0x5
compare LASTRESULT 0x1
if 0x1 goto @yes
msgbox @no 0x2
end

#org @yes
countpokemon
compare LASTRESULT 0x6
if 0x1 call @full
msgbox @giveshileef 0x4
givepokemon 0xCD 0x5 0x0 0x0 0x0 0x0
fanfare 0x13F
waitfanfare
closeonkeypress
setflag 0x504
msgbox @nickname 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @now 0x2
end

[b]#org @no
msgbox @ohh 0x2
end[/b]

#org @full
msgbox @sorry 0x2
end

#org @gotshileef
msgbox @after 0x2
end

#org @name
call 0x1A74EB
return

[b]#org @now
msgbox @last 0x2
end[/b]

#org @pokedialogue1
= Eeeeep!

#org @pokedialogue2
= Aaaaaahhhhhhh!!

#org @pokedialogue3
= Eeeeeeeeeeeeeep!!!\pCHRISSY: Can I help you!?

#org @pokedialogue4
= Eee! Eee!! Eeeeeeeeeeep!!!\nNOOOOOOOOOO!!!!

#org @pokedialogue5
= EEEEEEEEEEEEEEEEP!!!!!!!!\pCHRISSY: If I give you something\nwill you promise to please stop\lpoking me?

[b]#org @ohh
= Ohh... okay then. Eep![/b]

#org @giveshileef
= CHRISSY gave [player] a SHILEEF!

#org @nickname
= Would you like to give a\nnickname to SHILEEF?

[b]#org @last
= Why don't you go poke GUARINO now?[/b]

#org @sorry
= Oh, your party is full.\pEep!

#org @after
= EEEEEEEPP!!!!!!!\pCHRISSY: Will you PLEASE stop\npoking me!?
 
Last edited:

Larsie13

Guest
0
Posts
thank you
i'll download that right now =3

---

ok i'm having a problem
i'm using xse now

ok so this girl goes through this whole poking fiasco XD
and whenever i decline a pokemon from her, gibberish text comes up instead of what i want
also, after she DOES give me a pokemon, more gibberish comes up
i've bolded the problem areas
everything else works fine though

Code:
#dynamic 0x801C3D

#org @chrissy
checkflag 0x504
if 0x1 call @gotshileef
checkflag 0x500
if 0x1 call @poke2
msgbox @pokedialogue1 0x2
setflag 0x500
end

#org @poke2
checkflag 0x501
if 0x1 call @poke3
msgbox @pokedialogue2 0x2
setflag 0x501
end

#org @poke3
checkflag 0x502
if 0x1 call @poke4
msgbox @pokedialogue3 0x2
setflag 0x502
end

#org @poke4
checkflag 0x503
if 0x1 call @poke5
msgbox @pokedialogue4 0x2
setflag 0x503
end

#org @poke5
lock
faceplayer
msgbox @pokedialogue5 0x5
compare LASTRESULT 0x1
if 0x1 goto @yes
msgbox @no 0x2
end

#org @yes
countpokemon
compare LASTRESULT 0x6
if 0x1 call @full
msgbox @giveshileef 0x4
givepokemon 0xCD 0x5 0x0 0x0 0x0 0x0
fanfare 0x13F
waitfanfare
closeonkeypress
setflag 0x504
msgbox @nickname 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @now 0x2
end

[b]#org @no
msgbox @ohh 0x2
end[/b]

#org @full
msgbox @sorry 0x2
end

#org @gotshileef
msgbox @after 0x2
end

#org @name
call 0x1A74EB
return

[b]#org @now
msgbox @last 0x2
end[/b]

#org @pokedialogue1
= Eeeeep!

#org @pokedialogue2
= Aaaaaahhhhhhh!!

#org @pokedialogue3
= Eeeeeeeeeeeeeep!!!\pCHRISSY: Can I help you!?

#org @pokedialogue4
= Eee! Eee!! Eeeeeeeeeeep!!!\nNOOOOOOOOOO!!!!

#org @pokedialogue5
= EEEEEEEEEEEEEEEEP!!!!!!!!\pCHRISSY: If I give you something\nwill you promise to please stop\lpoking me?

[b]#org @ohh
= Ohh... okay then. Eep![/b]

#org @giveshileef
= CHRISSY gave [player] a SHILEEF!

#org @nickname
= Would you like to give a\nnickname to SHILEEF?

[b]#org @last
= Why don't you go poke GUARINO now?[/b]

#org @sorry
= Oh, your party is full.\pEep!

#org @after
= EEEEEEEPP!!!!!!!\pCHRISSY: Will you PLEASE stop\npoking me!?

Seems pretty obvious to me. Look at what you typed:
Code:
msgbox @no 0x2

#org @no
msgbox @ohh 0x2
end
See the error? Instead of a message at @no, you put an entirely new script there. Change it to:
Code:
msgbox @no 0x2

#org @no
= Ohh... okay then. Eep!
Same goes for @now and @last.
 
18
Posts
15
Years
  • Seen Aug 13, 2011
Finally I made the Eon/Aurora/Mystic Ticket and Old Sea Map scripts...

Now I want to make a Roaming pokemon script (just like entei/raikou/suicune in gold & silver versions) anybody can help me??
 

Hoshiko Aki

Avatar rules
109
Posts
15
Years
  • Seen Oct 17, 2011
#dynamic 0x3B4E4E
#org @Start
lock
faceplayer
checkflag 0x200
compare LASTRESULT 0x1
if 0x1 goto @AlreadyLearnt
msgbox @WantToLearn
boxset 0x5
compare LASTRESULT 0x0
if 0x1 goto @DontWant
setvar 0x8005 0x1 ' 0x1D00
special 0x18D
setflag 0x200
release
end


this is a move tutor script it most give you a Headbutt move

This script is not rigth he say too less parameter on line 8
can some buddy help me? and how can i make a tekst script on in after leard the move?
 

Popstar Leafeon

Rose's Protegé
104
Posts
15
Years
Spoiler:


Tell me if this works for you, Ichiro.
 

tImE

It's still me, 44tim44 ;)
673
Posts
17
Years
Game:Ruby_USA AXVE
Type:Script (Step-on)
Editor:XSE
Script:
Spoiler:

After
"#org @move1
#raw 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x03 0xFE"
The player turns right for absolutly no reason at all.
I can't figure out what's wrong.

Screenshots and/or Videos: Attachment

I'm bumping myself as Hiche couldn't help me and
this was ignored by the rest.

I hope someone can help me.

(If you want to see the screen, go to the original post)
 

Hoshiko Aki

Avatar rules
109
Posts
15
Years
  • Seen Oct 17, 2011
Spoiler:


Tell me if this works for you, Ichiro.

Now the boxset 0x5 is wrong :S he say he don't know boxset
 

Andryandrew

Italian Asm Hacker
117
Posts
16
Years
  • Age 30
  • Seen Jul 4, 2015
I'm bumping myself as Hiche couldn't help me and
this was ignored by the rest.

I hope someone can help me.

(If you want to see the screen, go to the original post)

I'm not sure, but I think "msgbox @itsme 0x2" should be changed in "msgbox @itsme 0x6"
 
Status
Not open for further replies.
Back
Top