Go Back   The PokéCommunity Forums > ROM Hacking > ROM Hacking Hub

Notices
For all updates, view the main page.

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
  #5226    
Old February 4th, 2011 (03:50 PM). Edited February 5th, 2011 by leogrecchi.
leogrecchi
 
Join Date: Oct 2010
Gender: Male
EDIT: Nevermind, already found what was wrong, it worked by changing trainer's battle sprite
  #5227    
Old February 4th, 2011 (08:17 PM). Edited February 4th, 2011 by colcolstyles.
Shukumei's Avatar
Shukumei
Teh Haxxorz
 
Join Date: Nov 2009
Location: Austin TX.
Gender: Male
Nature: Quiet
I'm having trouble with a custom pokemon center script.
I compiled this script into a FR rom and then went into Nurse Joy's options in Advance Map and changed her script offset to the hex address of @welcome but when I go to play it and I talk to her it just gives me the little text bleep but doesn't show any text. And even though I put a lockall command at the start of my script, no one locks.

Don't worry about the content of the messages. They're not what I have in the original script. They're just placeholders to show you what should be happening.

Code:
#dynamic 0x800000

#org @welcome
lockall
faceplayer
msgbox @hello 0x6
checkgender
compare 0x800D 0x0
if 0x1 goto @boy
msgbox @girlM 0x5
compare 0x800D 0x0
if 0x0 goto @yesF
goto @no
end

#org @boy
msgbox @boyM 0x5
compare 0x800D 0x0
if 0x0 goto @yesM
goto @no
end

#org @no
msgbox @deny 0x06
release
end

#org @yesF
Msgbox @agree 0x6
fadescreen 0x1
Msgbox @headf 0x6
special 0x0
fadescreen 0x0
goto @end
end

#org @yesM
Msgbox @agree 0x6
fadescreen 0x1
Msgbox @headm 0x6
special 0x0
fadescreen 0x0
goto @end
end

#org @end
msgbox @goodbye 0x6
release
end

#org @hello
= This should show when you talk to her

#org @girlM
= This should show if you're female

#org @boyM
= This should show if you're male

#org @deny
= This should show if you decide not to heal

#org @agree
= This should show before the screen fade if you decide to heal

#org @headf
= This should show while the screen is black if you're female

#org @headm
= This should show while the screen is black if you're male

#org @goodbye
= This should show after your pokemon are healed
Update: I tried it in saphire too and it did the exact same thing so either it's a problem with XSE, Advance Map, or what I truely expect; I'm just rusty and I screwed up my script.
__________________
(Enter clever observation here)
Shukumei's PokePet

Shade the level 50 Umbreon!
  #5228    
Old February 5th, 2011 (04:23 AM).
Wiznatts's Avatar
Wiznatts
 
Join Date: Dec 2010
Gender: Male
So I was playing around with Hack Mew's Shinyzer, and making wild/giveaway Pokemon shiny is working for me just fine, but apparently I don't get how to call it for trainers. I wanted to test it out on the first trainer in FireRed (Bug Catcher w/ Weedle and Caterpie) and make the Caterpie shiny. However when I use this, it comes up with a completely different battle and no shiny Pokemon.
Code:
#dynamic 0x800000
'---------------
#org @start
setvar 0x8003 0x102
trainerbattle 0x0 0x66 0x0 @first @second
msgbox @defeated 0x2 "Ssh! You'll scare the bugs away.\n..."
end


'---------
' Strings
'---------
#org @first
= Hey! You have POKéMON!\nCome on!\lLet's battle 'em!

#org @second
= No!\nCATERPIE can't hack it!

#org @defeated
= Ssh! You'll scare the bugs away.\nAnother time, okay?
I wanted to be able to give Gym Leaders a shiny as their strongest Pokemon, but since this seems like it should be so easy I can't figure out what is wrong.
  #5229    
Old February 5th, 2011 (06:18 PM).
RollWithTheDice
Beginning Trainer
 
Join Date: Feb 2011
Gender: Male
Right, I am wondering how to display text after I have just called the givepokmon function. I've tried and tried and still had no luck.. Anyway care to help me on this script?

Code:
#ORG $givePokemonScript
lock
faceplayer
checkflag 0x202
if B_TRUE goto $claimedPokemon
message $askPlayer
$askPlayer 1 = Would you like to look after my Mew?
boxset 5
compare 0x800D 0x0001
if 0x01 goto $givePokemon
message $ansNo
$ansNo 1 = Come back if you change your mind!
boxset 6
release
end

