view clojure/com/aurellem/exp/notes.txt @ 241:7984a084aa07

still working on overall stragety... going to sleep on it.
author Robert McIntyre <rlm@mit.edu>
date Sun, 25 Mar 2012 02:35:14 -0500
parents 25022f3c6607
children 22f58fa47c3c
line wrap: on
line source
1 ******** Game Sequence
4 start game
6 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 parcel
11 buy 5 items from viridian store, with the last one being a
12 burn-heal.
14 Perform save corruption.
16 move one of the other items that wasn't destroyed (but not
17 burn-heal) to the money counter to get a bunch of money.
19 buy 95 more burn heals. 95 burn heals spells out the
20 address that will safely return control to the pokemon
21 kernel.
23 [repeat following 35 times]
24 0x00
25 0x01
27 0x00
28 0xFA -- first part of "Load A from Literal address"
30 third rival's name character
31 xD5 -- target item address
33 0x00
34 0x3C -- increment A register
36 0x00
37 0xEA -- first part of "Save A to literal address"
39 fifth rival's name character
40 xD5 -- target item address
42 0x00
43 0xC3 -- first part of "Absolute Jump to literal address"
45 burn-heal
46 x 95 -- address of Route 3 memory-function
48 0x00
49 0x??
51 shift rival's name's first two characters into
52 mem-function-address.
54 now close the menu and continue item manipulations using the
55 newly constructed program. Starting and then canceling the
56 start menu activates the program.
60 ********** END Game Sequence
70 valid start addresses for the initial bootstrap program are
71 the following:
73 0xD31D - 0xD41B
74 --OR--
75 0xD53A - 0XD59C