[ARCHIVE] Simple Questions (SEARCH BEFORE ASKING A QUESTION) Page 329

Started by Prof. 9 January 31st, 2007 7:25 AM
  • 1958403 views
  • 27748 replies

Full Metal

C(++) Developer.

Age 27
Male
In my mind.
Seen August 19th, 2018
Posted May 27th, 2017
810 posts
15.4 Years
I can't seem to figure out the search function to well so sorry if it's been asked before. How the crud do you use pokecry to insert pokecries? I can export just fine(as far as i know, i've managed to accidentally do it many times by pushing "Dump")
i can't figure it out. I really don't know how to use it and there doesn't appear to be a readme.

★ full metal.

I like to push it,
and push it,
until my luck is over.
Seen September 8th, 2013
Posted March 11th, 2013
402 posts
15.6 Years
Can someone tell me why I get this error in my textbox? the text is meant to say "This Charmander is yours." with 'is yours' being on the second line

http://i44.*.com/w05r3k.png
What values of text are you inserting and how are you doing so? PKSV? Text editing tool? Hex editor with table?
Crystal Question
Is it possible to make trainers [especially Gym Leaders] being able to battle over and over again?
Yes, with the use of scripting.
iimarck.us / hax.iimarck.us

If you want me, please contact me by email. [email protected]

If you want to hack Pokémon RBY or GSC, read, read, and read some more. This has tons of valuable information.

Pokémon Red disassembly project

Rules that should be rethought: 25charlimit, bumping.
Bad posts are bad posts, regardless of how many words are in them or how old the thread is.
Good posts are good posts, regardless of how old the thread is—and brevity is underrated.
Male
Victoria, Australia!
Seen February 27th, 2015
Posted February 15th, 2015
616 posts
15.9 Years
In my hack when i receive my first pokemon using this script, i get the pokemon and everything goes fine except when i open the menu the Pokemon option isnt there, even tho i have a pokemon. Could someone please take a look and maybe fix it up for me? :)

Spoiler:
#org $start
checkflag 0x200
if b_true goto $done
message $1
boxset 5
compare LASTRESULT 0x1
if b_true goto $take
message $2
boxset 6
release
end

#org $take
givepokemon 133 5 0
fanfare 0x13E
message $3
boxset 4
waitfanfare
#raw 0x68
setflag 0x200
message $4
boxset 5
compare LASTRESULT 0x1
if b_true gosub $name
message $5
boxset 6
release
end

#org $name
call 0x1A74EB
return

#org $done
message $6
boxset 6
release
end

#org $1
$1 1 = \c\h01\h05GALLIUM: WOW!\nYou shouldn't sneak up on people.\pThats okay...\nSo what can I do for you? \pYou want a POKéMON?\nWell.. \pSorry, what was your name?\nOkay \v\h01... \pAt the moment I only have one left.\nDo you want it?

#org $2
$2 1 = \c\h01\h05GALLIUM: Very well then...

#org $3
$3 1 = \c\h01\h02You received a EEVEE!

#org $4
$4 1 =\c\h01\h02Would you like to rename EEVEE?

#org $5
$5 1 = \c\h01\h05GALLIUM: That is EEVEE.\nThe EVOLUTION POKéMON.

#org $6
$6 1 = \c\h01\h05GALLIUM: Now head out on your\nadventure young one. \pGood luck!.
Pokémon Ice Version

When the world is in its final moments..
Where will you be?

0m3GA ARS3NAL

Im comin' home...

Age 30
Male
Superjail Penitentiary
Seen February 25th, 2023
Posted September 12th, 2013
1,816 posts
15.3 Years
In my hack when i receive my first pokemon using this script, i get the pokemon and everything goes fine except when i open the menu the Pokemon option isnt there, even tho i have a pokemon. Could someone please take a look and maybe fix it up for me? :)

Spoiler:
#org $start
checkflag 0x200
if b_true goto $done
message $1
boxset 5
compare LASTRESULT 0x1
if b_true goto $take
message $2
boxset 6
release
end

#org $take
givepokemon 133 5 0
setflag 0x828
fanfare 0x13E
message $3
boxset 4
waitfanfare
#raw 0x68
setflag 0x200
message $4
boxset 5
compare LASTRESULT 0x1
if b_true gosub $name
message $5
boxset 6
release
end

#org $name
call 0x1A74EB
return

#org $done
message $6
boxset 6
release
end

#org $1
$1 1 = \c\h01\h05GALLIUM: WOW!\nYou shouldn't sneak up on people.\pThats okay...\nSo what can I do for you? \pYou want a POKéMON?\nWell.. \pSorry, what was your name?\nOkay \v\h01... \pAt the moment I only have one left.\nDo you want it?

#org $2
$2 1 = \c\h01\h05GALLIUM: Very well then...

#org $3
$3 1 = \c\h01\h02You received a EEVEE!

#org $4
$4 1 =\c\h01\h02Would you like to rename EEVEE?

