User talk:Háčky: Difference between revisions

 
Line 30: Line 30:


Great add Háčky. Thanks for sharing. :) May I ask how you found the vending machine glitch? Did you find it by accident, thanks to the Pokémon Red disassembly, or documented somewhere else? If the code is documented in the Pokémon Red disassembly, may you share the relevant assembly please? Thanks in advance. [[User:Chickasaurus|Chickasaurus]] ([[User talk:Chickasaurus|talk]]) 21:55, 22 September 2015 (UTC)
Great add Háčky. Thanks for sharing. :) May I ask how you found the vending machine glitch? Did you find it by accident, thanks to the Pokémon Red disassembly, or documented somewhere else? If the code is documented in the Pokémon Red disassembly, may you share the relevant assembly please? Thanks in advance. [[User:Chickasaurus|Chickasaurus]] ([[User talk:Chickasaurus|talk]]) 21:55, 22 September 2015 (UTC)
:I saw it mentioned on [[Talk:Vending Machine#Buying lemonade with less than $350?]]. The code is disassembled in [https://github.com/iimarckus/pokered/blob/master/engine/menu/vending_machine.asm engine/menu/vending_machine.asm] but not fully documented. The key part is:
:I saw it mentioned on [[Talk:Vending machine#Buying lemonade with less than $350?]]. The code is disassembled in [https://github.com/iimarckus/pokered/blob/master/engine/menu/vending_machine.asm engine/menu/vending_machine.asm] but not fully documented. The key part is:
  xor a
  xor a
  ld [hMoney], a
  ld [hMoney], a
40,974

edits