The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > ROM Hacking Hub
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

ROM Hacking Hub General discussions about ROM Hacking and Emulation. Not sure where to start? This is the place for you.
Posting links to ROMs is illegal and is not tolerated anywhere on the forum.
New threads in this forum are to be approved by a moderator before they are displayed.

Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #176    
Old January 3rd, 2009, 05:51 AM
Hiche..
 
 
Join Date: Apr 2008
Quote:
Originally Posted by 44tim44 View Post
Game:Ruby_USA AXVE
Type:Script (Step-on)
Editor:XSE
Script:
Spoiler:
#dynamic 0x800000

#org @start
lock
checkflag 0x1012
if b_true goto 0x8800725
showsprite 0x1
msgbox @hey1 0x2
applymovement 0xFF @playermove1
waitmovement 0x0
playsong 0x19F 0x0
applymovement 0x1 @move1
waitmovement 0x0
msgbox @itsme 0x2
applymovement 0x1 @move2
waitmovement 0x0
sound 0x12
hidesprite 0x1
fadesong 0x167
setflag 0x1012
release
end

#org @hey1
= ???: HEY! [player]!

#org @itsme
= Sapphire: Hi, [player].\nYou sure are fast...\lPhew...\pYou remember me don't ya?\nIt's me Sapphire, your neighbour.\pAnyway, I heard from your father\nthat you'd left on a journey.\pSo I thought ["]Eh, what the heck."\nAnd I decided to come along with\lyou.\pSo... What are we waiting for?\lLet's go into the woods!

#org @playermove1
#raw 0x02 0x57 0xFE

#org @move1
#raw 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x03 0xFE

#org @move2
#raw 0x08 0x0B 0xFE

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
#raw 0x03 means step right, which is here; #raw 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x03 0xFE. I do not know if this is the problem.
  #177    
Old January 3rd, 2009, 06:23 AM
The Riddler's Avatar
The Riddler
Life returns. Life prevails.
 
Join Date: Aug 2008
Location: Ptuj, Slovenia.
Gender: Male
Nature: Naughty
Hi! I used Hiche's Rock Climb via Vine Whip:
#dynamic 0x26D38E

#org @1
#raw 0x7C 0x16 0x00
compare 0x800D 0x06
if 0x1 call @end
#raw 0x9D 0x00 0x0D 0x80
message @ha
boxset 5
compare LASTRESULT 0
if 0x1 goto @end
#raw 0x68
#raw 0x9C 0x25 0x00
waitstate
#raw 0x17 0x00 0x80 0x01 0x00
goto @jump
#org @jump
compare 0x8000 0x01
if 0x4 goto @move
release
end
#org @end
release
end
#org @move
applymovement 0xFF @move1
waitmovement 0x0
#raw 0x18 0x00 0x80 0x01 0x00
goto @jump

#org @ha
= It's some climbable rocks!\pWant to use VINE WHIP to\nclimb down them?

#org @move1
#raw 0x1D 0x1D 0x1D 0xFE
But when I tryed to compile it it says:
"Too less parameters on line 8.The correct number is 2."
Please help
__________________
Pokémon Twisted Mind
  #178    
Old January 3rd, 2009, 06:25 AM
tImE's Avatar
tImE
It's still me, 44tim44 ;)
 
Join Date: Mar 2007
Location: Somewhere in Scandinavia...
Age: 20
Nature: Relaxed
Quote:
Originally Posted by Hiche View Post
#raw 0x03 means step right, which is here; #raw 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x03 0xFE. I do not know if this is the problem.
No, that's no the problem.
That movement is only affecting "May" or "People no 1",
not the player.
Thanks anyway.

I still have problem with this,
so help wold be awsome.
__________________
  #179    
Old January 3rd, 2009, 06:59 AM
diegoisawesome's Avatar
diegoisawesome
Please understand
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky
Quote:
Originally Posted by ~FunHouse~ View Post
Hi! I used Hiche's Rock Climb via Vine Whip:
Code:
#dynamic 0x26D38E