#org $5
$5 1 = \c\h01\h05GALLIUM: That is EEVEE.\nThe EVOLUTION POKéMON.

#org $6
$6 1 = \c\h01\h05GALLIUM: Now head out on your\nadventure young one. \pGood luck!.
This SHOULD be in the script help thread, but I'll help you out...
A few things, you should not use flag 0x200, the flags you should use start from 0x1000 and end at 0x3FFF
XSE is better, you should at least try it.
Finally, I edited your script open the spoiler and look at the changes I made in bold
That should work, if you are using Fire Red or Leaf Green, if not, change the 0x828 to 0x800 for Ruby Version or Sapphire Version, and if you are using Emerald Version, you need to use 0x860 instead! Easy Peasy!
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
Age 31
Alkmaar, Netherlands
Seen May 11th, 2009
Posted March 8th, 2009
72 posts
15.3 Years
What I'm afriad you do not understand is that with Emerald, there are two sprites for each Pokemon: a 64x128 size sprite which has the two frames for battle animation, and the usual 64x64 sprite shown in the Pokedex/Pokepic box. I'm pretty sure that the only thing you are editing is the Pokedex pic, which doesn't matter because ?? does not have a Pokedex entry.

That is what you're doing wrong.

Thanks, I think I understand.

But what do I have to do in order to encounter a nice Togekiss or something?
Just change my sprite to a 64x128 one?
Do you mean "doubbeling" the sprite (like "8" instead of "o" (with the "o" being the pokémon's pic)), or just using a bigger sprite?
And can I still do this in PEP? Or do I have to use another way?

Thank you anyway!

0m3GA ARS3NAL

Im comin' home...

Age 30
Male
Superjail Penitentiary
Seen February 25th, 2023
Posted September 12th, 2013
1,816 posts
15.3 Years
2 questions:
-Can I add new trainers and items by repointing?

-Help with indexing. Every time i decrease the colors to 16, I always get BLACK as the first color (the transparent one) and NEVER other color. Why? Can anybody help me?
Finally learned how to.
Well yes, of course you can, Hackmew's A-Trainer will repoint the trainer data for you if you want to add new trainers, or expand the current ones. And with a bit of repointing magic, you can also make tonns of new items... but you know, there are a bunch of unused items in a ROM, namely Fire Red & Leaf Green... and editing the data is not so hard either, you just need to know the item layout... you can even make new items using ASM, but I am still learning all that junk from HackMew so yeah...
tl;dr? Yes you can.
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>

ckret2

usually pronounced "secret 2"

Age 32
You Are Here
Seen January 31st, 2010
Posted December 23rd, 2009
518 posts
14.4 Years
(And, after solving my previous problem, I've got a new question. Fun.)

I've got two questions.

QUESTION 1:
Usually, when I click on an OW sprite in-game that I haven't given a script to yet (so, their script offset is $000000), the game just doesn't do anything, and you can walk off. But two of the OW sprites, which USED to behave like this, now freeze the game when I click on them. Why is that? (This is less of a "problem" and more of an "I'd like to know" thing, since I'm going to give them scripts soon and I think that might solve the problem; but if it means there's another problem, that'd be nice to know.) One of the OW sprites is the Rival, which I've edited, but I doubt that'd cause the problem. The other one is the default scientist sprite. None of the other OW sprites on the map cause this trouble. These two trouble sprites are also the only two on the map to be facing right, but I can't imagine that would cause a problem.

QUESTION 2:
When I start a new game and go to the screen where you type your Rival's name, his OW (which I've edited) uses the wrong pallet. Both the male and female Player OWs use the right pallets when you choose their names, even though their pallets are different from those of the original OWs. The Rival OW also has the wrong pallet in AdvanceMap. In-game, though, the Rival uses the correct pallet. If this problem only shows up during the naming-the-rival screen and in AdvanceMap, I'd be fine ignoring it and just mentioning it under "Bugs," but it's still confusing.

This one is my hack.


This one is the hack I part-time map for.

I got an Illumise?
Pretty awesome.
Glad I grabbed an egg I didn't recognize.
Male
Victoria, Australia!
Seen February 27th, 2015
Posted February 15th, 2015
616 posts
15.9 Years
This SHOULD be in the script help thread, but I'll help you out...
A few things, you should not use flag 0x200, the flags you should use start from 0x1000 and end at 0x3FFF
XSE is better, you should at least try it.
Finally, I edited your script open the spoiler and look at the changes I made in bold
That should work, if you are using Fire Red or Leaf Green, if not, change the 0x828 to 0x800 for Ruby Version or Sapphire Version, and if you are using Emerald Version, you need to use 0x860 instead! Easy Peasy!
Thanks heaps for that :)
Yeah I might have a look at XSE, thanks for the advice.

Pokémon Ice Version

When the world is in its final moments..
Where will you be?
Age 31
UK, England.
Seen May 9th, 2015
Posted April 17th, 2009
152 posts
18.3 Years
Is there a complete map editor for Red anywhere? Like Pokémap, with event support and everything?

It's seems quite odd for there not to be, considering it's amount of documentation.

ckret2

usually pronounced "secret 2"

Age 32
You Are Here
Seen January 31st, 2010
Posted December 23rd, 2009
518 posts
14.4 Years
I'm trying to make a new "Pokémon Center" in my game, that functions like but is shaped slightly different from a regular Pokémon Center; one of the things I want it to do is have the player automatically teleport there to get healed when all your Pokémon faint, like with any other Pokémon Center. So I looked at the map scripts of the Saffron Pokémon Center for reference and found two map scripts, and wondered what they meant:

The first one:
Script no: 0
Script type: 03 On entering map/not on menu close
'---------------
#org 0x16EFF7
sethealingplace 0xB
end
The second one:
Script no: 1
Script type: 05 On entering map/on menu close
'---------------
#org 0x1BC05C
special 0x182
end
What do these mean? I originally thought the first one makes the Pokémon Center acts like a Pokémon Center, and so you get teleported there and healed and all that when all your Pokémon faint, until I saw the second one; now I think maybe the special fulfills that purpose? I don't know what the second script means, though, and none of the list of specials I've found explain what 0x182 does.

Thanks!

This one is my hack.


This one is the hack I part-time map for.

I got an Illumise?
Pretty awesome.
Glad I grabbed an egg I didn't recognize.
Age 31
Alkmaar, Netherlands
Seen May 11th, 2009
Posted March 8th, 2009
72 posts
15.3 Years
Probably an easy one: How do I enable the use of "Escape Rope" in a map?

and

How can I insert new Pokéµon in the 25 empty spots in >>EMERALD<<
The method that works for FireRed doesn't quite work in emerald.
I understand it has something to do with emerald having different sprites? (like 128x64 instead of 64x64).
So, how do I give a new sprite to those "??" Pokémon in EMERALD?

HackMew

Mewtwo Strikes Back

Seen October 26th, 2011
Posted October 15th, 2010
1,314 posts
16.9 Years
I'm trying to make a new "Pokémon Center" in my game, that functions like but is shaped slightly different from a regular Pokémon Center; one of the things I want it to do is have the player automatically teleport there to get healed when all your Pokémon faint, like with any other Pokémon Center. So I looked at the map scripts of the Saffron Pokémon Center for reference and found two map scripts, and wondered what they meant:

[...]

What do these mean? I originally thought the first one makes the Pokémon Center acts like a Pokémon Center, and so you get teleported there and healed and all that when all your Pokémon faint, until I saw the second one; now I think maybe the special fulfills that purpose? I don't know what the second script means, though, and none of the list of specials I've found explain what 0x182 does.

Thanks!
I don't know what special 0x182 does exactly, but the sethealingplace part is enough to get the "teleport effect". Besides, you should put the special part as well as it's used by the other Pokémon center. Long story short: copy an existing level script and edit the sethealingplace part, leaving the rest intact. You should be aware of the fact the game provides a fixed amount of healing places, as far as I know.
Age 30
Male
Europe
Seen April 19th, 2016
Posted March 23rd, 2016
136 posts
16 Years
I learned this from someone:
Not all LZ77 compressed palletes use 16 colors: the Pineco for exmaple.
OK, so what do you think I should do?

EDIT: I'm trying to replace Pidgey with a new Pokemon. But whenever I try to insert it, it says it's too big even though Pidgey is 1.28 KB and the new one is 1.25 KB. Why is this happening?
Probably an easy one: How do I enable the use of "Escape Rope" in a map?

and

How can I insert new Pokéµon in the 25 empty spots in >>EMERALD<<
The method that works for FireRed doesn't quite work in emerald.
I understand it has something to do with emerald having different sprites? (like 128x64 instead of 64x64).
So, how do I give a new sprite to those "??" Pokémon in EMERALD?
1st question: Set the Type under Map Options in the Header tab to Underground.
2nd question: Don't know.

ckret2

usually pronounced "secret 2"

Age 32
You Are Here
Seen January 31st, 2010
Posted December 23rd, 2009
518 posts
14.4 Years
I don't know what special 0x182 does exactly, but the sethealingplace part is enough to get the "teleport effect". Besides, you should put the special part as well as it's used by the other Pokémon center. Long story short: copy an existing level script and edit the sethealingplace part, leaving the rest intact. You should be aware of the fact the game provides a fixed amount of healing places, as far as I know.
A set amount? Thanks, good to know; I tried to make a new Pokécenter using the special 0x182 script and the sethealingplace script, and since the FireRed script dump said sethealingplace 0x1 through 0x14 had been used, I tried to make 0x15, which didn't work. I guess I'll just remove one of the other healing places, place it in my new Pokémon Center and see if that works. Thank you!

This one is my hack.


This one is the hack I part-time map for.

I got an Illumise?
Pretty awesome.
Glad I grabbed an egg I didn't recognize.