Commit graph

422 commits

Author SHA1 Message Date
IIMarckus
64016fb133 More text nulls.
hg-commit-id: e6826566b661
2011-12-21 14:23:37 -07:00
IIMarckus
d637d149cc Add a character for the numero sign.
Unicode has a character for just about anything…

hg-commit-id: 55e8f69345df
2011-12-21 14:20:45 -07:00
IIMarckus
eed5047922 Add characters for textbox borders to the array.
hg-commit-id: b09b0823f1bc
2011-12-21 14:02:50 -07:00
IIMarckus
f707f6f4bb Add a weird OT string write.
hg-commit-id: 86260ed8fe9b
2011-12-21 03:39:57 -07:00
IIMarckus
04ff45ee4e Add Pokedex number ↔ index number conversion functions.
hg-commit-id: 39d1a9be9251
2011-12-21 03:08:33 -07:00
IIMarckus
eac73b32e6 Treat apostrophes specially, since they’re combining characters.
This will need to be changed a bit if there are ever cases in‐game
where ’m, et cetera do NOT get combined into one character.
Maybe doubling it up to be treated as a single character (’’).

hg-commit-id: c90b7888ad5a
2011-12-21 02:50:47 -07:00
IIMarckus
0238a81e39 Add various data from the credits (graphics, displayed mons, text).
hg-commit-id: cb2b41ecc2b2
2011-12-21 02:23:50 -07:00
IIMarckus
9efa550e40 Add move names.
hg-commit-id: 8d2968b72693
2011-12-21 00:48:14 -07:00
IIMarckus
450949763c Add Japanese text entry and Pokédex entries.
hg-commit-id: 8de61c31d46c
2011-12-21 00:31:01 -07:00
IIMarckus
5d52935fa8 Add ….
hg-commit-id: 24a16073172d
2011-12-21 00:17:42 -07:00
IIMarckus
bd9ca785e0 Add é and fix a typo when converting text.
hg-commit-id: 2aaa737ef65a
2011-12-21 00:15:56 -07:00
IIMarckus
63b7b8e783 Add support for Unicode, and use it to put in ♀ and ♂.
hg-commit-id: a482b0ef7a01
2011-12-21 00:12:36 -07:00
IIMarckus
35a33bf3d7 Replace more byte values with text.
hg-commit-id: aafedf1b0032
2011-12-18 23:59:46 -07:00
IIMarckus
f37017558c More text nulls.
hg-commit-id: 5aefc8f9848c
2011-12-18 21:08:22 -07:00
IIMarckus
97ff98670d Use "@" for nulls. This makes fixed‐width text tables easier to read.
hg-commit-id: 96453d82d299
2011-12-18 12:48:33 -07:00
IIMarckus
ba231fa07a More text, and some new characters. Make $50 equal to "@".
hg-commit-id: 5a8e07fda917
2011-12-17 22:33:47 -07:00
IIMarckus
ace3fa5bbc Add more text strings.
hg-commit-id: 04245bd85515
2011-12-17 02:57:07 -07:00
IIMarckus
89d8ad4fd2 Make use of the new text preprocesser to make text readable.
hg-commit-id: 984aa67c548c
2011-12-17 00:14:22 -07:00
IIMarckus
eb83f10dd4 More animation code, and the sound data for attacks.
hg-commit-id: 411724212aa0
2011-12-16 00:07:58 -07:00
IIMarckus
d116f0b876 More uncommented animation code.
hg-commit-id: c5d9abf0f6e3
2011-12-15 19:53:57 -07:00
IIMarckus
6bc9c5dc3f Add title screen monsters from Green and Blue as well.
Having data from all versions is a long‐term goal, but until the
ROMs for those versions can be easily built and compared to the
originals, it will be very easy for errors to slip in. Adding stuff
from Green, Blue, and Yellow is okay with me, but for now Red is
the only version guaranteed to have correct data.

hg-commit-id: c595f0981208
2011-12-15 18:22:21 -07:00
IIMarckus
a8dbea888b Poké Ball animation code cleanup.
hg-commit-id: 812dc01df153
2011-12-15 18:05:30 -07:00
IIMarckus
c04a77529a This has already been explained.
Also, the value in the comment was wrong ($FFD6, not $FFD3).