#org @1
#raw 0x7C 0x16 0x00
compare 0x800D 0x06
if 0x1 call @end
#raw 0x9D 0x00 0x0D 0x80
message @ha 0x5
compare LASTRESULT 0
if 0x1 goto @end
#raw 0x68
#raw 0x9C 0x25 0x00
waitstate
#raw 0x17 0x00 0x80 0x01 0x00
goto @jump
#org @jump
compare 0x8000 0x01
if 0x4 goto @move
release
end

#org @end
release
end

#org @move
applymovement 0xFF @move1
waitmovement 0x0
#raw 0x18 0x00 0x80 0x01 0x00
goto @jump

#org @ha
= It's some climbable rocks!\pWant to use VINE WHIP to\nclimb down them?

#org @move1
#raw 0x1D 0x1D 0x1D 0xFE
But when I tried to compile it it says:
"Too less parameters on line 8.The correct number is 2."
Please help
The new XSE includes the boxsets on the message line. Try it now.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
  #180    
Old January 3rd, 2009, 07:13 AM
Beab
Beginning Trainer
 
Join Date: Jul 2007
Gender:
Nature: Lax
This isn't a script request, but I can't find this anywhere I look. I need to know how to make it so that after you talk to someone, they move. I can do that, but when I go back in the same room they were in, they're back before they moved.

ROM: Fire Red
Version: 1.0
Script Editor: XSE
Script Type: Person Event
Script:
Quote:
'---------------
#dynamic 0x2D6A20
#org @start
lock
faceplayer
checkflag 0x82F
if 0x1 goto @findgood
msgbox @1 MSG_FACE '"[rival]: Oh, you're awake.\nHey, l..."
msgbox @2 MSG_FACE '"Oh, and I know that you're in\na h..."
msgbox @3 MSG_FACE '"[player] received running shoes!\n"
setflag 0x82F
applymovement 0x1 0x831CC8E
waitmovement 0x0
release
end

#org @findgood
msgbox @4 MSG_FACE
release
end

'---------
' Strings
'---------
#org @1
= [rival]: Oh, you're awake.\nHey, listen, Good called. He said \pthat he needed to talk to you about\nsomething.\p

#org @2
= Oh, and I know that you're in\na hurry, so take these:\p

#org @3
= [player] received running shoes!\n

#org @4
= Good's house is in the north western part of town.

'-----------
' Movements
'-----------
#org 0x31CC8E
#raw 0x10 'Step Down (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0xFE 'End of Movements
  #181    
Old January 3rd, 2009, 07:46 AM
ShakawBR
Beginning Trainer
 
Join Date: May 2008
Gender:
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:
#dynamic 0x800000

#org @start
trainerbattle 0x1 0x353 0x0 @intro @defeat @after
msgbox @msg 0x2
end

#org @after
msgbox 0x8273594 MSG_KEEPOPEN
giveitem 0x113 0x1 MSG_OBTAIN
setflag 0x8B3
setvar 0x403F 0x0
msgbox 0x82735F2 MSG_KEEPOPEN
end

#org @intro
= I'm XXX!\nLet's battle!

#org @defeat
= ...

#org @msg
= Haaaay!\nI'm XXX.

#org 0x273594
= Wow! You're pretty good... There\nis a ticket here for you

#org 0x2735F2
= It appears to be for use at\nthe LILYCOVE CITY port.\pWhy not give it a try and see what\nit is about?
  #182    
Old January 3rd, 2009, 10:35 AM
Popstar Leafeon's Avatar
Popstar Leafeon
Rose's Protegé
 
Join Date: Dec 2008
Location: Autumn Villa, Twi Region
Age: 23
Gender: Male
Nature: Timid
Game: Leaf Green
Type: Person Event
Editor: XSE
Script:
Spoiler:
#org 0x1F06D0
lock
faceplayer
checkflag 0x82F
if 0x0 goto 0x1F0F6C
if 0x1 goto 0x1F0F8D
msgbox 0x1F0F4C 0x6
release
end