#ORG $claimedPokemon
lock
faceplayer
message $claimed
$claimed 1 = You have already have my Mew!
boxset 6
release
end

#ORG $givePokemon
lock
faceplayer
givepokemon 151 10 0x00
setflag 0x202
fanfare 0x13E
message $giving
$giving 1 = You have obtained Mew!
release
end

(Started learning last night!)
  #5230    
Old February 5th, 2011 (08:22 PM).
Blaziquaza's Avatar
Blaziquaza
...
 
Join Date: Jun 2009
Location: Whyalla, Australia
Gender: Male
Nature: Jolly
What would a Vs Seeker battle's script be?
__________________
Everything you say to me pushes one step closer to the edge



And I'm about to break
I need a little room to breathe...

Steam IGN: Hybrid Theory
  #5231    
Old February 7th, 2011 (09:09 AM).
Shukumei's Avatar
Shukumei
Teh Haxxorz
 
Join Date: Nov 2009
Location: Austin TX.
Gender: Male
Nature: Quiet
Quote originally posted by RollWithTheDice:
Right, I am wondering how to display text after I have just called the givepokmon function. I've tried and tried and still had no luck.. Anyway care to help me on this script?

Code:
#ORG $givePokemonScript
lock
faceplayer
checkflag 0x202
if B_TRUE goto $claimedPokemon
message $askPlayer
$askPlayer 1 = Would you like to look after my Mew?
boxset 5
compare 0x800D 0x0001
if 0x01 goto $givePokemon
message $ansNo
$ansNo 1 = Come back if you change your mind!
boxset 6
release
end

#ORG $claimedPokemon
lock
faceplayer
message $claimed
$claimed 1 = You have already have my Mew!
boxset 6
release
end

#ORG $givePokemon
lock
faceplayer
givepokemon 151 10 0x00
setflag 0x202
fanfare 0x13E
message $giving
$giving 1 = You have obtained Mew!
release
end
(Started learning last night!)
Great to see a new scripter just starting out. I re-tooled your script. Try it now.

Code:
#dynamic 0x800000

#ORG @givePokemonScript
lock
faceplayer
checkflag 0x202
if B_TRUE goto @claimedPokemon
msgbox @askPlayer 0x5
compare 0x800D 0x1
if 0x01 goto @givePokemon
msgbox @ansNo 0x6
release
end

#ORG @claimedPokemon
lock
faceplayer
msgbox @claimed 0x6
release
end

#ORG @givePokemon
lock
faceplayer
givepokemon 151 10 0x00
setflag 0x202
fanfare 0x13E
msgbox @giving 0x6
release
end

#org @askplayer
= Would you like to look after my\nMEW?

#org @ansNo
= Come back if you change your mind!

#org @claimed
= You have already have my MEW!

#org @giving
= You have obtained MEW!
__________________
(Enter clever observation here)
Shukumei's PokePet

Shade the level 50 Umbreon!
  #5232    
Old February 7th, 2011 (10:51 AM).
Binary's Avatar
Binary
え?
 
Join Date: Aug 2007
Age: 20
Well yeah, but RollWithTheDice's script was written for Pokescript.
Quote originally posted by RollWithTheDice:
(Started learning last night!)
I'd recommend using XSE. Plenty of useful tutorials in the Tutorials section. ;D
__________________
  #5233    
Old February 7th, 2011 (11:07 AM).
Skara's Avatar
Skara
THIS. IS. SEMPITERNAL.
 
Join Date: Dec 2008
Location: Manchester, England
Age: 19
Gender: Male
Nature: Timid
I need urgent help for my hack, Pokémon Nyx.
Basically, the Professor is absent for reasons that I can't go into (spoilers) and so he just leaves a Pokéball on the table with a note. Now I need an event to obtain the Pokédex. My script generator doesn't have such a command, I'm crap at scripting and need help. Badly.
__________________
I'VE LEFT THIS ACCOUNT. Here is my new profile
  #5234    
Old February 7th, 2011 (01:49 PM).
DrFuji's Avatar
DrFuji
Helfen, Wehren, Heilen
Community Supporter
 
Join Date: Sep 2009
Location: Upside-downia
Age: 22
Gender: Male
Nature: Jolly
Quote originally posted by Skara:
I need urgent help for my hack, Pokémon Nyx.
Basically, the Professor is absent for reasons that I can't go into (spoilers) and so he just leaves a Pokéball on the table with a note. Now I need an event to obtain the Pokédex. My script generator doesn't have such a command, I'm crap at scripting and need help. Badly.
Which game are you using?
__________________
  #5235    