hg-commit-id: 0c73f2ee5227
2011-12-14 21:52:14 -07:00
IIMarckus
c88dd75ba1 Add Pokémon that appear on the title screen.
hg-commit-id: 946c0db2db3b
2011-12-14 21:22:54 -07:00
IIMarckus
f9a8858dd1 Minor comment changes.
hg-commit-id: a25973059a03
2011-12-12 21:25:23 -07:00
IIMarckus
c44b52577b Add random number generation functions.
hg-commit-id: e7d865799d77
2011-12-12 19:47:20 -07:00
IIMarckus
0152e33909 Document the byte before a trainer’s AI pointer.
hg-commit-id: 6b0145fce032
2011-12-12 18:48:35 -07:00
IIMarckus
ef6eb622c4 Minor clarifications in Pallet Town scripts.
hg-commit-id: f42fc4aeadc6
2011-11-14 02:48:50 -07:00
IIMarckus
1f5696ddda More minor label fixes.
hg-commit-id: e0d74b3b39cd
2011-11-14 00:29:44 -07:00
IIMarckus
c51b06f975 Fix pointer label.
hg-commit-id: 88f7d6719e99
2011-11-14 00:28:25 -07:00
IIMarckus
3fbbc239ac Add Blue’s house map.
hg-commit-id: 4f46a3ac0e71
2011-11-14 00:25:15 -07:00
IIMarckus
31e251af3a Minor cleanup.
hg-commit-id: da3b7f586edf
2011-11-13 23:10:46 -07:00
IIMarckus
8028c825b6 Add Pallet Town map.
hg-commit-id: 53d9e5cf0c1e
2011-11-13 23:06:56 -07:00
IIMarckus
36c926f342 Add Red’s room map.
hg-commit-id: 73e8118562b5
2011-11-13 20:12:54 -07:00
IIMarckus
c790096acd Fix pointer
hg-commit-id: 3aab9ee72906
2011-11-13 19:04:28 -07:00
IIMarckus
66df926d81 Add Red’s House 1F map.
hg-commit-id: 89152a0294e8
2011-11-13 19:01:21 -07:00
IIMarckus
2ebb4eac5f Extract compressed pics into separate files.
Pointers to them will come later.

hg-commit-id: 51001a669f3c
2011-08-28 11:40:59 -06:00
IIMarckus
48634e8d36 Fill out the dictionary some more.
hg-commit-id: d1ffa00657b2
2011-07-31 01:03:03 -06:00
IIMarckus
4416e95988 Add $58 to the dictionary.
This is a very strange character and should be looked at more closely.

hg-commit-id: 11758d86cc50
2011-07-31 00:45:50 -06:00
IIMarckus
4771aa0503 Add missing label in dictionary.
hg-commit-id: a6d437e52c1a
2011-07-31 00:39:02 -06:00
IIMarckus
92ce91cb3a Add Super Rod data.
hg-commit-id: 45945e369724
2011-07-31 00:14:47 -06:00
IIMarckus
4b8f71a593 Add Good Rod data.
hg-commit-id: 14c828bf56a2
2011-07-30 23:25:17 -06:00
IIMarckus
9e11a1e996 Fill out the dictionary some more.
hg-commit-id: 0b2352698d90
2011-06-05 21:54:08 -06:00
IIMarckus
f227b10d88 Add attack type multipliers (thx Sawakita)
hg-commit-id: b0aee07420f2
2011-06-05 15:21:01 -06:00
IIMarckus
dbac7df72d Partially fill out the dictionary.
hg-commit-id: 3524be052533
2011-05-30 23:09:18 -06:00
IIMarckus
d3270b231b Start of the text engine.
hg-commit-id: 31967a870912
2011-05-30 22:32:10 -06:00
IIMarckus
68f0afdfa2 It makes sense for widths to be in decimal.
hg-commit-id: 6dad4f222381
2011-05-30 22:09:35 -06:00
IIMarckus
0e145ea2a4 First part of save file interpretation functions, thx Sawakita.
Also box‐drawing functions.

