comparison clojure/com/aurellem/exp/notes.txt @ 290:dc9a0060e7cb

script: walked to poke-center computer.
author Robert McIntyre <rlm@mit.edu>
date Thu, 29 Mar 2012 17:38:36 -0500
parents 22f58fa47c3c
children 4a0dbaed7078
comparison
equal deleted inserted replaced
289:df9cad9909d2 290:dc9a0060e7cb
1 ******** Game Sequence 1 ******** Game Sequence
2
3 2
4 start game 3 start game
5 4
6 name rival "<space><PK>G<PK>G<PK>" 5 name rival "<space><PK>G<PK>G<PK>"
7 (0x7F 0xE1 0x86 0xE1 0x86 0xE1 in character codes) 6 (0x7F 0xE1 0x86 0xE1 0x86 0xE1 in character codes)
8 7
9 get pikachu, fight rival, deliver oak's parcel 8 get pikachu, fight rival, deliver oak's parcel, go back to
9 viridian poke mart.
10 10
11 buy 5 items from viridian store, with the last one being a 11 Perform save corruption.
12 burn-heal.
13 12
14 Perform save corruption. 13 switch 6th pokemon with 9th to set current-items to 0xFF
15 (save, restart during save, switch 6th pokemon with 9tn)
16 14
17 move one of the other items that wasn't destroyed (but not 15 Sell 254 cancel-buttons to get a bunch of money.
18 burn-heal) to the money counter to get a bunch of money.
19 16
20 buy 95 more burn heals. 95 burn heals spells out the 17 buy a pokeball to repair item-list
21 address that will safely return control to the pokemon 18
22 kernel. 19 buy 1 pokeball, 1 potion, 1 antidote, 1 parlyz heal, and
20 96 burn heals
21
22 95 burn heals spells out the address that will safely return
23 control to the pokemon kernel.
24
25 switch 5th pokemon with 9th to set current-items to 0xFF,
26 corrupting the item-list again.
27
28 Deposit things from your item list to get the following
29 pattern in the item computer. You can do this with what is
30 in your item list because of the previous setup.
23 31
24 [repeat following 35 times] 32 [repeat following 35 times]
25 0x00 33 0xFF
26 0x01 34 0x01
35 [end repeat]
27 36
28 0x00 37 0x00
29 0xFA -- first part of "Load A from Literal address" 38 0xFA -- first part of "Load A from Literal address"
30 39
31 third rival's name character 40 third rival's name character
47 x 95 -- address of Route 3 memory-function 56 x 95 -- address of Route 3 memory-function
48 57
49 0x00 58 0x00
50 0x?? 59 0x??
51 60
61 Drop enough from rival's first character/ second character
62 as an item so that it is [0x7F 0xD5] instead of [0x7F 0xE1].
63
52 shift rival's name's first two characters into 64 shift rival's name's first two characters into
53 mem-function-address. 65 mem-function-address.
54 66
55 now close the menu and continue item manipulations using the 67 now close the menu and continue item manipulations using the
56 newly constructed program. Starting and then canceling the 68 newly constructed program. Starting and then canceling the
57 start menu activates the program. 69 start menu activates the program.
58
59
60 70
61 ********** END Game Sequence 71 ********** END Game Sequence
62 72
63 73
64 74