Old February 7th, 2011 (02:08 PM).
destinedjagold's Avatar
destinedjagold
Oh Hai Thar~ 'ω'
Community Supporter
 
Join Date: May 2007
Location: Philippines
Gender: Male
Nature: Careful
Quote originally posted by Blaziquaza:
What would a Vs Seeker battle's script be?
I suggest opening your ROM through Advance Map and look at the script of trainers that can be battled through VS Seeker.
__________________
#495 Snivy
Supporter Collab January 2015



  #5236    
Old February 7th, 2011 (03:01 PM).
Skara's Avatar
Skara
THIS. IS. SEMPITERNAL.
 
Join Date: Dec 2008
Location: Manchester, England
Age: 19
Gender: Male
Nature: Timid
Quote originally posted by DrFuji:
Which game are you using?
I'm using a FireRed rom. Basically, you have to go into the city centre and pick up a Sewaddle. The Professor is absent (spoilers) and so you need to get the Pokédex from the table. How do I do a recieved PokéDex script?
__________________
I'VE LEFT THIS ACCOUNT. Here is my new profile
  #5237    
Old February 7th, 2011 (03:24 PM).
DrFuji's Avatar
DrFuji
Helfen, Wehren, Heilen
Community Supporter
 
Join Date: Sep 2009
Location: Upside-downia
Age: 22
Gender: Male
Nature: Jolly
Quote originally posted by Skara:
I'm using a FireRed rom. Basically, you have to go into the city centre and pick up a Sewaddle. The Professor is absent (spoilers) and so you need to get the Pokédex from the table. How do I do a recieved PokéDex script?
The Pokedex (along with a few other things such as badges, running shoes and the Party Menu option) are unlocked either through flags or specials. To unlock the Pokedex on the start menu, you have to use the command 'setflag 0x829'. The National Dex can be unlocked by using 'special 0x16F'.

Put those two commands in your scripts when you need them, and everything should work fine :D
__________________
  #5238    
Old February 7th, 2011 (08:25 PM).
phantom12
Beginning Trainer
 
Join Date: May 2010
[b]Game: pokemon ruby
[b]Type: green s
[b]Editor: xse
[b]Script: applymorment/trainerbattle/talk

it is supposed to make a guy walk up to you question mark text call trainer battle text the guy walks away earthquake exclamation point end. but instead you walk past it and nothing happens.
Spoiler:

'---------------
#org @start
checkflag 0xD2
if 0x0 goto @snippet1
end

'---------------
#org @snippet1
applymovement 0x5 @move1
waitmovement 0x5
applymovement 0xFF @move2
waitmovement 0xFF
msgbox @string1 0x6 '"I can't let you pass!!!"
call @snippet2
end

'---------------
#org @snippet2
trainerbattle 0x0 0x8 0x0 @string2 @string3
msgbox @string4 0x6 '"They have probaly captured the\npo..."
applymovement 0x5 @move3
special 0x131
applymovement 0xFF @move4
return


'---------
' Strings
'---------
#org @string1
= I can't let you pass!!!

#org @string2
= I will destroy \nyou!!!

#org @string3
= How could I lose.

#org @string4
= They have probaly captured the\npokemon already.

'-----------
' Movements
'-----------
#org @move1
#raw 0x35 'Slide Running Down
#raw 0x35 'Slide Running Down
#raw 0x35 'Slide Running Down
#raw 0x38 'Slide Running Right
#raw 0x38 'Slide Running Right
#raw 0x38 'Slide Running Right
#raw 0x38 'Slide Running Right
#raw 0x38 'Slide Running Right
#raw 0x36 'Slide Running Up
#raw 0x36 'Slide Running Up
#raw 0xFE 'End of Movements

#org @move2
#raw 0x0 'Face Down
#raw 0x57 'Question Mark (?)
#raw 0xFE 'End of Movements

#org @move3
#raw 0x35 'Slide Running Down
#raw 0x35 'Slide Running Down
#raw 0x37 'Slide Running Left
#raw 0x37 'Slide Running Left
#raw 0x37 'Slide Running Left
#raw 0x37 'Slide Running Left
#raw 0x37 'Slide Running Left
#raw 0x36 'Slide Running Up
#raw 0x36 'Slide Running Up
#raw 0x36 'Slide Running Up
#raw 0x54 'Hide
#raw 0xFE 'End of Movements