hg-commit-id: eaa7bd7c7804
2011-05-30 21:58:46 -06:00
IIMarckus
3cbe353075 Basic attack animation functions.
hg-commit-id: d5377e1bb8b5
2011-04-11 23:13:22 -06:00
IIMarckus
489ce74215 Correct misplaced comment.
hg-commit-id: 3dbde39efffc
2011-04-11 19:10:57 -06:00
IIMarckus
6dae2db72a Function that copies the attack data to memory.
hg-commit-id: d2b2f3874e47
2011-04-10 22:30:02 -06:00
IIMarckus
74b45506df Add attack characteristics data.
hg-commit-id: 2dbe132df9b8
2011-04-10 22:04:15 -06:00
IIMarckus
5c7534fced Use Unicode characters, because they look nicer
hg-commit-id: a90f2037f921
2011-04-09 23:42:56 -06:00
IIMarckus
5f2171f2b5 expand interrupts and vectors
hg-commit-id: 9cd191243c8c
2011-04-09 23:41:57 -06:00
IIMarckus
71e161da53 Use human-readable names instead of memory addresses.
hg-commit-id: da67afc569e2
2011-04-09 23:30:24 -06:00
IIMarckus
3426db1c09 Remove unnecessary comments.
hg-commit-id: f093750985ee
2011-04-09 23:19:34 -06:00
IIMarckus
9c86722724 Fade-in / fade-out functions (thx Sawakita)
hg-commit-id: fe4c5e88689d
2011-04-09 23:03:50 -06:00
IIMarckus
817e3af31b Filled out Oak's speech a bit more.
hg-commit-id: 8d8a71cabb01
2011-04-09 22:45:57 -06:00
IIMarckus
3868e76766 Let's not call things sprites when they aren't.
hg-commit-id: 47c127c1d1b6
2011-04-09 20:46:30 -06:00
IIMarckus
fa5434f225 Add the function that moves pics left in Oak's speech
hg-commit-id: 1c2ca8f29fbd
2011-04-09 20:44:48 -06:00
IIMarckus
5e0e4a4ea0 This function waits for a Vblank to go by.
Rename ConserveBattery to DelayFrame, and Delay to DelayFrames.

hg-commit-id: 66b020480494
2011-04-09 20:19:29 -06:00
IIMarckus
c7737ee3d3 add in a function from Oak's speech
hg-commit-id: 393c2c38d860
2011-04-09 20:12:51 -06:00
IIMarckus
dd3d39418b Add Hide/Show data for maps.
Thx Sawakita

hg-commit-id: 6d39560c8958
2011-03-20 23:12:57 -06:00
IIMarckus
be114145c3 Add trade monsters
hg-commit-id: 0e216fc33c42
2011-03-13 14:31:26 -06:00
IIMarckus
c8cb96f964 Add evolutions / learned attacks. Thx Sawakita
hg-commit-id: ae6415b2d6b3
2011-02-19 17:39:39 -07:00
IIMarckus
b154637c1d Split compressed town map into a separate include, and give it a label
hg-commit-id: 80533e98e95a
2011-02-19 00:14:19 -07:00
IIMarckus
2cad63f7bb Add town map locations. Thanks once again to Sawakita.
hg-commit-id: 294cd2e30768
2010-12-27 18:23:31 -07:00
IIMarckus
3e0eedba78 Add tileset headers (thx Sawakita)
hg-commit-id: 3a63e0677ec3
2010-12-20 16:41:53 -07:00
IIMarckus
f4c48cca7a fix typo, thx Sawakita
hg-commit-id: 6d5855c95eb8
2010-12-03 20:57:23 -07:00
IIMarckus
b3f714df8d minor comment improvements
hg-commit-id: 391e80aabed8
2010-11-19 23:58:27 -07:00
IIMarckus
0675a871ba add oak's speech
hg-commit-id: 5054b6222332
2010-11-19 23:40:32 -07:00
IIMarckus
da200058da add ClearScreen function
hg-commit-id: 4f32cac305e9
2010-11-19 23:30:32 -07:00
IIMarckus
46337960bf add some delay-related functions
hg-commit-id: de967f59fa61
2010-11-19 23:27:27 -07:00
IIMarckus
d0c027be62 add the conserve battery delay function
hg-commit-id: db4f8980a3ec
2010-11-19 23:22:13 -07:00
IIMarckus
9b5a97afc2 create a new macro to make byte–word pairs more readable
hg-commit-id: 24c0b06fa1c3
2010-11-19 23:00:56 -07:00
IIMarckus
eb98b000cd Minor address→label replacement
hg-commit-id: 5cd6b3b2f243
2010-11-19 22:50:04 -07:00
IIMarckus
ef3e680cbd won't be getting to this for a while, so mark it with XXX
hg-commit-id: 120ba4d6af85
2010-11-19 22:31:21 -07:00
IIMarckus
080f02ff60 Mention the predefined pointers used in map scripts. thx Sawakita
These need to be documented. Could be the RBY equivalent of G/S’s
scripting engine.