#org 0x1F0F6C
fanfare 0x13E
waitfanfare
setflag 0x82F
msgbox 0x1F0FAD 0x6
release
end

#org 0x1F0F8D
msgbox 0x1F0F9D 0x6
end

#org 0x1F0F4C
= Before I forget, put on your\nrunning shoes, [player].

#org 0x1F0FAD
= You put on your running shoes! Hold \nB to run!

#org 0x1F0F9D
= You already put on your running shoes.


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?
__________________
Why is the rum always gone?






  #183    
Old January 3rd, 2009, 10:58 AM
Pokepal17's Avatar
Pokepal17
More cowbell~
 
Join Date: Oct 2008
Location: Steeltown
Age: 20
Gender: Male
Nature: Modest
Quote:
Originally Posted by Autumn Skye View Post
Game: Leaf Green
Type: Person Event
Editor: XSE
Script:

Spoiler:
#org 0x1F06D0
lock
faceplayer
checkflag 0x82F
if 0x0 goto 0x1F0F6C
if 0x1 goto 0x1F0F8D
msgbox 0x1F0F4C 0x6
release
end

#org 0x1F0F6C
fanfare 0x13E
msgbox 0x1F0FAD 0x4
waitfanfare
closeonkeypress
setflag 0x82F
release
end

#org 0x1F0F8D
msgbox 0x1F0F9D 0x6
end

#org 0x1F0F4C
= Before I forget, put on your\nrunning shoes, [player].

#org 0x1F0FAD
= You put on your running shoes! Hold \nB to run!

#org 0x1F0F9D
= You already put on your running shoes.


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.
__________________
Pokémon Stardrop
  #184    
Old January 3rd, 2009, 11:02 AM
Popstar Leafeon's Avatar
Popstar Leafeon
Rose's Protegé
 
Join Date: Dec 2008
Location: Autumn Villa, Twi Region
Age: 23
Gender: Male
Nature: Timid
Thanks, but unfortunately, it's still acting the way it did before... What's wrong with it?
__________________
Why is the rum always gone?






  #185    
Old January 4th, 2009, 03:26 PM
ShakawBR
Beginning Trainer
 
Join Date: May 2008
Gender:
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:
#dynamic 0x800000

#org @start
trainerbattle 0x1 0x353 0x0 @intro @defeat @after
msgbox @msg 0x2
end

#org @after
msgbox 0x8273594 MSG_KEEPOPEN
giveitem 0x113 0x1 MSG_OBTAIN
setflag 0x8B3
setvar 0x403F 0x0
msgbox 0x82735F2 MSG_KEEPOPEN
end

#org @intro
= I'm XXX!\nLet's battle!

#org @defeat
= ...

#org @msg
= Haaaay!\nI'm XXX.

#org 0x273594
= Wow! You're pretty good... There\nis a ticket here for you

#org 0x2735F2
= It appears to be for use at\nthe LILYCOVE CITY port.\pWhy not give it a try and see what\nit is about?
  #186    
Old January 4th, 2009, 04:38 PM
Popstar Leafeon's Avatar
Popstar Leafeon
Rose's Protegé
 
Join Date: Dec 2008
Location: Autumn Villa, Twi Region
Age: 23
Gender: Male
Nature: Timid
[solved] Thanks to diegoisawesome! ^.^
__________________
Why is the rum always gone?






  #187    
Old January 4th, 2009, 07:40 PM
Ninja Caterpie's Avatar
Ninja Caterpie
Sitting by the back window
 
Join Date: Mar 2008
Location: Best City OCE
Age: 18
Gender: Male
Nature: Bold
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:
'---------------
#org 0x168678
compare 0x4000 0x0
if 0x1 goto 0x82A2F90
setweather 0x12
doweather
release
end