#org @move4
#raw 0x56 'Exclamation Mark (!)
#raw 0xFE 'End of Movements
  #5239    
Old February 7th, 2011 (08:46 PM).
Binary's Avatar
Binary
え?
 
Join Date: Aug 2007
Age: 20

@phantom12
Spoiler:

'---------------
#org @start
checkflag 0xD2
if 0x1 goto @done
applymovement 0x5 @move1
waitmovement 0x5
applymovement 0xFF @move2
waitmovement 0xFF
msgbox @string1 0x6 '"I can't let you pass!!!"
call @snippet2
end

'---------------
#org @snippet2
trainerbattle 0x0 0x8 0x0 @string2 @string3
msgbox @string4 0x6 '"They have probaly captured the\npo..."
applymovement 0x5 @move3
waitmovement 0x0
special 0x131
applymovement 0xFF @move4
waitmovement 0x0
return



'---------------
#org @done
release
end


'---------
' Strings
'---------
#org @string1
= I can't let you pass!!!

#org @string2
= I will destroy \nyou!!!

#org @string3
= How could I lose.

#org @string4
= They have probaly captured the\npokemon already.

'-----------
' Movements
'-----------
#org @move1
#raw 0x35 'Slide Running Down
#raw 0x35 'Slide Running Down
#raw 0x35 'Slide Running Down
#raw 0x38 'Slide Running Right
#raw 0x38 'Slide Running Right
#raw 0x38 'Slide Running Right
#raw 0x38 'Slide Running Right
#raw 0x38 'Slide Running Right
#raw 0x36 'Slide Running Up
#raw 0x36 'Slide Running Up
#raw 0xFE 'End of Movements

#org @move2
#raw 0x0 'Face Down
#raw 0x57 'Question Mark (?)
#raw 0xFE 'End of Movements

#org @move3
#raw 0x35 'Slide Running Down
#raw 0x35 'Slide Running Down
#raw 0x37 'Slide Running Left
#raw 0x37 'Slide Running Left
#raw 0x37 'Slide Running Left
#raw 0x37 'Slide Running Left
#raw 0x37 'Slide Running Left
#raw 0x36 'Slide Running Up
#raw 0x36 'Slide Running Up
#raw 0x36 'Slide Running Up
#raw 0x54 'Hide
#raw 0xFE 'End of Movements

#org @move4
#raw 0x56 'Exclamation Mark (!)
#raw 0xFE 'End of Movements

Checking whether a flag is set or not, would be better. Try it out. If it still doesn't work, try using another flag
__________________
  #5240    
Old February 8th, 2011 (04:48 AM).
TheDarkShark
Metal Headed Hacker
 
Join Date: May 2010
Location: Germany
Gender: Male
Nature: Calm
@Tropical Sunlight: Use the fadescreen command to fade the screen to black (you can also make the screen fade to white), I'm not sure about the parameter. It has at least one called the fade effect, but I always forget which one to use. Special 0x0 heals the player's pokemon, if I remember correctly. The healing sound can be done using the fanfare command. I don't use it very often, you'll have to look at nurse Joy's script (search for a 'fanfare 0x??', and use that number). To fade the screen to normal, use the fadescreen command again.
  #5241    
Old February 8th, 2011 (04:52 AM).
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 18
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
Quote originally posted by TheDarkShark:
@Tropical Sunlight: Use the fadescreen command to fade the screen to black (you can also make the screen fade to white), I'm not sure about the parameter. It has at least one called the fade effect, but I always forget which one to use. Special 0x0 heals the player's pokemon, if I remember correctly. The healing sound can be done using the fanfare command. I don't use it very often, you'll have to look at nurse Joy's script (search for a 'fanfare 0x??', and use that number). To fade the screen to normal, use the fadescreen command again.
Thanks :D
Help very much appreciated.
__________________
  #5242    
Old February 8th, 2011 (01:36 PM).
Skara's Avatar
Skara
THIS. IS. SEMPITERNAL.
 
Join Date: Dec 2008
Location: Manchester, England
Age: 19
Gender: Male
Nature: Timid
AAAAAAAAAAAHHHHHH I WANT TO SCREAM!!!!

I made this script, and since it doesn't want to do anything I assume this isn't correct?
Spoiler:

#org @start
lock
faceplayer
msgbox @text ' Hm? oh, hey. Sorry, I closed my lab down.
msgbox @text ' You can still have a POKéMON though, here.
checkflag 0x0029
if 0x1 jump :end
setflag FR_POKEMON
countpokemon
compare LASTRESULT 6
if == jump @noroom
addpokemon CATERPIE 0x5 ORANBERRY 0 0 0
setflag 0x0029
storepokemon 0 CATERPIE
message @get-msg
fanfare 0x101
showmsg
waitfanfare
waitbutton
:end
release
end

