Commit graph

201 commits

Author SHA1 Message Date
Bryan Bishop
9ee1359ac9 update MapHeaderPointers with labels
hg-commit-id: 29ffc56168cf
2012-01-02 23:48:24 -06:00
Bryan Bishop
f5a98ba94c fuchsia city map header asm
hg-commit-id: b465705d8588
2012-01-02 23:42:41 -06:00
Bryan Bishop
3174f3f124 lavender town map header asm
hg-commit-id: bfcae8d74c18
2012-01-02 23:38:57 -06:00
Bryan Bishop
c6e1e58176 cerulean city map header asm
hg-commit-id: 2102977fafd9
2012-01-02 23:35:29 -06:00
Bryan Bishop
cb6829e9a2 pewter city map header asm
hg-commit-id: 2ce93ca8122e
2012-01-02 23:28:20 -06:00
Bryan Bishop
e13bf62e9c viridian city map header asm
hg-commit-id: 28609e246512
2012-01-02 22:37:07 -06:00
Bryan Bishop
020ccf422a add celadon city map header
hg-commit-id: bf3db4f1e388
2012-01-02 19:14:26 -06:00
IIMarckus
2080c11a7f Add more in‐battle checks.
Could use some cleaning up.

hg-commit-id: a3a53e66dd27
2011-12-29 19:54:13 -07:00
IIMarckus
ecbeec3202 Flinch check.
hg-commit-id: e6166d4407ef
2011-12-29 18:16:50 -07:00
IIMarckus
3678f9bfb9 $FFF3 checks whose turn it is.
hg-commit-id: e2038c0cb5f9
2011-12-29 03:37:44 -07:00
IIMarckus
0af6c061fe Add status checks + text.
hg-commit-id: 58043ea19ab5
2011-12-29 03:31:17 -07:00
IIMarckus
b273050dc6 Add some more Pokémon Tower battle stuff.
hg-commit-id: 4510da2e0fc3
2011-12-29 02:20:55 -07:00
IIMarckus
ee3c63737d Add the ghost battle text.
hg-commit-id: 29da85a6ac0b
2011-12-29 02:05:36 -07:00
IIMarckus
e0f94f9384 Add the tail end of some battle code.
hg-commit-id: 1ae1fda42a8c
2011-12-29 00:24:28 -07:00
IIMarckus
98de3ed35f PP decrement during battle.
hg-commit-id: 7ea8b204a6b9
2011-12-28 20:28:51 -07:00
IIMarckus
fa9c66dc63 Cleanup, and added new RAM variables (and changed some others).
hg-commit-id: 91fe5cdac0f3
2011-12-27 20:04:33 -07:00
IIMarckus
b87848642c Disassemble some name lists logic.
From Sawakita, several months ago.

hg-commit-id: e2533e235981
2011-12-27 19:33:41 -07:00
IIMarckus
a0fc3558cf Add some mysterious unused names (from a convo with Sawakita a long time ago)
hg-commit-id: 0dd354e3d7c5
2011-12-27 18:40:45 -07:00
IIMarckus
b9980afa26 Add some functions that MoveSprite calls.
hg-commit-id: a5ed1444c203
2011-12-27 16:56:56 -07:00
IIMarckus
d0582479df Add the MoveSprite function.
hg-commit-id: d9a244bd968e
2011-12-27 16:46:10 -07:00
IIMarckus
582fa01279 Expand some already‐referenced text.
hg-commit-id: d2cf570756e9
2011-12-27 16:31:22 -07:00
IIMarckus
f7d5b6eb6b And update the paths for the fossils…
hg-commit-id: 5c617657d739
2011-12-27 13:01:14 -07:00
IIMarckus
18bf34ec0b Split large chunks of text into separate files, and improve Makefile.
hg-commit-id: 59e6e303019d
2011-12-26 18:40:25 -07:00
IIMarckus
d5c498a7ec Remove TX_NULL; it is obsoleted by db "@"
hg-commit-id: 9fdfeb4cbdf0
2011-12-26 17:22:34 -07:00
Sawakita
4a6d81aea2 Fix (hopefully) unicode mis-behaviour.
hg-commit-id: 78ad0d43eabc
2011-12-27 01:04:13 +01:00
Sawakita
f9bbe64cc1 Add pointers to items usage functions, main item usage handling function and pokeballs usage functions.
hg-commit-id: e32c6c284c8e
2011-12-27 00:37:41 +01:00
IIMarckus
ba98f3bc22 Add another common function.
Don’t know what it does yet.

hg-commit-id: fb665f100641
2011-12-21 19:26:24 -07:00
IIMarckus
c48939d069 These are coordinates on the tilemap.
hg-commit-id: a85da897ad46
2011-12-21 14:41:44 -07:00
IIMarckus
77702c1fd4 More $54→# conversion.
hg-commit-id: 4cfdf4b2861b
2011-12-21 14:28:33 -07:00
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