hg-commit-id: 1da502fdda91
2010-11-16 17:48:27 -07:00
IIMarckus
9e58f4480a split constants into their own file
hg-commit-id: c66973629bf6
2010-11-12 23:00:02 -07:00
IIMarckus
6d5fe3f49f Minor address→label replacement
hg-commit-id: da374fe7f094
2010-10-30 20:09:20 -06:00
IIMarckus
e56b7c85c6 Expand enemy withdraw routine. Needs cleanup!
hg-commit-id: 763da09f0b08
2010-10-30 00:04:02 -06:00
IIMarckus
48a7103175 misc. label improvements
hg-commit-id: fc108848b348
2010-10-29 22:01:44 -06:00
IIMarckus
ecf5f87019 Expand some bankswitch routines in the home bank
hg-commit-id: 01edc4778cee
2010-10-29 21:20:50 -06:00
IIMarckus
86a83b1046 Replace a couple addresses with existing labels
hg-commit-id: 146738f842e3
2010-10-29 21:13:38 -06:00
IIMarckus
31aa2d80d1 add some useful text macros
hg-commit-id: ee1364b43984
2010-10-29 20:59:46 -06:00
IIMarckus
67922daa1a Expand routine that gets item name given item id
hg-commit-id: 1a57150ac99a
2010-10-29 20:48:52 -06:00
IIMarckus
f0ae1dcc35 decompose PrintText
hg-commit-id: 2541bb953956
2010-10-29 20:35:17 -06:00
IIMarckus
abf21e5383 More trainer AI: status healing items, stat-raising items
hg-commit-id: dd1cceb189ec
2010-10-29 20:31:09 -06:00
IIMarckus
1f4d36f5e8 These trainers use potions of various kinds
hg-commit-id: d42dfe58f257
2010-10-28 23:19:33 -06:00
IIMarckus
37c66572e8 Expand each trainer's AI function
hg-commit-id: 6ee95d526091
2010-10-28 23:01:30 -06:00
IIMarckus
12b47c8f66 Add pointers to trainer AI
hg-commit-id: ed75152bf10f
2010-10-28 22:37:18 -06:00
IIMarckus
f35da53f88 Add mart data. Still need to find the pointer/routine for it.
hg-commit-id: a2daae171caa
2010-10-26 22:46:59 -06:00
IIMarckus
c5588d3b9c add item name constants
hg-commit-id: c3f10cdcff75
2010-10-26 21:37:40 -06:00
IIMarckus
18e4701dfc whitespace changes
hg-commit-id: b1a92aa2875c
2010-10-26 07:37:56 -06:00
IIMarckus
4cccc2fdf8 It’s official: if something needs doing, mark it with XXX.
If you’re not absolutely, positively sure a comment is
correct, mark it with XXX. Don’t leave anything that’s
not 100% clear unmarked, or nobody will ever fix it.

