Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

Generation I Glitch Discussion

8f script to change level to 100? - Page 1

8f script to change level to 100?

Posted by: seb5049
Date: 2017-01-28 15:46:44
Just wondering if there's an 8f script out there which can change a Pokémon's level to 100. Additionally, is there a script that can clone one Pokémon into a whole box? I'm asking because I want to get a box full of level 100 mews to give away in gen 7 (I've already changed my TID and name)

Re: 8f script to change level to 100?

Posted by: Cryo
Date: 2017-01-28 17:07:09

Just wondering if there's an 8f script out there which can change a Pokémon's level to 100.


This should change the level of the first Pokemon in the PC to 100 in Pokemon R/B.

[tt]Item            Quantity
========================
8F              xAny
[Any]          xAny
Thunderstone    x153
TM18            x62
PP Up          x135
Elixer          x119
TM01            xAny[/tt]

Here's the underlying code:

ld hl,$DA99
ld a,$32
add a,a
ld d,d
ld (hl),a
ret

Re: 8f script to change level to 100?

Posted by: TheZZAZZGlitch
Date: 2017-01-28 18:26:30
And there's already a script that allows for Pokemon cloning via Daycare.

Re: 8f script to change level to 100?

Posted by: Flandre Scarlet
Date: 2017-01-28 18:31:36
Not sure if that code will work. Last I remember increasing the "level" of a boxed Pokemon will not do anything and it will change to its real level as soon as you take it out of the box due to not changing the exp, this was about a year ago that I did this experimentation so I could be wrong.

Re: 8f script to change level to 100?

Posted by: seb5049
Date: 2017-01-29 03:32:42


Just wondering if there's an 8f script out there which can change a Pokémon's level to 100.


This should change the level of the first Pokemon in the PC to 100 in Pokemon R/B.

[tt]Item            Quantity
========================
8F              xAny
[Any]          xAny
Thunderstone    x153
TM18            x62
PP Up          x135
Elixer          x119
TM01            xAny[/tt]

Here's the underlying code:

ld hl,$DA99
ld a,$32
add a,a
ld d,d
ld (hl),a
ret


That code changed the level to 158, but upon taking the Pokémon out it reset.

Re: 8f script to change level to 100?

Posted by: ISSOtm
Date: 2017-01-29 04:43:04
Try this :

8F
[Any]          x[Any]
Thunderstone  x164
TM18          x62
Parlyz Heal    x34
TM01          x[Any]


Assembly code :

ld hl, $DAA4 ; Experience
ld a, $0F
ld [hli], a
ret


Use 8F, withdraw the first Pokémon in the active box, make it gain any amount of EXP, and it should shoot straight up to level 100 !
This code actually gives it lotsa experience, but if it's not enough try replacing the Parlyz Heal with a Leaf Stone to give it ~2 million more EXP.
That's how 8F rolls 8)

Re: 8f script to change level to 100?

Posted by: Yeniaul
Date: 2017-01-29 14:09:44
If you'll allow me to digress… can we consider 8F the equivalent of SMB3 Total Control?

Re: 8f script to change level to 100?

Posted by: Unused Trainer
Date: 2017-01-29 15:17:30
Fantastic script discovered.

Re: 8f script to change level to 100?

Posted by: seb5049
Date: 2017-01-29 16:20:35

Try this :

8F
[Any]          x[Any]
Thunderstone  x164
TM18          x62
Parlyz Heal    x34
TM01          x[Any]


Assembly code :

ld hl, $DAA4 ; Experience
ld a, $0F
ld [hli], a
ret


Use 8F, withdraw the first Pokémon in the active box, make it gain any amount of EXP, and it should shoot straight up to level 100 !
This code actually gives it lotsa experience, but if it's not enough try replacing the Parlyz Heal with a Leaf Stone to give it ~2 million more EXP.
That's how 8F rolls 8)

Thanks, just one more thing: Is there a way to specifically alter the XP gained so that I can determine what nature it will get when it goes through Bank?

Re: 8f script to change level to 100?

Posted by: ISSOtm
Date: 2017-01-30 13:48:17
You can't manipulate the XP you will gain (not as far as I know), but you can still manipulate the nature all right.

8F
[Any]          x[Any]
Thunderstone  x164
TM18          x62
Parlyz Heal    x34
Water Stone    x3
Lemonade      x??
Poké Ball      x34
TM01          x[Any]


Conversion table :
[table]
[tr]
[td]Quantity of Lemonades[/td][td]Resulting Nature[/td]
[/tr]
[tr]
[td]1[/td][td]Docile[/td]
[/tr]
[tr]
[td]2[/td][td]Relaxed[/td]
[/tr]
[tr]
[td]3[/td][td]Impish[/td]
[/tr]
[tr]
[td]4[/td][td]Lax[/td]
[/tr]
[tr]
[td]5[/td][td]Timid[/td]
[/tr]
[tr]
[td]6[/td][td]Hasty[/td]
[/tr]
[tr]
[td]7[/td][td]Serious[/td]
[/tr]
[tr]
[td]8[/td][td]Jolly[/td]
[/tr]
[tr]
[td]9[/td][td]Naïve[/td]
[/tr]
[tr]
[td]10[/td][td]Modest[/td]
[/tr]
[tr]
[td]11[/td][td]Mild[/td]
[/tr]
[tr]
[td]12[/td][td]Quiet[/td]
[/tr]
[tr]
[td]13[/td][td]Bashful[/td]
[/tr]
[tr]
[td]14[/td][td]Rash[/td]
[/tr]
[tr]
[td]15[/td][td]Calm[/td]
[/tr]
[tr]
[td]16[/td][td]Gentle[/td]
[/tr]
[tr]
[td]17[/td][td]Sassy[/td]
[/tr]
[tr]
[td]18[/td][td]Careful[/td]
[/tr]
[tr]
[td]19[/td][td]Quirky[/td]
[/tr]
[tr]
[td]20[/td][td]Hardy[/td]
[/tr]
[tr]
[td]21[/td][td]Lonely[/td]
[/tr]
[tr]
[td]22[/td][td]Brave[/td]
[/tr]
[tr]
[td]23[/td][td]Adamant[/td]
[/tr]
[tr]
[td]24[/td][td]Naughty[/td]
[/tr]
[tr]
[td]25[/td][td]Bold[/td]
[/tr]
[/table]
(Data taken from Smogon, see here)
These values also work modulo 25 (meaning 149 = 25 * 5 + 24 will give a Naughty nature, and 150 = 25 * 6 will give a Bold nature).
If you replace the Parlyz Heal with a Leaf Stone, use one more Lemonade.

I did not test this, so any feedback is appreciated.

Assembly code :

ld hl, $DAA4 ; Experience
ld a, $0F
ld [hli], a
ld [hli], a
inc bc
ld a, $??
dec b
ld [hli], a
ret

Those wondering : we are giving the Pokémon a specific experience value wayyyy high (so it levels up directly to level 100) and then we set the EXP back after some is gained to properly set the wanted nature.