Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch and Glitzer Popping
Tweaking and voiding
Glitches by generation
Other glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Interactive tools
Reference documents
Terminology

Affiliates
Legendary Star Blob 2 (Hakuda) (日本語/Japanese)
Pokémon Speedruns wiki (English)
PRAMA Initiative (Français/French)
MissingNo. Glitch City (Italiano/Italian)
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: Arbitrary code execution in Red/Blue using the "8F" item  (Read 448301 times)

0 Members and 1 Guest are viewing this topic.

Skeef

  • GCLF Member
  • *
  • Offline Offline
  • Eek!
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #615 on: June 25, 2017, 03:23:18 pm »
???? i need settings for create and multiply items

Quote
-ws m
-item you want 256 of x1
-pokeball x43
-revive x201
and don t work...

ws# #m#
Item you want to change x any
Burn heal x 43
Ice heal x 43
Revive x 201
BUT IT DON T WORK

ws# #m#
Item you want to increase x 1
Burn or ice heal x 43
Revive x 201
DONT WORK.

These item setting you tried should all work fine. The last one does not not increase anything tho, it does the same as the first.
Still... if nothing at all happens when you execute ws m there's a problem somewhere else. Did you check if the first Slowpoke has 233 hp left? Did you put Kadabra in the correct spot when you took out Scyter? Is the box with the 20 Pokémon your active box? Are you putting the items in the exact same order as they are listed?

Quote
in the end can u explain how to get ws m? maybe i wrong something

Can you explain how you got your ws m maybe? I already posted how to get it in my first reply.

These are the codes you asked for. You already tried them tho. They work for any version and any language, that cant be the problem.

Change item 2 quantity to 256:
-ws m
-Item you want 256 of x1 <--- only 1 item here.
-Pokéball x43
-Revive x201

Change item 2 into the previous item on the Big Hex List.
-ws m
-Item you want to change x any
-Burn heal x 43
-Ice heal x 43
-Revive x 201

I hope you get this to work. O_o

asphere

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #616 on: June 25, 2017, 04:20:57 pm »
???? i need settings for create and multiply items

Quote
-ws m
-item you want 256 of x1
-pokeball x43
-revive x201
and don t work...

ws# #m#
Item you want to change x any
Burn heal x 43
Ice heal x 43
Revive x 201
BUT IT DON T WORK

ws# #m#
Item you want to increase x 1
Burn or ice heal x 43
Revive x 201
DONT WORK.

These item setting you tried should all work fine. The last one does not not increase anything tho, it does the same as the first.
Still... if nothing at all happens when you execute ws m there's a problem somewhere else. Did you check if the first Slowpoke has 233 hp left? Did you put Kadabra in the correct spot when you took out Scyter? Is the box with the 20 Pokémon your active box? Are you putting the items in the exact same order as they are listed?

Quote
in the end can u explain how to get ws m? maybe i wrong something

Can you explain how you got your ws m maybe? I already posted how to get it in my first reply.

These are the codes you asked for. You already tried them tho. They work for any version and any language, that cant be the problem.

Change item 2 quantity to 256:
-ws m
-Item you want 256 of x1 <--- only 1 item here.
-Pokéball x43
-Revive x201

Change item 2 into the previous item on the Big Hex List.
-ws m
-Item you want to change x any
-Burn heal x 43
-Ice heal x 43
-Revive x 201

I hope you get this to work. O_o
yes i check all, the pokemon in the box, the right current box, the right place of kadabra, my 1st slowpoke have 233hp is lv 79, i check all item in the correct place and when i click 1 time A on ws m and B, nothing happen... why? i really going crazy cuz i follow ur all instruction step by step cheking much much time every thing but it don t work.I REALLY DON T UNDERSTAND WHY
i got ws&m by mew glitch with pkmn spec 194 SO I Think this is not problm.
if i change lenguage of console should help?
help me please... thanks again...

Skeef

  • GCLF Member
  • *
  • Offline Offline
  • Eek!
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #617 on: June 25, 2017, 11:15:25 pm »
You press 1 time A on ws m and then B? Try pressing A and then again A. O_o

