Commit Graph

762 Commits

Author SHA1 Message Date
yenatch
663c523ac4 fix formatting in player pic asm 2013-09-18 21:10:25 -04:00
yenatch
48bab16ea4 move dratini special into event/dratini.asm 2013-09-18 21:04:16 -04:00
yenatch
7cef3b76de move mon icons into menu/mon_icons.asm 2013-09-18 20:58:32 -04:00
yenatch
1e56e3e9af more encounter functions 2013-09-18 20:50:42 -04:00
yenatch
ee47d6ed17 more mobile functions 2013-09-16 17:52:23 -04:00
yenatch
e770ae20b2 clean up a couple mobile function comments
nothing here is actually commented out
2013-09-16 17:42:19 -04:00
yenatch
237861b553 rename hall of fame labels 2013-09-16 17:42:11 -04:00
yenatch
9ae1cd6a1c split title screen functions into engine/title.asm 2013-09-15 18:59:53 -04:00
yenatch
0ce5c4fe93 split the mobile adapter library into lib/mobile/ 2013-09-15 18:58:37 -04:00
yenatch
013c6fc368 some time-dependent function 2013-09-15 18:17:02 -04:00
yenatch
3370a04d9e split color asm and data into engine/color.asm 2013-09-15 18:02:02 -04:00
yenatch
c3cab23cda dump a palette set at the end of bank 2 2013-09-15 17:29:53 -04:00
yenatch
dd473e565b incbin some 0s back 2013-09-15 17:24:56 -04:00
yenatch
c738318dc0 move part of an incbin into predef/cgb.asm 2013-09-15 17:08:10 -04:00
yenatch
ab91f49e3b remove some incbins in bank 2 2013-09-15 17:01:17 -04:00
yenatch
44fac4fd70 finish an old script pointer table 2013-09-12 05:37:53 -04:00
yenatch
e1c3fee926 change old .tx includes to .asm
these were forgotten about with the last preprocessor change.
this is required for object dependencies to be handled by make.
2013-09-11 01:16:33 -04:00
yenatch
84a9b3907b rename common/ to home/ 2013-09-09 22:44:48 -04:00
Bryan Bishop
33d7ef72fe Merge branch 'yenatch/split-predefs-specials-stds' into fix-split-predefs-specials-stds
https://github.com/kanzure/pokecrystal/pull/198
2013-09-09 16:00:05 -05:00
Bryan Bishop
3a2dbb5289 Merge branch 'yenatch/split-predefs-specials-stds' into fix-split-predefs-specials-stds
https://github.com/kanzure/pokecrystal/pull/198
2013-09-09 15:59:08 -05:00
Bryan Bishop
37e1aa4e8e Merge branch 'yenatch/split-predefs-specials-stds' into fix-split-predefs-specials-stds
https://github.com/kanzure/pokecrystal/pull/198
2013-09-09 15:56:49 -05:00
Bryan Bishop
35324ae43f Merge branch 'yenatch/split-predefs-specials-stds' into fix-split-predefs-specials-stds
https://github.com/kanzure/pokecrystal/pull/198
2013-09-09 15:55:43 -05:00
yenatch
608d0d86e4 move name rater asm into event/name_rater.asm 2013-09-09 16:09:34 -04:00
yenatch
0fc0c0bebc name rater special 2013-09-09 15:47:32 -04:00
yenatch
429417da74 name a couple specials 2013-09-09 15:39:43 -04:00
yenatch
cc41f68c34 split sgb-to-cgb asm into predef/cgb.asm 2013-09-09 15:34:09 -04:00
yenatch
dab74d719e cgb replacements for sgb layouts 2013-09-09 15:12:30 -04:00
yenatch
e33423374b split sgb stuff into predef/sgb.asm 2013-09-09 14:33:04 -04:00
yenatch
de8e7ca422 sgb layout predef 2013-09-09 14:17:03 -04:00
yenatch
a6c7200782 CheckCGB 2013-09-09 12:56:13 -04:00
yenatch
5bbcedb886 typo in CheckContestMon 2013-09-09 12:49:26 -04:00
yenatch
2b4a5bdd8d comment flag predef
this is like FlagAction but with index c instead of de
2013-09-09 12:47:02 -04:00
yenatch
771ebcbf23 PokedexSeen and PokedexCaught were swapped 2013-09-09 02:40:27 -04:00
yenatch
106b0e139f clean up more bank 0 2013-09-09 02:26:46 -04:00
yenatch
53b7926f5e move multiplication/division functions into common/math.asm 2013-09-09 01:21:36 -04:00
yenatch
ee04a2fcd9 split more copy functions into common/copy2.asm 2013-09-09 01:11:41 -04:00
yenatch
60c1061a67 clean up some common includes and give names to wram copy functions 2013-09-09 01:10:07 -04:00
yenatch
abb7f2fa20 split Predef into common/predef.asm 2013-09-08 23:54:37 -04:00
yenatch
4778276f33 split serial handshake into common/handshake.asm 2013-09-08 23:53:04 -04:00
Bryan Bishop
6d7043c0c6 Merge pull request #197 from yenatch/master
comment some move effects
2013-09-08 20:24:26 -07:00
yenatch
9f7adeafcf ItemIsMail and comment thief move effect 2013-09-08 23:18:30 -04:00
Bryan Bishop
78a3951d47 Merge pull request #196 from yenatch/std-scripts
std scripts
2013-09-08 17:06:54 -07:00
Bryan Bishop
50232cc92b Merge pull request #195 from yenatch/predefs
predefs
2013-09-08 16:47:29 -07:00
Bryan Bishop
740f91370d Merge pull request #190 from yenatch/master
specials
2013-09-08 09:15:46 -07:00
yenatch
e7318ed4bc move double speed functions into common/double_speed.asm 2013-09-08 03:14:24 -04:00
yenatch
4a04a09a6b labels for cgb double speed functions 2013-09-08 03:12:48 -04:00
yenatch
844546f849 split sram access asm into common/sram.asm 2013-09-08 02:50:06 -04:00
yenatch
edf939a07b split Random into common/random.asm 2013-09-08 02:47:52 -04:00
yenatch
3b70005fb0 split item interfaces into common/item.asm 2013-09-08 01:45:54 -04:00
yenatch
f0cf86777b fix item asm labels
CheckItem was called PickUpItem by mistake

