PikalaxALT
1f84228a01
Knock off twenty more field object callbacks
2017-05-23 08:52:21 -04:00
PikalaxALT
c3b7235a94
Halfway mark on asm/field_map_obj.s
2017-05-22 22:30:35 -04:00
scnorton
70b04997a0
IsCoordOutsideFieldObjectMovementRect and others
2017-05-22 19:31:47 -04:00
scnorton
9d851873cd
Another chunk of library-like functions
2017-05-22 17:21:17 -04:00
scnorton
1751ad0b67
Fix building. Again.
2017-05-22 14:46:28 -04:00
scnorton
bb0c630a77
Merge branch 'master' of github.com:pret/pokeruby into pikalaxalt/field_map_obj
2017-05-22 14:41:29 -04:00
scnorton
4f9110a54c
Create and propagate field map object callback declaration macro
2017-05-22 14:40:21 -04:00
PikalaxALT
cb975fbf00
sub_805E174
2017-05-22 08:34:47 -04:00
Marijn van der Werf
3f7d0a195a
Define gSineTable in trig.h
2017-05-22 01:05:20 +02:00
Marijn van der Werf
6f2cd1e2da
Add data2 header
2017-05-22 01:05:20 +02:00
Marijn van der Werf
d35dc5bd69
Add strings2.h
2017-05-22 01:05:19 +02:00
Marijn van der Werf
7c4f995608
Remove duplicate strings.h declarations
2017-05-22 00:34:09 +02:00
NieDzejkob
af652a5299
Various intro naming
2017-05-21 23:40:08 +02:00
NieDzejkob
1aeef4e4c3
Identify gUnknown_3001764
2017-05-21 22:17:31 +02:00
yenatch
009d4875fc
Merge pull request #301 from camthesaxman/decompile_party_menu
...
fix up party_menu.c and decompile some more functions
2017-05-21 15:47:07 -04:00
yenatch
9d4dfedb48
Merge pull request #297 from marijnvdwerf/decompile/easy-chat-2
...
Decompile more of easy_chat
2017-05-21 15:40:42 -04:00
yenatch
8cbbd78f00
Merge pull request #300 from NieDzejkob/master
...
some daycare and record_mixing, rename PlaySE to PlaySoundEffect - wide code is good code
2017-05-21 15:12:16 -04:00
Marijn van der Werf
67dd78ddc1
Decompile more of easy_chat
2017-05-21 20:55:54 +02:00
yenatch
e5a08d9632
Merge pull request #295 from marijnvdwerf/decompile/credits-3
...
Decompile/credits 3
2017-05-21 14:38:23 -04:00
NieDzejkob
619da0f339
PlaySE renaming after rebase
2017-05-21 20:21:00 +02:00
NieDzejkob
80dd8f3f41
typedef struct is not in style of the repo
2017-05-21 19:33:00 +02:00
NieDzejkob
a240212df9
More record_mixing maintenance
2017-05-21 19:33:00 +02:00
NieDzejkob
d054970600
Rename PlaySE to PlaySoundEffect - wide code is good code, daycare.c renames, match sub_80B92AC in record_mixing
2017-05-21 19:33:00 +02:00
NieDzejkob
2774cb1bae
Name some functions
2017-05-21 19:31:18 +02:00
NieDzejkob
6563ec9bad
Name gSaveBlock1.daycareData, decompile sub_8041648
2017-05-21 19:31:18 +02:00
NieDzejkob
b60ad4ccba
Make it build with all the label changes
2017-05-21 19:31:18 +02:00
NieDzejkob
4a9cb7aa4d
Decompile daycare_empty_slot and unify the function prototype of daycare_count_pokemon. Presumably identify the daycare data in the save structure
2017-05-21 19:31:18 +02:00
PikalaxALT
2ef0ea3098
Merge branch 'master' of github.com:pret/pokeruby into field_map_obj
2017-05-21 12:17:01 -04:00
PikalaxALT
e263329671
sub_805CE0C and helpers
2017-05-21 11:30:23 -04:00
yenatch
bfe02a627f
Merge pull request #298 from camthesaxman/decompile_battle_2
...
decompile more of battle_2
2017-05-21 10:41:33 -04:00
PikalaxALT
7b89b6241f
sub_80BE074 nonmatching
2017-05-20 21:00:05 -04:00
PikalaxALT
a0fb46bbb4
sub_80BE23C
2017-05-20 19:51:00 -04:00
PikalaxALT
a9b2b463ac
sub_80BE284; gSaveBlock1.tvShows.unknown_2A98 is a TVShow union object
2017-05-20 19:30:35 -04:00
PikalaxALT
2bf7a71cd8
sub_80BE320
2017-05-20 19:03:22 -04:00
PikalaxALT
63a7931958
sub_80BE3BC
2017-05-20 18:29:08 -04:00
PikalaxALT
bc75a7d979
sub_80C01D4 (nonmatching but presumed functionally correct)
2017-05-20 15:22:22 -04:00
PikalaxALT
37e3c21eb3
sub_80C0134
2017-05-20 11:36:08 -04:00
PikalaxALT
dc229fe94a
sub_80C00B4
2017-05-20 11:31:15 -04:00
PikalaxALT
39b15cb589
sub_80C004C
2017-05-20 11:19:34 -04:00
PikalaxALT
f5195f6462
DoTVShow (back to swiss cheese)
2017-05-19 17:40:50 -04:00
PikalaxALT
f8c731037e
DoTVShowTheNameRaterShow
2017-05-19 15:44:40 -04:00
PikalaxALT
d1851f99bc
DoTVShowPokemonTodaySuccessfulCapture
2017-05-19 14:51:11 -04:00
PikalaxALT
00d1e98f5a
DoTVShowPokemonTodayFailedCapture
2017-05-19 14:03:02 -04:00
PikalaxALT
b93526ae45
DoTVShowPokemonFanClubLetter
2017-05-19 13:34:42 -04:00
PikalaxALT
b0925c52d7
DoTVShowPokemonFanClubOpinions
2017-05-19 12:05:04 -04:00
PikalaxALT
63f05cfc7c
Plug another hole in tv.c
2017-05-19 11:32:40 -04:00
PikalaxALT
bade856627
DoTVShowPokemonAngler
2017-05-19 11:05:17 -04:00
PikalaxALT
ed1cec5ab5
DoTVShowInSearchOfTrainers
2017-05-19 10:48:52 -04:00
PikalaxALT
8e1c137a5b
sub_80BEE84
2017-05-18 21:53:42 -04:00
PikalaxALT
00861b751b
sub_80BEF10
2017-05-18 21:30:06 -04:00
PikalaxALT
f3e4f2f210
SetContestCategoryStringVarForInterview
2017-05-18 21:13:43 -04:00
PikalaxALT
d4988da0ca
sub_80BF088
2017-05-18 21:05:57 -04:00
PikalaxALT
7cc51195fc
sub_80BF0B8
2017-05-18 21:01:25 -04:00
PikalaxALT
b848027e01
sub_80BF154
2017-05-18 20:49:00 -04:00
PikalaxALT
67ec48a2be
sub_80BF1B4
2017-05-18 20:29:16 -04:00
PikalaxALT
25e6b775b9
Another set of functions responsible for initializing TV shows?
2017-05-18 17:26:58 -04:00
PikalaxALT
7eae0a2880
Another chunk of fns; move tv show enums to new include/tv.h for easier reference
2017-05-18 16:50:56 -04:00
PikalaxALT
040da53bfb
sub_80EB6FC in easy_chat.c
2017-05-18 15:27:56 -04:00
PikalaxALT
b97e078c6e
sub_80BFD44
2017-05-18 13:38:20 -04:00
PikalaxALT
095d071cab
Merge tv show list and extra attributes into a single struct
2017-05-18 11:21:58 -04:00
PikalaxALT
0aabedd751
More tv fns
2017-05-17 22:20:27 -04:00
PikalaxALT
ebea499a3f
sub_80BE9D4 (mostly matching)
2017-05-17 20:51:05 -04:00
camthesaxman
14c5c79f3e
fill holes in party_menu.c and add battle_interface.h header
2017-05-17 17:40:04 -05:00
PikalaxALT
dae64d9fc5
sub_80BFD20
2017-05-17 17:21:47 -04:00
PikalaxALT
d1936a98b2
GetMomOrDadStringForTVMessage (nonmatching)
2017-05-17 17:09:02 -04:00
PikalaxALT
3d9f4bb75b
Players house TV check function
2017-05-17 16:12:01 -04:00
PikalaxALT
90b3f0464a
More work on tv
2017-05-17 12:39:27 -04:00
PikalaxALT
5ee5e6b87e
couple more functions in tv.text_80BF544; fix type declaration of sub_80BF77C
2017-05-17 11:21:52 -04:00
PikalaxALT
1c6396051a
ClearTVShowData
2017-05-16 22:36:43 -04:00
camthesaxman
c202c65442
more decompilation
2017-05-16 21:09:06 -05:00
PikalaxALT
651630d5dc
sub_80BC300 (nonmatching)
2017-05-16 22:06:23 -04:00
PikalaxALT
b9e8a5f766
sub_80BBFA4 and sub_80BBFD8
2017-05-16 20:23:55 -04:00
PikalaxALT
40c81240b4
sub_80BBDD0 (nonmatching)
2017-05-16 19:49:00 -04:00
PikalaxALT
ca26346cff
sub_80BBCCC (almost matching)
2017-05-16 17:08:11 -04:00
PikalaxALT
59023fb934
sub_80BBB24
2017-05-16 14:34:12 -04:00
PikalaxALT
0c82a4aaab
get sub_80BB970 matching
2017-05-16 13:40:50 -04:00
PikalaxALT
d091a292b1
First pass at sub_80BB764 (not matching)
2017-05-15 21:39:34 -04:00
Cameron Hall
e093a13a4b
Remove last NONMATCHINGs in credits.c
2017-05-15 19:35:28 +02:00
PikalaxALT
fe5f074927
Disassemble a function called by the secret base clearing routine
2017-05-15 00:39:15 -04:00
ProjectRevoTPP
de67e7cf5f
Merge branch 'master' of https://github.com/pret/pokeruby
2017-05-12 01:57:52 -04:00
ProjectRevoTPP
0354f2cc5a
remove unknowns from birch_pc.c
2017-05-12 01:57:43 -04:00
Cameron Hall
a3001a290e
start decompiling battle_2 ( #289 )
...
* start decompiling
* tired. finish later
* decompile some more
* BATTLE_TYPE_40 -> BATTLE_TYPE_MULTI
2017-05-10 15:04:21 -07:00
camthesaxman
46c1cb5af0
Merge remote-tracking branch 'upstream/master' into decompile_battle_2
2017-05-10 16:53:37 -05:00
camthesaxman
32153295ed
Merge remote-tracking branch 'upstream/master' into decompile_battle_2
2017-05-10 16:53:14 -05:00
YamaArashi
f546ea4f0b
BATTLE_TYPE_40 -> BATTLE_TYPE_MULTI
2017-05-10 14:17:52 -07:00
camthesaxman
b2218c7d2b
tired. finish later
2017-05-10 00:54:02 -05:00
YamaArashi
242af849cb
minutes, not seconds
2017-05-09 20:39:43 -07:00
YamaArashi
b7efd72ac4
name daily event functions
2017-05-09 19:33:43 -07:00
Marijn van der Werf
c0c3d2c52a
Decompile some cable_club functions
2017-05-09 16:05:24 -07:00
YamaArashi
ca3da9a999
file renaming
2017-05-09 03:46:55 -07:00
YamaArashi
3ee2e8ce97
name more functions
2017-05-09 01:56:49 -07:00
YamaArashi
60cf06ccca
name new-game functions
2017-05-09 01:12:59 -07:00
YamaArashi
964b665d2a
name mail_data.c functions
2017-05-09 00:24:51 -07:00
YamaArashi
4b4f716ae0
finish decompiling mail_data.s
2017-05-08 23:15:09 -07:00
Cameron Hall
a83ced6d98
fix some nonmatching functions ( #284 )
...
* fix some nonmatching functions
* delete trailing whitespace
2017-05-08 21:13:46 -07:00
Marijn van der Werf
ca7e24fa7b
Fix battle_interface for German
2017-05-08 18:13:08 -07:00
YamaArashi
fdab157386
decompile some of mail_data.s
2017-05-08 18:12:38 -07:00
Cameron Hall
e75c3262f3
Decompile battle interface ( #281 )
...
* start decompiling
* more decompilation
* sub_8044804 refuses to match. moving on...
* decompile sub_80451A0
* more decompilation
* finish decompiling
* clean up a bit
* remove trailing whitespace and change tabs to spaces
2017-05-08 16:52:58 -07:00
YamaArashi
e6868bbdb2
decompile roamer.s
2017-05-08 15:47:45 -07:00
Marijn van der Werf
f6e3598f5e
Decompile ShowPokedexCryScreen
2017-05-08 14:19:49 -07:00
Marijn van der Werf
64412ee4c4
Decompile ShowLinkBattleRecords
2017-05-08 14:19:49 -07:00
Marijn van der Werf
00c64ddd66
Decompile sub_803037C
2017-05-08 14:19:49 -07:00
YamaArashi
3cc8c20445
decompile birch_pc
2017-05-08 11:28:28 -07:00
YamaArashi
9c75355d71
decompile more pokemon functions
2017-05-07 21:10:44 -07:00
YamaArashi
02c44d7f38
decompile battle music and pokemon palette functions
2017-05-07 19:11:25 -07:00
YamaArashi
68ce0d8bb0
decompile EV and pokerus functions
2017-05-07 12:09:15 -07:00
Marijn van der Werf
91208b74b8
Start decompiling easy_chat
2017-05-07 10:15:38 -07:00
YamaArashi
83d695b6ac
decompile pokemon functions
2017-05-07 00:40:28 -07:00
Marijn van der Werf
8795103ac9
Decompile cycling field specials
2017-05-06 16:26:29 -07:00
Marijn van der Werf
11156a09cf
Declare StringLengthN conditionally in header
2017-05-06 13:35:32 -07:00
YamaArashi
e22b9c54f1
decompile some pokemon functions
2017-05-05 22:10:36 -07:00
Marijn van der Werf
12ef81ae0d
Various German patches
2017-05-05 20:06:57 -07:00
YamaArashi
084dc5134c
some German differences
2017-05-05 16:46:59 -07:00
ProjectRevoTPP
a85fc2a69c
use macros and defines for save.c making it easier to add new sections
2017-05-04 21:49:14 -07:00
YamaArashi
d7284694ec
decompile time_events
2017-05-04 00:21:04 -07:00
YamaArashi
f492004cb6
introduce YesNoFuncTable struct
2017-05-03 21:54:43 -07:00
YamaArashi
c26ecaec0f
clean up whitespace
2017-05-03 18:16:31 -07:00
YamaArashi
218b9abd41
Struct_0202F7D4 -> AffineAnimCmd
2017-05-03 18:02:14 -07:00
ProjectRevoTPP
7f03ba4951
decompile a little more of player_pc.c and dump half of battle_anim data incbins ( #254 )
...
* matching sub_813A280 and sub_813A4B4
* move data to item_use.c
* slightly less ugly NewGameInitPCItems
* more less ugly NewGameInitPCItems - Game Freak doesn't know how to use structs
* decompile HandleQuantityRolling and sub_813A6FC
* partially label and comment battle_anim.c
* decompile sub_813A794 and sub_813A83C
* minor comments on battle_anim.c
* decompile up to GF shenanigans #14390
* up to GF shenanigans #38571
* dump half of battle_anim_80CA710.s incbins
* dump most incbins from battle_anim_812C144.s
* obj_rot_scal fixes
* subsprite
* i cant even identify byte arrays
2017-05-03 17:37:07 -07:00
yenatch
2090636b04
Use an enum for items.
2017-04-29 16:49:59 -04:00
Marijn van der Werf
ddc846fa6a
Sort includes
2017-04-27 16:07:18 +02:00
YamaArashi
4b4597a27a
decompile fldeff_sweetscent.s
2017-04-17 15:00:44 -07:00
Marijn van der Werf
4a6035a14c
Decompile fldeff_softboiled
2017-04-17 22:22:00 +02:00
ProjectRevoTPP
83d7f52f2c
finish decompiling item_use.c ( #244 )
...
* nonmatching sub_80C9720 and decompile sub_80C9838
* finish decompiling Itemfinder functions.
* decompile ItemUseOutOfBattle_PokeblockCase and ItemUseOutOfBattle_CoinCase
* rename field_doortransition
* rename weather file
* decompile more of item_use.c
* decompile up to repel code
* decompile up to stat increase code
* finish decompiling item_use.c
* remove item_use from ld_script
2017-04-08 18:05:20 -07:00
YamaArashi
9d39cca19c
decompile post_battle_event_funcs
2017-04-07 22:39:56 -07:00
ProjectRevoTPP
3d5864529e
label changes for clarity
2017-03-22 06:04:41 +01:00
ProjectRevoTPP
0042dd649d
start decompiling item_use.c again
2017-03-22 06:04:01 +01:00
ProjectRevoTPP
6035511c13
reorganize and add new headers for many files
2017-03-18 04:00:15 +01:00
ProjectRevoTPP
e684559a13
move strings to C file
2017-03-18 03:51:12 +01:00
ProjectRevoTPP
93cd061959
start decompiling script_pokemon_util_80F99CC.c
2017-02-28 04:12:14 +00:00
YamaArashi
83134f6dda
define gFlashMemoryPresent in load_save.c
2017-02-19 12:17:21 -08:00
ProjectRevoTPP
f21587ea9e
misc labels and memcpy/set cleanups ( #232 )
...
* some labels and enumerate player speeds
* clear up speed enums
* GetPlayerSpeed
* oops
* start decompiling mauville_old_man.c
* formatting
* decompile more of mauville_old_man.c
* someone fix this please
* formatting
* make ROM build again
* formatting again
* make ROM match again
* label, document, reorganize, and clean up battle_ai.c
* move stuff to battle.h and get rid of battle_2000000
* various changes
* labeling
* minor labels and formatting
* contest ai labels and misc stuff
2017-02-10 21:38:59 -08:00
Cameron Hall
2afc20150b
decompile more of field_map_obj ( #231 )
...
* decompile more code
* decompile more of field_map_obj
* decompile more of field_map_obj
2017-02-04 19:47:11 -08:00
YamaArashi
6a66bda6c1
Merge pull request #229 from camthesaxman/field_map_obj
...
decompile more of field_map_obj
2017-02-03 09:30:58 -08:00
camthesaxman
2c66ef8ef3
decompile more code
2017-02-03 01:04:43 -06:00
ProjectRevoTPP
c22eb152ce
label, document, reorganize, and clean up battle_ai.c ( #228 )
...
label, document, reorganize, and clean up battle_ai.c
2017-02-01 21:50:47 -08:00
ProjectRevoTPP
9813caaf53
make ROM match again ( #227 )
...
* some labels and enumerate player speeds
* clear up speed enums
* GetPlayerSpeed
* oops
* start decompiling mauville_old_man.c
* formatting
* decompile more of mauville_old_man.c
* someone fix this please
* formatting
* make ROM build again
* formatting again
* make ROM match again
2017-01-31 00:08:44 -08:00
ProjectRevoTPP
b6b5453431
start decompiling mauville_old_man.c ( #225 )
...
* some labels and enumerate player speeds
* clear up speed enums
* GetPlayerSpeed
* oops
* start decompiling mauville_old_man.c
* formatting
* decompile more of mauville_old_man.c
* someone fix this please
* formatting
* make ROM build again
* formatting again
2017-01-29 17:59:54 -08:00
YamaArashi
047c35d6f1
Merge pull request #223 from camthesaxman/field_map_obj
...
decompile more of field_map_obj
2017-01-28 19:58:34 -08:00
camthesaxman
c4c0e1d7d5
decompile some more
2017-01-28 21:23:50 -06:00
camthesaxman
25357a71a7
introduce BGCNT constants
2017-01-28 17:00:57 -06:00
YamaArashi
ed8f49d5e1
tabs to spaces
2017-01-28 13:51:14 -08:00
Cameron Hall
b9f1143d3e
define more data in C ( #220 )
...
* define more data in C
* correct typo in comments
2017-01-27 22:31:09 -08:00
camthesaxman
a500cfc5fa
start decompiling more of field_map_obj
2017-01-27 15:58:28 -06:00
Cameron Hall
b9ff56bd89
define more data in C ( #219 )
...
* define some graphics data in C
* define wild pokemon in C
* use less #ifdefs
* define data in berry.c
2017-01-27 10:06:20 -08:00
Cameron Hall
448acff16e
finish decompiling naming_screen ( #217 )
...
* decompile more code
* incbin graphics data
* decompile more code
* decompile more code
* finish decompiling
* name some functions and variables
2017-01-25 22:07:36 -08:00
Cameron Hall
9442bdcbf3
decompile more of naming_screen ( #216 )
...
* decompile more code
* incbin graphics data
* decompile more code
2017-01-24 20:31:44 -08:00
YamaArashi
c854250658
preproc incbins
2017-01-23 21:31:28 -08:00
YamaArashi
a14cd89b9c
Merge pull request #214 from camthesaxman/naming_screen
...
start decompiling naming_screen
2017-01-22 21:43:45 -08:00
camthesaxman
b1925402a0
start decompiling naming_screen
2017-01-22 23:22:12 -06:00