'---------------
#org 0x2A2F90
setweather 0x2
doweather
end
__________________
Brony represent.
  #188    
Old January 4th, 2009, 07:50 PM
Darthatron's Avatar
Darthatron
巨大なトロール。
Community Supporter
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Quote:
Originally Posted by Ninja Caterpie View Post
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:
'---------------
#org 0x168678
compare 0x4000 0x0
if 0x1 goto 0x82A2F90
setweather 0x12
doweather
release
end

'---------------
#org 0x2A2F90
setweather 0x2
doweather
end
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.
__________________
あなた は しきしゃ です
わたし は ばか です
  #189    
Old January 4th, 2009, 11:31 PM
Ninja Caterpie's Avatar
Ninja Caterpie
Sitting by the back window
 
Join Date: Mar 2008
Location: Best City OCE
Age: 18
Gender: Male
Nature: Bold
Quote:
Originally Posted by Darthatron View Post
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:
'---------------
#org 0x168678
compare PLAYERFACING 0x3
if 0x1 goto 0x82DD329
setweather 0xC
doweather
release
end

'---------------
#org 0x2DD329
setweather 0x2
doweather
release
end

No matter what, it sets the weather to sunny. :\
__________________
Brony represent.

Last edited by Ninja Caterpie; January 4th, 2009 at 11:47 PM.
  #190    
Old January 5th, 2009, 06:40 PM
Hyunbin's Avatar
Hyunbin
w00t!~
 
Join Date: Jun 2006
Location: new york
Age: 24
Gender:
Nature: Naughty
Send a message via AIM to Hyunbin Send a message via Windows Live Messenger to Hyunbin
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
__________________


  #191    
Old January 5th, 2009, 07:10 PM
Ninja Caterpie's Avatar
Ninja Caterpie
Sitting by the back window
 
Join Date: Mar 2008
Location: Best City OCE
Age: 18
Gender: Male
Nature: Bold
Quote:
Originally Posted by Hyunbin View Post
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,
__________________
Brony represent.
  #192    
Old January 5th, 2009, 10:15 PM
Hyunbin's Avatar
Hyunbin
w00t!~
 
Join Date: Jun 2006
Location: new york
Age: 24
Gender:
Nature: Naughty
Send a message via AIM to Hyunbin Send a message via Windows Live Messenger to Hyunbin
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

#org @no
msgbox @ohh 0x2
end

#org @full
msgbox @sorry 0x2
end

#org @gotshileef
msgbox @after 0x2
end

#org @name
call 0x1A74EB
return

#org @now
msgbox @last 0x2
end

#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?

#org @ohh
= Ohh... okay then. Eep!

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

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

#org @last
= Why don't you go poke GUARINO now?

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

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



Last edited by Hyunbin; January 6th, 2009 at 01:50 AM.
  #193    
Old January 6th, 2009, 05:48 AM
Larsie13
Gone
 
Join Date: Oct 2006
Location: The Netherlands
Age: 23
Nature: Modest
Quote:
Originally Posted by Hyunbin View Post
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

#org @no
msgbox @ohh 0x2
end

#org @full
msgbox @sorry 0x2
end

#org @gotshileef
msgbox @after 0x2
end

#org @name
call 0x1A74EB
return

#org @now
msgbox @last 0x2
end

#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?

#org @ohh
= Ohh... okay then. Eep!

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

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

#org @last
= Why don't you go poke GUARINO now?

#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.
  #194    
Old January 6th, 2009, 07:00 AM
ShakawBR
Beginning Trainer
 
Join Date: May 2008
Gender:
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??
  #195    
Old January 6th, 2009, 07:06 AM
Hoshiko Aki's Avatar
Hoshiko Aki
Avatar rules
 
Join Date: Oct 2008
#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?
  #196    
Old January 6th, 2009, 08:40 AM
Popstar Leafeon's Avatar
Popstar Leafeon
Rose's Protegé
 