asphere

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #618 on: June 26, 2017, 12:49:04 am »
You press 1 time A on ws m and then B? Try pressing A and then again A. O_o

If i press 2 times A on ws m it block game and i need restart console ... and i see in the video they press one time only A than B...

asphere

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #619 on: June 26, 2017, 12:55:52 am »
What happens when you try to execute a code? Nothing or does the game crash?

Anything else I can advise is to double check your box to see if the Pokémon are all in the correct order. And to make sure the first Slowpoke has 233 hp left, its max hp does not matter.

Also, I just compared the euro Bootstrap code with the english and i think Scyter may be incorrect there. Replacing Scyter with Kadabra could fix it. Cuz Scyter is dec 26 on the big list, but we need hex 26 <--- Thus Kadabra.


Quote
- 8F
- Item to morph x(any)
- X accuracy x36
- Carbos x211
- Max Revive x(decimal index nr of item the you want)<---------- i don t understand what u mean with this... how many i should have?
- TM01 x(any)

First, look at the big hex list here: http://glitchcity.info/biglist.htm
See the R/B/Y Item column? Say you want to change item 2 into Rare Candy, look in that column for Rare Candy. Now Look in the "Decimal" column on the same row as Rare Candy. As you see its 40, so you need 40 Max Revive to turn item 2 into Rare Candy.
thanks for last explain i understand all.
anyway about real big problem i tryed right now to change kadabra with shyter and i try
-ws m
-item you want 256 of x1
-pokeball x43
-revive x201
and don t work...

ws# #m#
Item you want to change x any
Burn heal x 43
Ice heal x 43
Revive x 201
BUT IT DON T WORK

ws# #m#
Item you want to increase x 1
Burn or ice heal x 43
Revive x 201
DONT WORK.

well or box party for italian version is wrong or setting items are wrong
About question if my game crash or nothing happen when i try execute a code the answer is NOTHING HAPPEN.
thansk for future helps.

Darn, yes. Like Skeef said we need to replace Scyther with Kadabra. This will make the execution start at item 3. It looks like Wack0 confused decimal:26 (Scyther) with hexadecimal:26 (Kadabra). Sorry for the inconvenience.

You shouldn't have to change the codes in your previous post as they don't specify an absolute memory address.
Sorry mate what u mean with "start at item 3", i need change slot of items? If yes can u say me how? I chnaged shyter woth kadabra but stil not work... issotm say me to ask you... any idea?
Thanks

Parzival

  • The Laziest Malware Enthusiast
  • Banned
  • *
  • Offline Offline
  • Gender: Male
  • who posted nudes in upstream
    • View Profile
    • (null)
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #620 on: June 26, 2017, 01:16:33 am »
It should be (iirc)
ws m
Some item you give 0 shits about x whatever
Item to duplicate
<rest of code>

You need the items you want more of to be in slot 3... I think.

asphere

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #621 on: June 26, 2017, 07:11:02 am »
It should be (iirc)
ws m
Some item you give 0 shits about x whatever
Item to duplicate
<rest of code>

You need the items you want more of to be in slot 3... I think.

waht u mean with "Some item you give 0 shits about x whatever", i understand to put 1 crap item, and i try but it don t work.. if i understand wrong can u write bettere settings?thanks
anyway can someone help? Torchickens or issotm u here?

asphere

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #622 on: June 26, 2017, 07:20:34 am »
LET ME ASK ANOTHER QUESTION MAYBE I FIND A SOLUTION... if i use this code
The item code to change trainer ID is:
any item/ws# #m#
any item/ws# #m#
Lemonade x (xx)
Repel x (yy)
Carbos x 211
X Accuracy x88
Water Stone x115
TM01 x(any)
as we are going for an ID of the GF mew, we want 89 lemonades, and 12 repels.

it will work without box party or i need box party for it too? becouse i think if im not able to duplicate and create item, i can have them by encountering fossil missingNo and i ll have all items. But it will change my ID? or need perfect box party? can someone of you repeat box party for italian lenguage versione?
thanks again and again ...

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #623 on: June 26, 2017, 07:55:28 am »
@Parzival there's no "some item etc.".

