Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
AreaDex
DexDex
ItemDex
TMHMDex
TypeDex
More

Major Glitches
Trainer escape glitch
Old man trick
Celebi Egg trick
SRAM glitch
Buffer overflow techniques
Pomeg glitch data corruption (Glitzer Popping)
Tweaking
Pokémon cloning
Select glitches (Japan)
Time Capsule exploit
Arbitrary code execution
More

Other Glitch Categories
Glitches by generation
Japan-only/language specific glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Recurring glitches
More

References
Pokémon GameShark codes
The Big HEX List
GB programming
Curiosities
Debugging features
Error traps
Non-glitch exploits
Pokémon glitch terminology
Unused content and prerelease information
More

Useful Tools
8F Helper
GBz80 to Items
Old man trick name generator
PATH (Prama's Advanced Tweaking Heaven)
Save file editors
Special stat/Pokémon converter
Trainer escape Trainer Pokémon finder

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Technical
Site Source Code

Search Wiki

 

Search Forums

 

Author Topic: Having trouble obtaining multiple item stacks  (Read 530 times)

0 Members and 1 Guest are viewing this topic.

Epsilon

  • Zeta
  • Member+
  • *
  • Offline Offline
  • The default personal text makes no sense
    • View Profile
Re: Having trouble obtaining multiple item stacks
« Reply #15 on: January 01, 2018, 08:14:50 pm »
What? It doesn't alter your save at all!

What are you doing?

Also, after re-reading what you posted for your bootstrapper, you didn't specify Seel's HP. It's supposed to be exactly 233

If you can recall, what was Seels exact HP when you attempted this?
« Last Edit: January 01, 2018, 08:42:04 pm by Epsilon »
"What's a stack? Can you eat that?"

"Sure, just POP it into your mouth!" (someoneplskillme)

Clash Royale profile: #LYQC9LLV. Join our clan because we're lonely.

Does anybody really know what time it is?

Does anybody really care?
- Chicago

Mrfenette

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Having trouble obtaining multiple item stacks
« Reply #16 on: January 01, 2018, 09:07:41 pm »
Well I know for sure my bootstrap should have been correct, after all I was able to duplicate or get any item using ws m before. I think it had something to do with me using the code twice in a row. Anyways its also not the first time it happened so I'm just gonna try again.
 

Epsilon

  • Zeta
  • Member+
  • *
  • Offline Offline
  • The default personal text makes no sense
    • View Profile
Re: Having trouble obtaining multiple item stacks
« Reply #17 on: January 01, 2018, 09:11:01 pm »
its also not the first time it happened so I'm just gonna try again.

So you've had issues with ws m codes in the past? You may be doing something a bit differently.

Either that, or you might also be on Virtual Console. Virtual console is s**t at emulating SRAM (Static RAM, responsible for the save file) so that may also be an issue.
"What's a stack? Can you eat that?"

"Sure, just POP it into your mouth!" (someoneplskillme)

Clash Royale profile: #LYQC9LLV. Join our clan because we're lonely.

Does anybody really know what time it is?

Does anybody really care?
- Chicago

Mrfenette

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Having trouble obtaining multiple item stacks
« Reply #18 on: January 01, 2018, 09:56:59 pm »
Right that's what I'm thinking. The first time it happened I was using an incorrect setup, so it kinda made since that it erased everything. This time seemed like there was a different because I had used it before without doing this.

the last thing I had tried was:
ws m
Bicycle
Awakening x170
Thunderstone x134
TM09 x121
Poke Ball x50
Lemonade x250
Ice Heal x119
TM01 x01

Is it possible to use a different code to achieve the same desired effect?
« Last Edit: January 01, 2018, 09:59:12 pm by Mrfenette »

Epsilon

  • Zeta
  • Member+
  • *
  • Offline Offline
  • The default personal text makes no sense
    • View Profile
Re: Having trouble obtaining multiple item stacks
« Reply #19 on: January 01, 2018, 10:07:19 pm »
Is it possible to use a different code to achieve the same desired effect?

Funny you mention that, as I was planning on shortening the code to make it easier to use

ws m
Any xany
Lemonade x170 (hex:AA)
Thunderstone x134 (hex:86)
TM09 x50 (hex:32)
Ice Heal x62 (hex:3E)
TM50 x119 (hex:77)
TM01 x[Any qty]

This code does the exact same thing as the original code, but this time I was able to take advantage of the fact that $FA isn't a glitch item, so I could shorten the code to make it easier on the end-user.

In case you are curious, here's what the code translates to:
Code: [Select]
ld a,$aa ; Register a is now $AA
ld hl,$d186 ; Register h is now $D1, Register l is now $86
ldd (hl),a ; Loads "a" into the location at "hl" ($D186 controls the Speed and Special DV), decreases "hl" by one
dec c ; Padding to prevent duplicate Items, it's bad practice
ld a,$fa ; "a" is now $FA
ld (hl),a ; Loads "a" into "hl" ($D185 controls the Attack and Defense DV)
ret ; Return control to game

I tested this code repeatedly and had no issues with the save file, but I didn't have any issues with the prior code either.
« Last Edit: January 02, 2018, 09:10:43 am by Epsilon »
"What's a stack? Can you eat that?"

"Sure, just POP it into your mouth!" (someoneplskillme)

Clash Royale profile: #LYQC9LLV. Join our clan because we're lonely.

Does anybody really know what time it is?

Does anybody really care?
- Chicago

Mrfenette

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Having trouble obtaining multiple item stacks
« Reply #20 on: January 03, 2018, 12:20:11 am »
Okay I'm not sure what was happening before but this one works fine! Maybe all I needed was just a fresh save file lol.
Thanks for all your help!

Epsilon

  • Zeta
  • Member+
  • *
  • Offline Offline
  • The default personal text makes no sense
    • View Profile
Re: Having trouble obtaining multiple item stacks
« Reply #21 on: January 03, 2018, 12:34:45 am »
Anytime! Glad I could be of service :)
"What's a stack? Can you eat that?"

"Sure, just POP it into your mouth!" (someoneplskillme)

Clash Royale profile: #LYQC9LLV. Join our clan because we're lonely.

Does anybody really know what time it is?

Does anybody really care?
- Chicago