#org @noroom
msgbox @noroom-msg
callstd MSG_NOCLOSE
release
end
callstd MSG_OBTAIN
release
end

#org @text
= Hm? oh, hey. Sorry, I closed my lab down.
= You can still have a POKéMON though, here.
#org @get-msg
= You got a \v\h02!
= And here's your POKéDEX...
setflag 0x829
= I'm Carp by the way, Professor Arty Carp /PWell, I'm out.
disappear


I need help like, now. My hack can't progress otherwise.
__________________
I'VE LEFT THIS ACCOUNT. Here is my new profile
  #5243    
Old February 8th, 2011 (03:06 PM).
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote originally posted by Skara:
AAAAAAAAAAAHHHHHH I WANT TO SCREAM!!!!

I made this script, and since it doesn't want to do anything I assume this isn't correct?
Spoiler:

#org @start
lock
faceplayer
msgbox @text ' Hm? oh, hey. Sorry, I closed my lab down.
msgbox @text ' You can still have a POKéMON though, here.
checkflag 0x0029
if 0x1 jump :end
setflag FR_POKEMON
countpokemon
compare LASTRESULT 6
if == jump @noroom
addpokemon CATERPIE 0x5 ORANBERRY 0 0 0
setflag 0x0029
storepokemon 0 CATERPIE
message @get-msg
fanfare 0x101
showmsg
waitfanfare
waitbutton
:end
release
end

#org @noroom
msgbox @noroom-msg
callstd MSG_NOCLOSE
release
end
callstd MSG_OBTAIN
release
end

#org @text
= Hm? oh, hey. Sorry, I closed my lab down.
= You can still have a POKéMON though, here.
#org @get-msg
= You got a \v\h02!
= And here's your POKéDEX...
setflag 0x829
= I'm Carp by the way, Professor Arty Carp /PWell, I'm out.
disappear


I need help like, now. My hack can't progress otherwise.
You should probably reread whatever scripting tutorial you read (and more thoroughly this time) because your 'msgbox' commands are lacking the second parameter, something that is explained in any recent scripting tutorial. You also need to brush up on some basic concepts of hacking, like pointers and addresses, because your use of two "@text"s is faulty.
__________________

Brother of Vrai
  #5244    
Old February 8th, 2011 (07:26 PM).
phantom12
Beginning Trainer
 
Join Date: May 2010
Quote originally posted by Binary:
@phantom12
Spoiler:

'---------------
#org @start
checkflag 0xD2
if 0x1 goto @done
applymovement 0x5 @move1
waitmovement 0x5
applymovement 0xFF @move2
waitmovement 0xFF
msgbox @string1 0x6 '"I can't let you pass!!!"
call @snippet2
end
'---------------
#org @snippet2
trainerbattle 0x0 0x8 0x0 @string2 @string3
msgbox @string4 0x6 '"They have probaly captured the\npo..."
applymovement 0x5 @move3
waitmovement 0x0
special 0x131
applymovement 0xFF @move4
waitmovement 0x0
return


'---------------
#org @done
release
end

'---------
' Strings
'---------
#org @string1
= I can't let you pass!!!

#org @string2
= I will destroy \nyou!!!

#org @string3
= How could I lose.

#org @string4
= They have probaly captured the\npokemon already.

'-----------
' Movements
'-----------
#org @move1
#raw 0x35 'Slide Running Down
#raw 0x35 'Slide Running Down
#raw 0x35 'Slide Running Down
#raw 0x38 'Slide Running Right
#raw 0x38 'Slide Running Right
#raw 0x38 'Slide Running Right
#raw 0x38 'Slide Running Right
#raw 0x38 'Slide Running Right
#raw 0x36 'Slide Running Up
#raw 0x36 'Slide Running Up
#raw 0xFE 'End of Movements

#org @move2
#raw 0x0 'Face Down
#raw 0x57 'Question Mark (?)
#raw 0xFE 'End of Movements

#org @move3
#raw 0x35 'Slide Running Down
#raw 0x35 'Slide Running Down
#raw 0x37 'Slide Running Left
#raw 0x37 'Slide Running Left
#raw 0x37 'Slide Running Left
#raw 0x37 'Slide Running Left
#raw 0x37 'Slide Running Left
#raw 0x36 'Slide Running Up
#raw 0x36 'Slide Running Up
#raw 0x36 'Slide Running Up
#raw 0x54 'Hide
#raw 0xFE 'End of Movements