@asphere
You have to press A twice on ws m, that is : one press to open the "USE / CANCEL" menu, and one more A press to select USE.
If the game locks up at that point or anything, SOMETHING IS WRONG. That means you did trigger the ACE glitch but something in the setup is wrong.


The main principle of ACE is that your item pack will be ran as code by the Game Boy. For convenience reasons, the community chose to start at item 3. If this doesn't make much sense, think of this :
Item slotIts purpose
1None for this glitch.
2None either.
3This is the first item that will be ran as code. As such, this is the first item in a "setup".
4In the same way, this is the second item of a setup
5 onwardsYou get the point.

Since items 1 and 2 usually don't matter, they are usually ws m and another item.

The setup you're trying here is special, because it modifies specifically item 2's quantity (for convenience reasons it's item #2). So, EVERY SINGLE TIME YOU WANT TO USE WS M :

1. Set up a PC box with the specified Pokémon, number of Pokémon, HP when specified, etc.
2. Set up your inventory.
3. MAKE SURE THE PC BOX YOU SET UP IS YOUR CURRENTLY ACTIVE PC BOX
4. Select ws m, open the "USE / CANCEL" dialog, and press A on "USE".
5. Done !


~~~~~~~~~~~~~~~~~~~~~~

For convenience :

PC setup :
Code: [Select]
1.  20 Pokémon in your PC box                                         [0xDA84 = 0x14]
2.  Slowpoke as the 1st Pokémon in the current PC box                 [0xDA85 = 0x25]
3.  Slowpoke as the 2nd Pokémon in the current PC box                 [0xDA86 = 0x25]
4.  Slowpoke as the 3rd Pokémon in the current PC box                 [0xDA87 = 0x25]
5.  Slowpoke as the 4th Pokémon in the current PC box                 [0xDA88 = 0x25]
6.  Slowpoke as the 5th Pokémon in the current PC box                 [0xDA89 = 0x25]
7.  Slowpoke as the 6th Pokémon in the current PC box                 [0xDA8A = 0x25]
8.  Voltorb as the 7th Pokémon in the current PC box                  [0xDA8B = 0x06]
9.  Hitmonlee as the 8th Pokémon in the current PC box                  [0xDA8C = 0x2B]
10. Jolteon as the 9th Pokémon in the current PC box                  [0xDA8D = 0x68]
11. Geodude as the 10th Pokémon in the current PC box                 [0xDA8E = 0xA9]
12. Geodude as the 11th Pokémon in the current PC box                 [0xDA8F = 0xA9]
13. Geodude as the 12th Pokémon in the current PC box                 [0xDA90 = 0xA9]
14. Geodude as the 13th Pokémon in the current PC box                 [0xDA91 = 0xA9]
15. Geodude as the 14th Pokémon in the current PC box                 [0xDA92 = 0xA9]
16. Geodude as the 16th Pokémon in the current PC box                 [0xDA93 = 0xA9]
17. Geodude as the 15th Pokémon in the current PC box                 [0xDA94 = 0xA9]
18. Geodude as the 17th Pokémon in the current PC box                 [0xDA95 = 0xA9]
19. Geodude as the 18th Pokémon in the current PC box                 [0xDA96 = 0xA9]
20. Geodude as the 19th Pokémon in the current PC box                 [0xDA97 = 0xA9]
21. Voltorb as the 20th Pokémon in the current PC box                 [0xDA98 = 0x06]
 :: END OF LIST MARKER [0xFF]                                         [0xDA99 = 0xFF]
22. Slowpoke as the 1st Pokémon in the current PC box                 [0xDA9A = 0x25]
23. First PC box Pokémon needs to have 233 HP -+-                     [0xDA9B = 0x00]
                                               +-                     [0xDA9C = 0xE9]
Code: [Select]
inc d
dec h ; h = D9
dec h ; h = D8
dec h ; h = D7
dec h ; h = D6
dec h ; h = D5
dec h ; h = D4
ld b, $2B ; Third item in EU versions
ld l, b
xor c ; Do stuff
xor c
xor c
xor c
xor c
xor c
xor c
xor c
xor c
xor c
ld b, $FF ; Skip the crashing $FF
dec h ; h = D3
jp [hl]

Bag setup :
Code: [Select]
ws m
Item to obtain x255
Poké Ball x43
Revive x3 / Great Ball x53 (any of these two will work)
TM01 x[any qty]
[any items after, who cares]
Code: [Select]
dec b
dec hl
{ dec [hl]
{ inc bc
or
{ inc bc
{ dec [hl]
ret
(Stuff that doesn't matter)
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

asphere

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #624 on: June 26, 2017, 08:39:58 am »
@Parzival there's no "some item etc.".

@asphere
You have to press A twice on ws m, that is : one press to open the "USE / CANCEL" menu, and one more A press to select USE.
If the game locks up at that point or anything, SOMETHING IS WRONG. That means you did trigger the ACE glitch but something in the setup is wrong.


The main principle of ACE is that your item pack will be ran as code by the Game Boy. For convenience reasons, the community chose to start at item 3. If this doesn't make much sense, think of this :
Item slotIts purpose
1None for this glitch.
2None either.
3This is the first item that will be ran as code. As such, this is the first item in a "setup".
4In the same way, this is the second item of a setup
5 onwardsYou get the point.

Since items 1 and 2 usually don't matter, they are usually ws m and another item.

The setup you're trying here is special, because it modifies specifically item 2's quantity (for convenience reasons it's item #2). So, EVERY SINGLE TIME YOU WANT TO USE WS M :

1. Set up a PC box with the specified Pokémon, number of Pokémon, HP when specified, etc.
2. Set up your inventory.
3. MAKE SURE THE PC BOX YOU SET UP IS YOUR CURRENTLY ACTIVE PC BOX
4. Select ws m, open the "USE / CANCEL" dialog, and press A on "USE".
5. Done !


~~~~~~~~~~~~~~~~~~~~~~

For convenience :

PC setup :
Code: [Select]
1.  20 Pokémon in your PC box                                         [0xDA84 = 0x14]
2.  Slowpoke as the 1st Pokémon in the current PC box                 [0xDA85 = 0x25]
3.  Slowpoke as the 2nd Pokémon in the current PC box                 [0xDA86 = 0x25]
4.  Slowpoke as the 3rd Pokémon in the current PC box                 [0xDA87 = 0x25]
5.  Slowpoke as the 4th Pokémon in the current PC box                 [0xDA88 = 0x25]
6.  Slowpoke as the 5th Pokémon in the current PC box                 [0xDA89 = 0x25]
7.  Slowpoke as the 6th Pokémon in the current PC box                 [0xDA8A = 0x25]
8.  Voltorb as the 7th Pokémon in the current PC box                  [0xDA8B = 0x06]
9.  Hitmonlee as the 8th Pokémon in the current PC box                  [0xDA8C = 0x2B]
10. Jolteon as the 9th Pokémon in the current PC box                  [0xDA8D = 0x68]
11. Geodude as the 10th Pokémon in the current PC box                 [0xDA8E = 0xA9]
12. Geodude as the 11th Pokémon in the current PC box                 [0xDA8F = 0xA9]
13. Geodude as the 12th Pokémon in the current PC box                 [0xDA90 = 0xA9]
14. Geodude as the 13th Pokémon in the current PC box                 [0xDA91 = 0xA9]
15. Geodude as the 14th Pokémon in the current PC box                 [0xDA92 = 0xA9]
16. Geodude as the 16th Pokémon in the current PC box                 [0xDA93 = 0xA9]
17. Geodude as the 15th Pokémon in the current PC box                 [0xDA94 = 0xA9]
18. Geodude as the 17th Pokémon in the current PC box                 [0xDA95 = 0xA9]
19. Geodude as the 18th Pokémon in the current PC box                 [0xDA96 = 0xA9]
20. Geodude as the 19th Pokémon in the current PC box                 [0xDA97 = 0xA9]
21. Voltorb as the 20th Pokémon in the current PC box                 [0xDA98 = 0x06]
 :: END OF LIST MARKER [0xFF]                                         [0xDA99 = 0xFF]
22. Slowpoke as the 1st Pokémon in the current PC box                 [0xDA9A = 0x25]
23. First PC box Pokémon needs to have 233 HP -+-                     [0xDA9B = 0x00]
                                               +-                     [0xDA9C = 0xE9]
Code: [Select]
inc d
dec h ; h = D9
dec h ; h = D8
dec h ; h = D7
dec h ; h = D6
dec h ; h = D5
dec h ; h = D4
ld b, $2B ; Third item in EU versions
ld l, b
xor c ; Do stuff
xor c
xor c
xor c
xor c
xor c
xor c
xor c
xor c
xor c
ld b, $FF ; Skip the crashing $FF
dec h ; h = D3
jp [hl]

Bag setup :
Code: [Select]
ws m
Item to obtain x255
Poké Ball x43
Revive x3 / Great Ball x53 (any of these two will work)
TM01 x[any qty]
[any items after, who cares]
Code: [Select]
dec b
dec hl
{ dec [hl]
{ inc bc
or
{ inc bc
{ dec [hl]
ret
(Stuff that doesn't matter)

sec sec sec... u mean
-1st item crap
-2nd item crap
3rd item ws m
-4th item you want 256 of x1
-5th pokeball x43
-6th revive x201

u mean i need start setting item from 3rd slot????
and about box why now hitmonlee??? kadabra guys saayed me...
which pokemon i must use? heetmonlee kadabra or shyter?????
thanks mate

TheSixthItem

  • Game breaker
  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • ZZAZZDZZGZZUZZKZZ#ZZXZZUZZ7ZZ#ZZ
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #625 on: June 26, 2017, 09:04:10 am »
No. It's
Item 1: Crap (ws m)
Item 2: Crap (Item you want 256 of)
Item 3: Start Of Code
I do things

asphere

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #626 on: June 26, 2017, 09:06:43 am »
No. It's
Item 1: Crap (ws m)
Item 2: Crap (Item you want 256 of)
Item 3: Start Of Code

i got... it work... finally OMG thansk to all now!!!!!!!!


 i need to know 2 things at last:

THE ITEM CODE TO CHANGE ID
THE ITEM CODE TO CHANGE OT


@ISSOtm @ 
« Last Edit: June 26, 2017, 09:56:48 am by asphere »

Evie the Bird Mother 🌸 ☽

  • Veteran Contributor
  • *
  • Offline Offline
  • Gender: Female
  • ああ、紅茶がおいしい。 ~ ^^
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #627 on: June 26, 2017, 09:51:11 am »
No. It's
Item 1: Crap (ws m)
Item 2: Crap (Item you want 256 of)
Item 3: Start Of Code

write me all i don t understand what u mean with start of code

Don't use Hitmonlee, use Kadabra instead.

So:


1.  20 Pokémon in your PC box
2.  Slowpoke as the 1st Pokémon in the current PC box
3.  Slowpoke as the 2nd Pokémon in the current PC box
4.  Slowpoke as the 3rd Pokémon in the current PC box
5.  Slowpoke as the 4th Pokémon in the current PC box
6.  Slowpoke as the 5th Pokémon in the current PC box
7.  Slowpoke as the 6th Pokémon in the current PC box
8.  Voltorb as the 7th Pokémon in the current PC box
9.  Kadabra as the 8th Pokémon in the current PC box
10. Jolteon as the 9th Pokémon in the current PC box
11. Geodude as the 10th Pokémon in the current PC box
12. Geodude as the 11th Pokémon in the current PC box
13. Geodude as the 12th Pokémon in the current PC box
14. Geodude as the 13th Pokémon in the current PC box
15. Geodude as the 14th Pokémon in the current PC box
16. Geodude as the 16th Pokémon in the current PC box
17. Geodude as the 15th Pokémon in the current PC box
18. Geodude as the 17th Pokémon in the current PC box
19. Geodude as the 18th Pokémon in the current PC box
20. Geodude as the 19th Pokémon in the current PC box
21. Voltorb as the 20th Pokémon in the current PC box
22. Slowpoke as the 1st Pokémon in the current PC box
23. First PC box Pokémon needs to have 233 HP


With the Kadabra setup your items should look like:

Item slot 1: ws m
Item slot 2: Item x (any)
Item slot 3: Poké Ball x43
Item slot 4: Revive x3 / Great Ball x53 (any should work)
Item slot 5: TM01 x[any qty]
Item slot 6+: anything

(This code reduces the quantity of item 2 by 1 each use or to 255 if at 0)

Otherwise, if you used Hitmonlee the place to put the Poké Ball x43 and the items below would be at item 4 (D32B) (which is "the start of the code").
LET ME ASK ANOTHER QUESTION MAYBE I FIND A SOLUTION... if i use this code
The item code to change trainer ID is:
any item/ws# #m#
any item/ws# #m#
Lemonade x (xx)
Repel x (yy)
Carbos x 211
X Accuracy x88
Water Stone x115
TM01 x(any)
as we are going for an ID of the GF mew, we want 89 lemonades, and 12 repels.

it will work without box party or i need box party for it too? becouse i think if im not able to duplicate and create item, i can have them by encountering fossil missingNo and i ll have all items. But it will change my ID? or need perfect box party? can someone of you repeat box party for italian lenguage versione?
thanks again and again ...

A box party (which is called the bootstrap code) is usually always needed for ws m, and you should always be on the same box where the box code is. The only way you can avoid using one is if you used ws m with the box party to change the data to something like jp D326, or activated another form of arbitrary code execution that doesn't involve ws m.

Since you're using a Italian, French, German or Spanish Yellow version the code to change the ID of the player to 22796, the same as GF Mew (meaning you need to catch a new Pokémon/Mew to give it your ID) is instead this:

Item slot 1: any item/ws# #m#
Item slot 2: any item/ws# #m#
Item slot 3: Lemonade x 89
Item slot 4: Repel x 12
Item slot 5: Carbos x 211
Item slot 6: X Accuracy x93
Item slot 8: Water Stone x115
Item slot 9: TM01 x(any)
Item slot 10+: anything
« Last Edit: June 26, 2017, 10:00:11 am by Torchickens »
(I was former joint head admin but stepped down)
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post. ^^
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Love, faith, hope are free. If all is lost friends save us.
Thanks fans for lovely Torchic artwork. ♡ First image thanks Nyapon.

asphere

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #628 on: June 26, 2017, 10:00:47 am »
No. It's
Item 1: Crap (ws m)
Item 2: Crap (Item you want 256 of)
Item 3: Start Of Code

write me all i don t understand what u mean with start of code

Don't use Hitmonlee, use Kadabra instead.

So:


1.  20 Pokémon in your PC box
2.  Slowpoke as the 1st Pokémon in the current PC box
3.  Slowpoke as the 2nd Pokémon in the current PC box
4.  Slowpoke as the 3rd Pokémon in the current PC box
5.  Slowpoke as the 4th Pokémon in the current PC box
6.  Slowpoke as the 5th Pokémon in the current PC box
7.  Slowpoke as the 6th Pokémon in the current PC box
8.  Voltorb as the 7th Pokémon in the current PC box
9.  Kadabra as the 8th Pokémon in the current PC box
10. Jolteon as the 9th Pokémon in the current PC box
11. Geodude as the 10th Pokémon in the current PC box
12. Geodude as the 11th Pokémon in the current PC box
13. Geodude as the 12th Pokémon in the current PC box
14. Geodude as the 13th Pokémon in the current PC box
15. Geodude as the 14th Pokémon in the current PC box
16. Geodude as the 16th Pokémon in the current PC box
17. Geodude as the 15th Pokémon in the current PC box
18. Geodude as the 17th Pokémon in the current PC box
19. Geodude as the 18th Pokémon in the current PC box
20. Geodude as the 19th Pokémon in the current PC box
21. Voltorb as the 20th Pokémon in the current PC box
22. Slowpoke as the 1st Pokémon in the current PC box
23. First PC box Pokémon needs to have 233 HP


With the Kadabra setup your items should look like:

Item slot 1: ws m
Item slot 2: Item x (any)
Item slot 3: Poké Ball x43
Item slot 4: Revive x3 / Great Ball x53 (any should work)
Item slot 5: TM01 x[any qty]
Item slot 6+: anything

(This code reduces the quantity of item 2 by 1 each use or to 255 if at 0)

Otherwise, if you used Hitmonlee the place to put the Poké Ball x43 and the items below would be at item 4 (D32B) (which is "the start of the code").
LET ME ASK ANOTHER QUESTION MAYBE I FIND A SOLUTION... if i use this code
The item code to change trainer ID is:
any item/ws# #m#
any item/ws# #m#
Lemonade x (xx)
Repel x (yy)
Carbos x 211
X Accuracy x88
Water Stone x115
TM01 x(any)
as we are going for an ID of the GF mew, we want 89 lemonades, and 12 repels.

it will work without box party or i need box party for it too? becouse i think if im not able to duplicate and create item, i can have them by encountering fossil missingNo and i ll have all items. But it will change my ID? or need perfect box party? can someone of you repeat box party for italian lenguage versione?
thanks again and again ...

A box party (which is called the bootstrap code) is always needed for ws m, and you should always be on the same box where the box code is.

Since you're using a Italian, French, German or Spanish Yellow version the code to change the ID of the player to 22796, the same as GF Mew (meaning you need to catch a new Pokémon/Mew to give it your ID) is instead this:

Item slot 1: any item/ws# #m#
Item slot 2: any item/ws# #m#
Item slot 3: Lemonade x 89
Item slot 4: Repel x 12
Item slot 5: Carbos x 211
Item slot 6: X Accuracy x93
Item slot 8: Water Stone x115
Item slot 9: TM01 x(any)
Item slot 10+: anything

i got... it work... finally OMG thansk to all now!!!!!!!!


 i need to know 2 things at last:

THE ITEM CODE TO CHANGE ID u already give it to me i tryed before and it work fine if please say me how to have my own old id back
THE ITEM CODE TO CHANGE OT

THANKS :D

Evie the Bird Mother 🌸 ☽

  • Veteran Contributor
  • *
  • Offline Offline
  • Gender: Female
  • ああ、紅茶がおいしい。 ~ ^^
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #629 on: June 26, 2017, 10:47:43 am »
THE ITEM CODE TO CHANGE ID u already give it to me i tryed before and it work fine if please say me how to have my own old id back

Sadly you need to have remembered your old ID to do that but if you know it (check an old Pokémon) let me know and I can give you the code. :)

THE ITEM CODE TO CHANGE OT

OK, I've prepared one for the Italian, French, German and Spanish versions for you:

Item in slot 1: any item/ws# #m#
Item in slot 2: any item/ws# #m# (one of these has to be ws# #m#)
Item in slot 3: TM50 x 185
Item in slot 4: TM10 x 64
Item in slot 5: TM34 x 92
Item in slot 6: TM09 x 4
Item in slot 7: X Accuracy x43
Item in slot 7: Full Heal x46
Item in slot 8: Calcium x52
Item in slot 9: TM01 x anything
Item in slot 10+: anything


code to place at D326 and below for testing on memory editor:

FA B9 D2 40 EA 5C D1 04 2E 2B 34 2E 27 34 C9


To use it prepare a Pokémon named "GF" in party slot 1 and use ws m three times.

If you want to change it back after getting Mew, change item 3's quantity back to 185 and item 5's quantity back to 92 (this code changes them so it knows which letter you're on), prepare a Pokémon named (Your name) in slot 1, and use ws m for (your name length+1) times.

Hope this works!
« Last Edit: June 26, 2017, 10:58:45 am by Torchickens »
(I was former joint head admin but stepped down)
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post. ^^
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Love, faith, hope are free. If all is lost friends save us.
Thanks fans for lovely Torchic artwork. ♡ First image thanks Nyapon.