hg-commit-id: 8d23e2ad71eb
2010-08-16 21:11:43 -06:00
IIMarckus
ec8413e317 comment improvement
hg-commit-id: 2d141f805654
2010-08-16 21:09:04 -06:00
IIMarckus
aef6886305 convert spaces to tabs
hg-commit-id: 9f0b5d816c79
2010-08-16 21:08:22 -06:00
IIMarckus
d6e077dfce add map names to some pointers (incomplete)
hg-commit-id: ede772fd7d75
2010-08-16 21:07:55 -06:00
IIMarckus
b9601888a0 typos
hg-commit-id: 3e9ff0ba2de5
2010-08-16 21:01:42 -06:00
IIMarckus
254d861ed0 add pokedex order
hg-commit-id: b5dcc067aefc
2010-08-16 00:46:03 -06:00
IIMarckus
cb2ab7f1ed add individual monster palettes
hg-commit-id: f630aeb50fc6
2010-08-16 00:15:05 -06:00
IIMarckus
813affec1d slight correction to palette names
hg-commit-id: 6303d5a2eed6
2010-08-15 23:56:49 -06:00
IIMarckus
687596e258 palette name constants
hg-commit-id: 5fa92039fb22
2010-08-15 23:48:30 -06:00
IIMarckus
3d6ff4a0ab add sgb palette definitions
hg-commit-id: af98424e65a1
2010-08-15 23:40:58 -06:00
IIMarckus
8f863e812a add banks for map header pointers
hg-commit-id: 9c450caf8ffb
2010-08-01 09:13:02 -06:00
IIMarckus
beec27ef52 add map pointers
These are currently static values. Next would be to start
disassembling maps, I guess.

Step 1: Disassemble maps until all of these pointers have been replaced
with labels.

Step 2: Move all the map data to a different file (seems like it would
fit).

Step 3: Make an editor that outputs blockdata to a separate file?

hg-commit-id: 4d6f657603b1
2010-07-31 13:30:42 -06:00
IIMarckus
d363e2bbfa bank numbers for pokemon image pointers
hg-commit-id: d314e1bccced
2010-07-08 21:56:49 -06:00
IIMarckus
46d9b99360 replace WildMonsters__ with real location names
hg-commit-id: 28d76d9e49da
2010-03-21 19:27:37 -06:00
IIMarckus
d922826d6f add AddNTimes function
hg-commit-id: 52c0a95534f2
2010-03-19 10:43:22 -06:00
IIMarckus
a715484609 add code that gives enemies special moves
hg-commit-id: cf9177d9be80
2010-03-19 10:40:28 -06:00
IIMarckus
9dc6221168 add the attacks leaders and the elite 4 use
hg-commit-id: 6d86aadf90a4
2010-03-19 01:25:29 -06:00
IIMarckus
d07db62219 add attack names as constants
hg-commit-id: e5042ae42106
2010-03-19 01:12:55 -06:00
IIMarckus
3dc277d652 add trainer name constants
hg-commit-id: 01994c044916
2010-03-19 00:49:46 -06:00
IIMarckus
bd3d202d17 add the data copying functions at 009D, 00B5
hg-commit-id: 5a5589502446
2010-03-19 00:27:34 -06:00
IIMarckus
7b7267e5c1 remove self-evident comments
hg-commit-id: 38354cd9469d
2010-03-19 00:16:02 -06:00
IIMarckus
459a7c8ad0 use readable names instead of ram addresses
hg-commit-id: 49fdf90d76d0
2010-03-19 00:10:42 -06:00
IIMarckus
dd95618085 add wild pokemon data, with a little code that parses it
hg-commit-id: 725848b96314
2010-03-19 00:06:01 -06:00
IIMarckus
0cfc2c708a a lot of the rom is free space. don't bother including empty banks
hg-commit-id: ccb1fefbe9de
2010-03-18 21:23:39 -06:00
IIMarckus
661d8f0030 trainer data: the pokemon on each team
hg-commit-id: 97ab2b06b995
2010-01-04 21:58:43 -07:00
IIMarckus
49dcb82777 add pokemon names as constants
hg-commit-id: 6d1d39f89dba
2010-01-04 20:44:08 -07:00
IIMarckus
63a594a3c5 outsource the ROM header to rgbfix
hg-commit-id: 0a810b8fee68
2010-01-04 20:17:37 -07:00
IIMarckus
df2b3b739c Initial commit
hg-commit-id: 8bac7aa76c64
2010-01-04 17:58:43 -07:00