Also label TossItem and ReceiveItem
2013-09-08 01:43:51 -04:00
yenatch
d05adc4f98 Function2f17 -> IsInJohto 2013-09-08 00:48:12 -04:00
yenatch
705e682468 split InitString asm into common/string.asm 2013-09-08 00:22:33 -04:00
yenatch
82c3bb464f split flag action asm into common/flag.asm 2013-09-08 00:20:28 -04:00
yenatch
f513cdd888 split map engine asm into common/map.asm 2013-09-08 00:14:26 -04:00
yenatch
847843d866 rename BUTTON_A and BUTTON_B constants to A_BUTTON and B_BUTTON 2013-09-07 23:49:20 -04:00
yenatch
9f53825ce2 move common asm from engine/ to common/
engine/ was getting really bloated and common asm wasnt what it was made for
2013-09-07 23:38:19 -04:00
yenatch
7a3a4f913b split fruit tree asm out into engine/fruit_trees.asm 2013-09-07 23:26:28 -04:00
yenatch
8018614585 split type strings and related asm out into text/types.asm 2013-09-07 23:24:22 -04:00
yenatch
e13f03ae44 comment PrintMonTypes 2013-09-07 23:22:17 -04:00
yenatch
3b119687f3 leftover trainer class names from red
you can find these in pokered at TrainerNamePointers (9:7e64)
2013-09-07 22:48:07 -04:00
Bryan Bishop
4f7824ff08 whitespace -> tabs in main.asm
How did these get in here?
2013-09-07 19:53:22 -05:00
yenatch
353b4ac6da fix up TreeMons/RockMons 2013-09-07 17:35:41 -04:00
yenatch
6e5876377f split out std scripts from main.asm 2013-09-07 15:30:07 -04:00
yenatch
ed2063276a add a menudata2 header in std scripts
thats it for std incbins
2013-09-07 15:26:52 -04:00
yenatch
eaaf719440 label some jumps in std scripts 2013-09-07 14:42:28 -04:00
yenatch
3301e5b77b shorten PrintMoveDescription -> PrintMoveDesc so rgbds doesnt choke
still need to fix this 15-char macro argument limit
2013-09-07 14:14:29 -04:00
yenatch
5376a0c96b the bomb 3
std scripts
2013-09-07 05:08:12 -04:00
yenatch
6f541d5723 labels for each predef
also fix up any labels that got missed