Join Date: Dec 2008
Location: Autumn Villa, Twi Region
Age: 23
Gender: Male
Nature: Timid
Spoiler:
#dynamic 0x3B4E4E
#org @Start
lock
faceplayer
checkflag 0x200
compare LASTRESULT 0x1
if 0x1 goto @AlreadyLearnt
msgbox @WantToLearn 0x6
boxset 0x5
compare LASTRESULT 0x0
if 0x1 goto @DontWant
setvar 0x8005 0x1 ' 0x1D00
special 0x18D
setflag 0x200
release
end


Tell me if this works for you, Ichiro.
__________________
Why is the rum always gone?






  #197    
Old January 6th, 2009, 08:46 AM
tImE's Avatar
tImE
It's still me, 44tim44 ;)
 
Join Date: Mar 2007
Location: Somewhere in Scandinavia...
Age: 20
Nature: Relaxed
Quote:
Originally Posted by 44tim44 View Post
Game:Ruby_USA AXVE
Type:Script (Step-on)
Editor:XSE
Script:
Spoiler:
#dynamic 0x800000

#org @start
lock
checkflag 0x1012
if b_true goto 0x8800725
showsprite 0x1
msgbox @hey1 0x2
applymovement 0xFF @playermove1
waitmovement 0x0
playsong 0x19F 0x0
applymovement 0x1 @move1
waitmovement 0x0
msgbox @itsme 0x2
applymovement 0x1 @move2
waitmovement 0x0
sound 0x12
hidesprite 0x1
fadesong 0x167
setflag 0x1012
release
end

#org @hey1
= ???: HEY! [player]!

#org @itsme
= Sapphire: Hi, [player].\nYou sure are fast...\lPhew...\pYou remember me don't ya?\nIt's me Sapphire, your neighbour.\pAnyway, I heard from your father\nthat you'd left on a journey.\pSo I thought ["]Eh, what the heck."\nAnd I decided to come along with\lyou.\pSo... What are we waiting for?\lLet's go into the woods!

#org @playermove1
#raw 0x02 0x57 0xFE

#org @move1
#raw 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x03 0xFE

#org @move2
#raw 0x08 0x0B 0xFE

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)
__________________
  #198    
Old January 6th, 2009, 08:51 AM
Hoshiko Aki's Avatar
Hoshiko Aki
Avatar rules
 
Join Date: Oct 2008
Quote:
Originally Posted by Autumn Skye View Post
Spoiler:
#dynamic 0x3B4E4E
#org @Start
lock
faceplayer
checkflag 0x200
compare LASTRESULT 0x1
if 0x1 goto @AlreadyLearnt
msgbox @WantToLearn 0x6
boxset 0x5
compare LASTRESULT 0x0
if 0x1 goto @DontWant
setvar 0x8005 0x1 ' 0x1D00
special 0x18D
setflag 0x200
release
end


Tell me if this works for you, Ichiro.
Now the boxset 0x5 is wrong he say he don't know boxset
  #199    
Old January 6th, 2009, 08:55 AM
Popstar Leafeon's Avatar
Popstar Leafeon
Rose's Protegé
 
Join Date: Dec 2008
Location: Autumn Villa, Twi Region
Age: 23
Gender: Male
Nature: Timid
Hm... Well, I did my best. I'm still just a beginner at scripting myself... Sorry.
__________________
Why is the rum always gone?






  #200    
Old January 6th, 2009, 01:44 PM
Andryandrew
Italian Asm Hacker
 
Join Date: Mar 2007
Age: 21
Gender:
Nature: Timid
Quote:
Originally Posted by 44tim44 View Post
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"
__________________

Sorry for my bad English... I'm Italian
Anybody that is a GBA ASM hacker is cool!
I'm a GBA ASM hacker --> I'm cool :D

Made Day-Night Routine! You can find the thread HERE
Closed Thread
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 02:24 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.