#org @move4
#raw 0x56 'Exclamation Mark (!)
#raw 0xFE 'End of Movements

Checking whether a flag is set or not, would be better. Try it out. If it still doesn't work, try using another flag
i have tried the script and 3 different flags but it's still not working
  #5245    
Old February 9th, 2011 (01:29 AM).
fizzmaister's Avatar
fizzmaister
Beginning Trainer
 
Join Date: Jan 2008
I'm trying to create a Leaf Green game that you can get every pokemon from FR/LG to complement an eventual Emerald game with every pokemon from R/S/E. Of course, I don't want to do this by adding wild pokemon. I've already made both fossils available, and reviveable, unlocked both Nintendo islands, added FR exclusives, and the other eeveelutions and the other hitmon can be acquired by breeding. I have a ridiculously ambitious plan of incorporating the multiverse feature from Eternal Darkness for getting all three starters and all three Legendary gerbils. I've hopefully gotten around the problem of no "storepokemon," by using the PC and preventing access to the PC until a certain point in the game. Of course that's still a very long ways away. For now I just want to replace the roaming legendary with a fixed battle for all three.

How can I prevent the roaming legendary from roaming? Any way to break the script without causing damage to other parts of the game would be great. Thank you in advance.
  #5246    
Old February 9th, 2011 (02:00 AM).
metapod23's Avatar
metapod23
Hardened Trainer
 
Join Date: Mar 2009
Gender: Male
Nature: Timid
Quote originally posted by phantom12:
i have tried the script and 3 different flags but it's still not working
Can you explain the flag's purpose? Did you set the flag in a previous script? If so, why not just use use this script's variable rather than set a flag in the previous script:

If in the previous script you had setflag 0xd2 - try changing it to the variable for your current script (I'll pretend it's 5000 for an example). Change it to setvar 0x5000 0x1 and then use 5000 as the var # for this script and 0001 as the var value in A-Map. Then you can skip the entire checkflag 0xD2
if 0x1 goto @done
section of the script - just end the script with setvar 0x5000 0x2 to deactivate it.

Also, in the future, use XSE's guide to see which flags are basically available for use:

Quote:
Anyway, for those who dunno - most people thinks that there are about 65,535 flags for each game of the pokémon series - most already used by the game and some not usable. But that's not true which is why when you use some flags - they never work at all. If that's so then what range of flags should be usable and safe to use? Well its 0x0001 to 0x3FFF and any flag beyond 0x3FFF may or may not work, plus most flags roughly between 0x1 to 0x900 are all used by the game so using flags between that range will also lead to some undesirable behaviour by the game. We recommend you start with flags from 0x1000 onwards
^ XSE recommends starting with flag 0x1000 and going forward from there.
Hope this helps.
__________________
  #5247    
Old February 9th, 2011 (07:24 AM).
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 18
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
How can I make so that when I receive a Pokemon, the scripts ask me if I want to nickname it?
__________________
  #5248    
Old February 9th, 2011 (08:09 AM).
Binary's Avatar
Binary
え?
 
Join Date: Aug 2007
Age: 20
Quote originally posted by Tropical Sunlight:
How can I make so that when I receive a Pokemon, the scripts ask me if I want to nickname it?
Decompile an in-game script that deals with the same process. Figuring it out should be easy enough.
__________________
  #5249    
Old February 9th, 2011 (10:24 AM).
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 18
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
Quote originally posted by Binary:
Decompile an in-game script that deals with the same process. Figuring it out should be easy enough.
I have, but there were a lot of calls to different offsets. Is that it?
__________________
  #5250    
Old February 9th, 2011 (11:09 AM).
Skara's Avatar
Skara
THIS. IS. SEMPITERNAL.
 
Join Date: Dec 2008
Location: Manchester, England
Age: 19
Gender: Male
Nature: Timid
Quote originally posted by colcolstyles:
You should probably reread whatever scripting tutorial you read (and more thoroughly this time) because your 'msgbox' commands are lacking the second parameter, something that is explained in any recent scripting tutorial. You also need to brush up on some basic concepts of hacking, like pointers and addresses, because your use of two "@text"s is faulty.
No tutorial, just PKSV generated.
__________________
I'VE LEFT THIS ACCOUNT. Here is my new profile
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 08:51 AM.