Mercurial > vba-clojure
view clojure/com/aurellem/exp/notes.txt @ 275:68f4e87c8f51
added script to automatically buy any combination of items from a store's inventory.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 27 Mar 2012 12:36:48 -0500 |
parents | 22f58fa47c3c |
children | dc9a0060e7cb |
line wrap: on
line source
1 ******** Game Sequence4 start game6 name rival "<space><PK>G<PK>G<PK>"7 (0x7F 0xE1 0x86 0xE1 0x86 0xE1 in character codes)9 get pikachu, fight rival, deliver oak's parcel11 buy 5 items from viridian store, with the last one being a12 burn-heal.14 Perform save corruption.15 (save, restart during save, switch 6th pokemon with 9tn)17 move one of the other items that wasn't destroyed (but not18 burn-heal) to the money counter to get a bunch of money.20 buy 95 more burn heals. 95 burn heals spells out the21 address that will safely return control to the pokemon22 kernel.24 [repeat following 35 times]25 0x0026 0x0128 0x0029 0xFA -- first part of "Load A from Literal address"31 third rival's name character32 xD5 -- target item address34 0x0035 0x3C -- increment A register37 0x0038 0xEA -- first part of "Save A to literal address"40 fifth rival's name character41 xD5 -- target item address43 0x0044 0xC3 -- first part of "Absolute Jump to literal address"46 burn-heal47 x 95 -- address of Route 3 memory-function49 0x0050 0x??52 shift rival's name's first two characters into53 mem-function-address.55 now close the menu and continue item manipulations using the56 newly constructed program. Starting and then canceling the57 start menu activates the program.61 ********** END Game Sequence71 valid start addresses for the initial bootstrap program are72 the following:74 0xD31D - 0xD41B75 --OR--76 0xD53A - 0XD59C