finally found a reference to the weird nop function (Function2d43)
2013-09-06 22:50:58 -04:00
yenatch
266e401b7d the bomb 2
remaining predef asm
2013-09-06 18:31:40 -04:00
yenatch
67dd49967d labels for each special
also fix up labels from last commit
2013-09-06 04:04:27 -04:00
yenatch
1660b814e8 the bomb
specials asm dump
2013-09-06 03:50:55 -04:00
yenatch
fb68f75d9f update some labels and special/predef pointers 2013-09-06 01:57:03 -04:00
yenatch
a4707eccaf couple more specials in bank 3 2013-09-05 17:40:21 -04:00
yenatch
2aff956ba4 some specials in bank 3 and unown dex asm 2013-09-05 17:05:30 -04:00
yenatch
b417d08f2e recomment CheckShininess and CheckContestMon 2013-09-04 04:33:38 -04:00
yenatch
5888db3493 recomment Predef and GetPredefFn -> GetPredefPointer 2013-09-04 04:05:15 -04:00
yenatch
715a19fd59 split farcall functions into engine/farcall.asm 2013-09-03 21:15:03 -04:00
yenatch
1eab7959f4 formatting in the map engine 2013-09-03 20:49:05 -04:00
yenatch
d93d17b43b split out game time functions into engine/game_time.asm 2013-09-03 18:58:16 -04:00
yenatch
2c36afc6c3 recomment game time functions 2013-09-03 18:56:59 -04:00
yenatch
340e31d839 split menu functions into engine/menu.asm 2013-09-03 18:43:15 -04:00
yenatch
23bb05851b split Sine/Cosine into engine/sine.asm 2013-09-03 18:40:12 -04:00
yenatch
12e6ff3fc6 split map object functions into engine/map_objects.asm 2013-09-03 18:39:19 -04:00
yenatch
71bbd77261 split some RTC interfaces into engine/rtc.asm 2013-09-03 18:35:37 -04:00
yenatch
004956798c split vram functions out into engine/video.asm 2013-09-03 18:32:55 -04:00
yenatch
dad64b1d9d split out rst vectors 2013-09-03 18:17:33 -04:00
yenatch
0caac30f27 clean up rst vectors 2013-09-03 18:16:56 -04:00
yenatch
bd8be2b02e split out hardware interrupts 2013-09-03 17:57:47 -04:00
yenatch
affec2ac95 clean up interrupts 2013-09-03 17:48:18 -04:00
yenatch
20919e4d8a formatting at Start 2013-09-03 17:45:37 -04:00
yenatch
7bc23f0862 condense bank 0 includes 2013-09-03 17:44:24 -04:00
yenatch
04fc9c4748 fix interface label for UpdateTimePals 2013-09-03 17:38:45 -04:00
yenatch
b74e63a20d split out delay functions 2013-09-03 17:36:55 -04:00
yenatch
d2eeab62ea split out marts 2013-09-03 17:35:17 -04:00
yenatch
15076861f1 split out trainer dvs 2013-09-03 17:32:54 -04:00
yenatch
bbe8756302 recomment trainer dvs 2013-09-03 17:31:57 -04:00
yenatch
0ed9164ccc decoration names 2013-09-03 17:26:27 -04:00
yenatch
1cef08db06 some asm pointer tables in bank 5f 2013-09-03 17:24:35 -04:00
yenatch
171c21be69 dump move tutor asm in bank 40 2013-09-03 17:09:48 -04:00
yenatch
2b2018a83a more bank 4 asm
this stuff looks like it's related to phone call timing
2013-09-03 06:38:07 -04:00
yenatch
5dd127300c even more incbinned asm in bank 4 2013-09-03 06:07:45 -04:00
yenatch
5641ea009c disassemble more incbins in bank 4 2013-09-03 05:56:07 -04:00
yenatch
0eff98ecf1 the rest of TMHMMoves 2013-09-03 03:56:11 -04:00
yenatch
bf4bedc4bf more bank 4 functions and CanLearnTMHMMove 2013-09-03 03:54:13 -04:00
yenatch
0d3de2e30b GetTMHMMove and renamed TechnicalMachines -> TMHMMoves 2013-09-03 03:39:21 -04:00
yenatch
edc354152e formatting in MoveInfoBox and related functions 2013-09-02 06:40:30 -04:00
yenatch
9f7c4ef0b4 Sine and Cosine 2013-09-02 00:12:27 -04:00
yenatch
5b38b377f2 wram labels for graphics requests 2013-09-01 15:24:07 -04:00
yenatch
e3da601cee split out tileset headers from main into tilesets/tileset_headers.asm 2013-09-01 14:43:25 -04:00
yenatch
4a4dd20a6d split tileset palette maps out of main into tilesets/palette_maps.asm 2013-09-01 14:43:24 -04:00
yenatch
7cac61f3bd split tileset data out from main into tilesets/ 2013-09-01 14:43:23 -04:00
yenatch
5147e6c0a2 random 0s in tileset data was actually lz padding
i guess someone liked their filesizes nice and even?
2013-09-01 14:42:49 -04:00
yenatch
3010731347 split out blockdata includes from main into maps/ 2013-09-01 14:41:21 -04:00
yenatch
2a0089b92b shorten some overly long music filenames 2013-09-01 14:41:16 -04:00
yenatch
1a02ed6b37 get rid of the last static address in tileset animation arrays 2013-09-01 03:13:17 -04:00
yenatch
7d5e5b8182 recomment _AnimateTileset 2013-09-01 00:52:19 -04:00
yenatch
cc2906b68f consistent casing for Tileset labels
wram labels were using TileSet for some reason
2013-09-01 00:09:57 -04:00
yenatch
8190c3e5e7 rename DoTileAnimation to AnimateTileset 2013-09-01 00:07:10 -04:00
yenatch
fc6bc8e311 rename graphics request handlers to Serve1bppRequest and Serve2bppRequest
these had some really dumb names
2013-09-01 00:02:35 -04:00
yenatch
abce472354 fix PushOAM references in VBlank 2013-08-31 21:47:28 -04:00
yenatch
28fd514bef recomment tileset animation interface 2013-08-31 21:47:22 -04:00
yenatch
0a821fe964 recomment bg map update functions 2013-08-31 21:47:05 -04:00
yenatch
2acccc3ea5 rename FarBattleTextBox to StdBattleTextBox
that's it for bad Far usage
2013-08-31 03:54:02 -04:00
yenatch
b333b18dbd Function2f79 is PickUpItem 2013-08-30 23:07:08 -04:00
yenatch
c402a16def undo overcommenting in BattleRandom
these comments made sense before hram and rst constants were established
2013-08-30 23:03:15 -04:00
yenatch
c9d3881a2f rename RNG to Random
also fix 'Far' naming scheme for BattleRandom

