Marcus Huderle
65391a1eb2
Merge remote-tracking branch 'upstream/master' into use_pokeblock
...
# Conflicts:
# src/use_pokeblock.c
2019-03-23 09:39:46 -05:00
Marcus Huderle
f4f666f5af
Finish decompiling ereader.c
2019-03-22 13:36:06 -05:00
DizzyEggg
54ab6b43dc
Merge with master
2019-03-22 10:40:31 +01:00
Marcus Huderle
768a68d3e8
Decompile ereader.c up to faraway island code
2019-03-21 18:36:12 -05:00
Marcus Huderle
7118462b9f
Decompile ereader.c up to faraway island code
2019-03-21 18:28:44 -05:00
Marcus Huderle
e9a3cc6d51
Merge remote-tracking branch 'upstream/master' into move-tutor
...
# Conflicts:
# include/pokenav.h
# src/battle_script_commands.c
2019-03-17 17:20:40 -05:00
Marcus Huderle
4ae8a52473
Finish decompiling contest_painting_effects.c
2019-03-17 16:25:18 -05:00
Phlosioneer
b93d923826
Merge branch 'master' into move-tutor
2019-03-08 02:27:20 -05:00
Phlosioneer
eac70acab6
Change filename to something more descriptive
2019-03-08 02:17:01 -05:00
Phlosioneer
69aec91577
Decompile move tutor stuff
...
2 nonmatching.
2019-03-08 01:56:38 -05:00
Phlosioneer
0da83abad2
Several nonmatching functions
...
Huge and difficult.
2019-03-06 22:27:30 -05:00
DizzyEggg
7a8f524bc5
Proper Roar handling in double battles
2019-03-06 12:09:34 +01:00
Phlosioneer
4345ba8e6c
More decompiled and cleanup
2019-03-05 22:32:28 -05:00
Phlosioneer
c3594f982d
Decompiling pokeblock ui stuff
2019-03-05 20:32:14 -05:00
DizzyEggg
fddb5159b4
Merge with master
2019-03-05 21:46:45 +01:00
Papa Cancer
2050ac3963
Grassy Terrain v2
...
All corrected, simplest version
Also includes proper ending strings for all terrains
2019-03-05 19:13:25 +00:00
Phlosioneer
9bea9e1624
Start decompiling menu_unknown
2019-03-05 06:06:20 -05:00
Phlosioneer
0e3fc4956b
Rename asm file
2019-03-05 00:06:43 -05:00
Phlosioneer
907492fd6e
Split rom asm file in half
...
The first half is ui/menu stuff, while the second half is link-related
stuff.
2019-03-04 23:26:51 -05:00
Phlosioneer
cae63cf1c7
Rename move tutor to move relearner
2019-03-04 20:56:39 -05:00
shinny456
1e7f4a80c7
port the rest of flying (leave 2 nonmatchings to egg)
2019-03-03 09:33:19 -06:00
Phlosioneer
4ea5e85bed
Fix typos
...
This is an updated version of #554 , since it hasn't been updated in two
weeks.
2019-03-03 09:31:47 -06:00
Phlosioneer
4907ce6f7f
Fully document move_tutor (formerly learn_move)
2019-03-03 02:50:40 -05:00
Papa Cancer
cfd50eb65a
Grassy Terrain + minor fixes
...
Includes strings for all
Fixes:
・Psychic Terrain blocks priority if the TARGET is grounded, not the user
・Psychic Terrain no longer targets an opponent
・Terrains no longer boost (or nerf, for Misty) the power of certain moves if the affect mon is semi-invulnerable
・Small fix: Meteor Mash corrected to being a physical attack
2019-03-02 22:52:43 +00:00
Phlosioneer
9372731c3e
Merge branch 'master' into main-menu-state-machine
2019-03-02 17:35:44 -05:00
huderlem
ee9694d9ba
Merge pull request #587 from Phlosioneer/document-all-event-vars
...
Document all event vars
2019-03-02 08:24:46 -06:00
DizzyEggg
c9c38024e3
Fix move reminder
2019-03-02 12:13:09 +01:00
huderlem
3b04cfa437
Merge pull request #551 from Phlosioneer/multiplayer-stuff
...
Document overworld.c and link stuff in general
2019-03-01 08:43:55 -06:00
DizzyEggg
bfe95bc4b9
Merge branch 'master' into battle_engine_v2
2019-03-01 13:29:50 +01:00
Phlosioneer
da0687987d
Pick better names for constants
2019-02-28 22:21:16 -06:00
Phlosioneer
189d387f01
Add macros for metatile manipulation
2019-02-28 22:21:16 -06:00
DizzyEggg
cebada80d0
Merge with master
2019-02-28 20:56:52 +01:00
Phlosioneer
e77e7844ea
Name several vars, document some related events
2019-02-27 20:25:09 -05:00
Phlosioneer
72bb0daccb
Merge branch 'master' into main-menu-state-machine
2019-02-26 22:34:42 -05:00
Phlosioneer
6cb4c677cd
Fix backwards names
2019-02-26 22:30:40 -05:00
Phlosioneer
3a44b090d1
Merge branch 'master' into multiplayer-stuff
2019-02-26 22:07:29 -05:00
Marcus Huderle
b60611c38e
Finish decompiling easy_chat.c code
2019-02-26 14:50:02 -06:00
Marcus Huderle
7ea05431a5
Decompile more easy_chat.c
2019-02-25 14:11:31 -06:00
DizzyEggg
da33c38183
Merge pull request #78 from thechurchofcage/beta
...
Gravity fix
2019-02-24 19:38:42 +01:00
Marcus Huderle
bb508ade64
Decompile more of easy_chat.c
2019-02-24 10:09:57 -06:00
Papa Cancer
d704b9cd5b
Gravity fix
...
Brings down Pokémon in the middle of a two-turn flying move (only Bounce and Fly at the moment); says the appropriate message for all mons brought to the ground via Gravity
2019-02-24 13:28:24 +00:00
Diegoisawesome
7995cf5b61
Merge pull request #578 from DizzyEggg/pokenav
...
pokenav
2019-02-23 16:04:59 -06:00
DizzyEggg
842e379a7b
Merge branch 'master' into battle_engine_v2
2019-02-23 22:50:46 +01:00
Marcus Huderle
f34903bc45
Decompile more easy_chat.c
2019-02-23 13:05:34 -06:00
ultima-soul
eb48cc2f7e
Decompile through sub_8167930.
2019-02-23 09:08:07 -08:00
DizzyEggg
788caa4fe2
pokenav
2019-02-23 13:34:01 +01:00
Marcus Huderle
d3f66a98ff
Decompile more easy_chat
2019-02-22 11:46:05 -06:00
Phlosioneer
44e92ce259
Give window drawing functions better names
2019-02-22 01:40:11 -05:00
Phlosioneer
399d646e3f
Merge branch 'master' into main-menu-state-machine
2019-02-21 22:24:25 -05:00
Phlosioneer
eca329f9c5
Merge branch 'master' into multiplayer-stuff
2019-02-21 21:22:10 -05:00
Marcus Huderle
b105d20d1e
Decompile chunk of easy_chat.c
2019-02-21 17:46:14 -06:00
Marcus Huderle
1c6502338e
Decompile contest_link_80F57C4.c
2019-02-20 18:11:27 -06:00
Marcus Huderle
4223bb65f0
Decompile several contest_link_80F57C4.c functions
2019-02-19 16:36:42 -06:00
Marcus Huderle
05f9368154
Decompile start of flying.c
2019-02-19 16:36:42 -06:00
Diegoisawesome
1b0079445d
Merge pull request #559 from Phlosioneer/finish-newgame-docs
...
Finish and polish new_game.c
2019-02-18 13:28:50 -06:00
Phlosioneer
5695617d64
Merge branch 'master' into multiplayer-stuff
2019-02-18 01:12:47 -05:00
Phlosioneer
758b8c7f0e
Decompiled three more functions.
2019-02-17 23:14:14 -05:00
Phlosioneer
6d929c61c5
Decompiled 4 more functions
2019-02-17 23:14:14 -05:00
Phlosioneer
cb800e4708
Decompiled 5 functions
...
Was unable to decompile sub_81C79BC.
2019-02-17 23:14:14 -05:00
Phlosioneer
d41c597f90
Decompiled sub_81C7990
2019-02-17 23:14:14 -05:00
Phlosioneer
a8d920cc45
Decompiled 2 functions, unable to decompile 1.
...
sub_81C795C could not be decompiled due to register naming issues.
However, its structure was correctly matched, so I have left the C
code and a comment explaining the issue.
2019-02-17 23:14:14 -05:00
Phlosioneer
34b16e9e78
Decompiled 5 functions for unknown structs
2019-02-17 23:14:14 -05:00
Phlosioneer
3bb4057bad
Decompiled sub_81C7764
2019-02-17 23:14:14 -05:00
Phlosioneer
7c405e08d0
Decompiled three more small functions
2019-02-17 23:14:14 -05:00
Phlosioneer
5beb2baa97
Decompiled sub_81C76C4
2019-02-17 23:14:14 -05:00
Phlosioneer
b038556851
Decompiled several setters and getters
2019-02-17 23:14:14 -05:00
Phlosioneer
13a6765c88
Decompiled several trivial functions
2019-02-17 23:14:14 -05:00
Phlosioneer
112fc47017
Decompiled sub_81C756C
...
Also discovered a constant that may be useful for future decompiling.
Comments were added in the asm that references the constant.
2019-02-17 23:14:14 -05:00
Phlosioneer
3d73f7c48c
Decompiled sub_81C742C
2019-02-17 23:14:14 -05:00
Phlosioneer
cf721879dd
Decompiled sub_81C7418
2019-02-17 23:14:14 -05:00
Phlosioneer
323df8ed40
Decompiled sub_81C7400
2019-02-17 23:14:14 -05:00
Phlosioneer
729e7116f2
Decompiled AnyMonHasRibbon
2019-02-17 23:14:14 -05:00
Phlosioneer
5441d80ebc
Decompiled sub_81C7360
2019-02-17 23:14:14 -05:00
Phlosioneer
aa61e105e0
Decompiled sub_81C7334
2019-02-17 23:14:14 -05:00
Phlosioneer
d52cbe6bcb
Decompiled sub_81C72BC
2019-02-17 23:14:14 -05:00
Phlosioneer
9bda2297e3
Decompiled sub_81C72A4
2019-02-17 23:14:14 -05:00
Phlosioneer
cd84c92cfa
Decompiled CB2_PokeNav
2019-02-17 23:14:14 -05:00
Phlosioneer
69b014f7aa
Decompiled sub_81C71E4
2019-02-17 23:14:14 -05:00
Phlosioneer
fb705e6047
Decompiled sub_81C7170.
2019-02-17 23:14:14 -05:00
Phlosioneer
6466d0bea8
Decompiled sub_81C7124
2019-02-17 23:14:14 -05:00
Phlosioneer
052cd4da10
Decompiled sub_81C70D8
2019-02-17 23:14:14 -05:00
Phlosioneer
698c2879e4
Decompiled sub_81C7078
2019-02-17 23:14:14 -05:00
DizzyEggg
9bc55246bc
AI handle Belch
2019-02-16 18:23:56 +01:00
DizzyEggg
a001faeced
New AI command for using priority moves in death situatiions
2019-02-16 14:54:17 +01:00
Phlosioneer
986d3d8b2f
Finish and polish new_game.c
...
Only one function is left undocumented. I tried to go into the assembly
to at least name it, but it clears fields in the save block that aren't
even documented yet.
2019-02-15 03:40:57 -05:00
DizzyEggg
08892d19f2
Modify the stat changer, so it supports raise/lower by 12
2019-02-14 19:48:21 +01:00
DizzyEggg
94cd547e9a
Change move effect to u16
2019-02-14 13:17:27 +01:00
DizzyEggg
cb57044531
Fix two battle scripting macros
2019-02-14 13:05:49 +01:00
DizzyEggg
dc39f76a95
Spectral Thief effect
2019-02-14 12:15:53 +01:00
Phlosioneer
9e8a841bfa
Merge branch 'master' of github.com:pret/pokeemerald into main-menu-state-machine
2019-02-13 23:04:56 -05:00
Diegoisawesome
449fb25f23
Clear up misnamed time-based flags and functions
2019-02-12 00:40:34 -06:00
Phlosioneer
d979ac3bf3
Document main_menu state machine, name window constants
...
The new names for the constants (and newly named functions) give a much
better understanding of what the window system is trying to do.
2019-02-11 00:34:50 -05:00
Phlosioneer
e75f45dbcf
Reverse engineered many of the multiplayer events
...
Some corrections to the way events are handled and identified.
2019-02-10 20:42:50 -05:00
Phlosioneer
f2f1b1978b
Done documenting link code in overworld.c
2019-02-10 03:54:50 -05:00
DizzyEggg
10536196f9
AI edge case with atk up
2019-02-09 16:45:02 +01:00
DizzyEggg
691544fa0b
AI takes split into account, debug view ai move points
2019-02-09 13:21:32 +01:00
DizzyEggg
f415871369
Merge with master
2019-02-03 10:44:05 +01:00
DizzyEggg
23b240ab65
Fix Menu and List Menu input defines
2019-02-02 11:04:38 +01:00
DizzyEggg
7750a8126d
CgbSound is decompiled.
2019-02-01 00:25:31 +01:00
DizzyEggg
94d2a30d44
Merge with master
2019-01-28 20:41:46 +01:00