this was a long time coming
2013-08-30 22:59:40 -04:00
yenatch
70ecde3f78 StartTitleScreen -> TitleScreen
also undo "far" naming scheme
2013-08-30 22:47:20 -04:00
yenatch
523abc2d0e formatting in oak speech 2013-08-30 22:46:28 -04:00
yenatch
21248effe4 NUM_POKEMON in main.asm 2013-08-30 22:25:50 -04:00
yenatch
17f25691db Function378b is IsAPokemon 2013-08-30 20:53:42 -04:00
yenatch
f4572ecd4d use more egg constants in main 2013-08-30 19:14:04 -04:00
yenatch
4983c46a26 use callab/callba macros for known FarCalls 2013-08-30 18:57:31 -04:00
yenatch
7cc320e835 Coins in main.asm 2013-08-30 17:50:46 -04:00
yenatch
b86d0da040 less arbitrary wram clearing in game init 2013-08-30 14:21:26 -04:00
yenatch
79bcda11ad PCItems and game init formatting 2013-08-30 04:57:32 -04:00
yenatch
2f169fd2f9 clean up bank 7e includes 2013-08-29 23:27:57 -04:00
yenatch
fd74b4d379 move battle tower mon handling asm into battle_tower.asm 2013-08-29 23:27:17 -04:00
yenatch
7201ea8f0a move GiveOddEgg into odd_eggs.asm 2013-08-29 23:26:01 -04:00
yenatch
55cd892026 fix/add some missing function labels in bank 0 2013-08-29 23:19:21 -04:00
yenatch
fb28d24bd7 condense repeated asm with rept macros 2013-08-29 21:42:28 -04:00
yenatch
579ab13507 proper labeling of common function GetSpritePalette 2013-08-29 21:20:45 -04:00
yenatch
64a6af4052 condense some repetitive asm with rept macros 2013-08-29 21:20:37 -04:00
yenatch
cc98fab33e move VBlank interrupt label from main.asm to engine/vblank.asm 2013-08-29 19:40:33 -04:00
yenatch
2c16bc7ab9 move copy asm from main.asm to engine/copy.asm 2013-08-29 19:39:21 -04:00
yenatch
04da88a285 move palette asm from main.asm to engine/palettes.asm 2013-08-29 19:37:35 -04:00
yenatch
6d29673a5f move time-related asm from main.asm into engine/time.asm 2013-08-29 19:32:03 -04:00
yenatch
6467755568 move serial asm from main.asm into engine/serial.asm 2013-08-29 19:11:39 -04:00
yenatch
2341bb148a move more joypad code from main.asm into engine/joypad.asm 2013-08-29 19:10:06 -04:00
yenatch
dd11c22b31 more joypad function cleanup 2013-08-29 19:08:25 -04:00
yenatch
0a829301ae reformat some joypad functions 2013-08-29 18:59:05 -04:00