GriffinR
4eca05ccf5
Document remainder of battle_controllers.c
2021-01-22 02:48:22 -05:00
Evan
4611c71bd1
merge with be
2021-01-21 08:55:14 -07:00
Evan
e61309dce6
merge with be
2021-01-20 17:34:24 -07:00
Evan
16d54b6d32
merge with be, add form checks to CanBattlerGetOrLoseItem
2021-01-20 14:28:03 -07:00
Evan
6b59a9ac01
add ai info debug option
2021-01-19 12:58:58 -07:00
Evan
9902f6e603
merge with be
2021-01-13 14:32:14 -07:00
Evan
8ef6a2c80d
merge with be
2021-01-13 14:23:30 -07:00
Evan
56395a060f
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into ai
2021-01-13 09:23:07 -07:00
Evan
1e22ae4cf2
merge with be
2021-01-10 09:08:25 -07:00
Evan
e748db8ef4
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into ai
2021-01-10 08:58:16 -07:00
Evan
6dabff1ee3
merge with be
2021-01-07 21:24:21 -07:00
Evan
2bd5167a6c
eject pack
2021-01-07 21:11:56 -07:00
Evan
5eb49722c0
add red card effect
2021-01-07 19:33:39 -07:00
ultima-soul
d2d961e447
Merge pull request #1262 from LOuroboros/gen8_abilities_BE
...
Implemented various Gen. 8 abilities
2021-01-07 13:31:17 -08:00
Evan
0cdab790dc
add blunder policy
2021-01-06 15:40:20 -07:00
Evan
efa4fe89ad
micle berry
2021-01-06 10:47:07 -07:00
Evan
f2e486eb0d
custap berry effect, custap/quick claw activation message
2021-01-06 09:37:31 -07:00
LOuroboros
517c8ffdd0
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into gen8_abilities_BE
2021-01-03 22:05:14 -03:00
ExpoSeed
7dadcb94b8
Merge branch 'master' of https://github.com/pret/pokeemerald into HEAD
2021-01-03 17:14:43 -06:00
Evan
5bdf266000
add additional item theft check
2020-12-20 19:06:50 -07:00
Evan
a0b9ece980
merge with BE
2020-12-20 16:39:50 -07:00
Evan
21e7d6d318
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into ai
2020-12-20 16:33:43 -07:00
Evan
7988a1f41d
Ai_TryOnAlly and reorganize files
2020-12-20 14:47:20 -07:00
Evan
31ec3e8479
non-partner good move checks
2020-12-19 21:58:23 -07:00
Evan
8a544665e4
move common ai params to preloaded struct
2020-12-16 22:56:10 -07:00
Evan
e70e2bcd65
merge with be
2020-12-14 09:09:51 -07:00
Evan
b85dacce9d
fix conflicts
2020-12-14 08:50:41 -07:00
Evan
67fefd0261
var terrain, surge fixes
2020-12-13 19:42:48 -07:00
Evan
28698a982d
try to faint script -> c
2020-12-11 08:05:00 -07:00
Kurausukun
58976ebaa8
Merge remote-tracking branch 'upstream/master' into berry_crush
2020-12-10 23:30:52 -05:00
Evan
34dd11448b
sticky barb transfer + pickpocket combo, fix CanBattlerGetOrLoseItem
2020-12-09 10:28:18 -07:00
Evan
426ea191ad
style fix
2020-12-05 21:04:12 -07:00
Evan
d5ad14c349
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into popup
2020-12-05 21:03:20 -07:00
Evan
21cab1b7a7
better negative totem boost system, totems occur before switch in abilities
2020-12-05 21:00:51 -07:00
Evan
39cbc21925
fix trainer theft, update config option
2020-12-03 08:42:12 -05:00
LOuroboros
9e1d7cc827
Implemented Ball Fetch
2020-12-02 23:09:35 -03:00
Evan
4ad5e368a9
fix merge conflicts
2020-12-01 17:57:57 -05:00
Evan
25abdeacc5
tidy up z move code
2020-12-01 16:36:44 -05:00
Evan
2bfc7ea9b1
merge upstream
2020-12-01 15:42:04 -05:00
Evan
f54cd0b25d
fix z effect scripts
2020-12-01 15:35:39 -05:00
Evan
ce19e33cc4
handle double and multi battles
2020-12-01 13:43:15 -05:00
Evan
fd8951d040
trainer z move ai
2020-12-01 08:24:33 -05:00
Evan
a0bde70493
z move effects
2020-11-30 10:55:46 -05:00
Evan
2b1dfe73cf
z move unleash anim, fix active/used flags
2020-11-27 23:38:29 -05:00
Evan
4060b09bd6
expand top left move window. add z move init anim
2020-11-27 17:06:36 -05:00
Evan
348d70b309
z move indicator and some data
2020-11-26 15:56:18 -05:00
Evan
ef43596a79
toggleable manual ability popup destruction
2020-11-19 15:16:27 -07:00
Evan
99d9a36860
add totem boosts
2020-11-19 10:35:37 -07:00
ultima-soul
e15a86caae
Add ifdef for Hidden Abilities from Pokémon Expansion and change gBattlerAbility back to a u8.
2020-11-17 10:32:24 -08:00
ultima-soul
e32659d4bb
Merge branch 'battle_engine' into ability_expansion and add Gen 8 DLC abilities.
2020-11-16 13:50:26 -08:00
Evan
435f928aa4
opponent trainer theft config option. Clean up code a bit
2020-11-13 11:00:44 -07:00
Evan
64bcac4589
move pickpocket to back of moveend sequence
2020-11-12 23:30:00 -07:00
Eduardo Quezada D'Ottone
e6f8d57f08
Merge remote-tracking branch 'RHH/battle_engine' into BE-WishMegaEvo
...
# Conflicts:
# include/constants/battle_string_ids.h
2020-11-10 17:28:17 -03:00
ultima-soul
99fdc13e61
Merge branch 'master' into battle_engine_sync
2020-11-07 15:59:20 -08:00
Eduardo Quezada D'Ottone
09a5d6c722
Implemented Wish Mega Evolution
2020-11-07 10:13:32 -03:00
MCboy
e31158d017
add spaces around - and remove comment from include in battle.h
2020-11-06 23:29:52 +03:30
MCboy
3b91735e63
use constants for ball throw count
2020-11-06 22:59:46 +03:30
aaaaaa123456789
1c3d75f673
Merge branch 'master' into reverts
2020-10-26 12:16:36 -03:00
Kurausukun
90211248af
re-match Cmd_unknown_24 (from #1140 )
...
changes to data structs are necessary. other things that look
unnecessary, like the order of operands, are also necessary. fuck this
function.
2020-10-23 20:47:10 -04:00
Eduardo Quezada
0d39b29691
Option to use Gen 3 Physical/Special split.
2020-10-15 00:16:50 -03:00
ExpoSeed
9e2c8a95c1
Sync bev2 with pret
2020-10-11 01:01:47 -05:00
GriffinR
65a4e06737
Add ITEM6_HEAL constants, change move flags to shifts
2020-10-05 18:48:51 -04:00
Kaz
847878eae9
battle_gfx_sfx_util.c: Very annoying fakematch fix.
...
daycare.c: -g eliminates the need for the brace hack.
battle_transition.c: Fix Phase2_Ripple_Func2...?
2020-09-19 17:12:25 -04:00
aaaaaa123456789
7dc95a0103
Undo PokeCodec's PRs
...
This commit undoes most of PokeCodec's PRs after the debate in chat. Some
harmless or completely superseded PRs have been left alone, as there is not
much benefit in attempting to undo them.
Reverts #1104 , #1108 , #1115 , #1118 , #1119 , #1124 , #1126 , #1127 , #1132 , #1136 ,
#1137 , #1139 , #1140 , #1144 , #1148 , #1149 , #1150 , #1153 , #1155 , #1177 , #1179 ,
#1180 , #1181 , #1182 and #1183 .
2020-09-13 06:30:55 -03:00
DizzyEggg
97d0643110
Merge with master
2020-09-08 12:48:28 +02:00
GriffinR
afb3472282
Minor battle_anim_throw cleanup
2020-08-30 15:11:44 -04:00
hondew
e46b35455d
Merge branch 'master' into pokeball-doc
2020-08-30 14:14:38 -04:00
hondew
328aecc96e
Document throwing pokeball
...
continue
Document more
Doc more funcs
Remove workspace
Document shiny stars
Document PokeBlock
Clean up
Clean more
2020-08-30 14:08:06 -04:00
DizzyEggg
f70a9ce153
Merge with master
2020-08-27 12:01:28 +02:00
PokeCodec
e27975afaa
Match battle script commands by correcting a function and the pokemon struct
2020-08-18 22:05:01 -04:00
DizzyEggg
0066640a1e
Merge with master
2020-07-27 14:51:39 +02:00
GriffinR
aba42513d3
Clean up some battle scr cmd data
2020-07-18 18:10:15 -04:00
DizzyEggg
42f48d1a61
Power Construct
2020-07-16 15:40:56 +02:00
DizzyEggg
ec4c73711e
Rest Sleep Talk wake up awaraness
2020-07-15 21:30:24 +02:00
DizzyEggg
1a94d27fe6
Emergency Exit
2020-07-15 17:21:12 +02:00
ghoulslash
8f669bb57d
Add critical capture ( #402 )
...
* add critical capture
* synax and format fixes
2020-07-14 17:47:15 +02:00
DizzyEggg
3bdf675221
Hopefully illusion works as intended now
2020-06-28 19:45:48 +02:00
Eduardo Alvaro Quezada D'Ottone
9fb073ca23
Some cleanup ( #454 )
...
* Toxic Thread doesn't have power.
* Added missing commas.
* Autotomize typo.
It wasn't until today that I learned that autotomize was a word.
2020-06-27 11:21:13 +02:00
DizzyEggg
548a43f8d9
Rocky Helmet before Knock Off
2020-06-25 16:15:11 +02:00
DizzyEggg
f19ba68cb9
Fix mega indicator sprite overwriting ram
2020-06-24 12:55:08 +02:00
ultima-soul
9ee5db6a96
Expand ability ids to u16. Thanks to ghoulslash for some assistance!
2020-05-18 14:54:12 -07:00
DizzyEggg
ee68f0f826
Fix switch-in abilities when shift style switch
2020-04-25 11:17:59 +02:00
DizzyEggg
e2524bed49
Metronome item
2020-04-22 12:49:25 +02:00
DizzyEggg
0f628c8ff2
Fairy Lock
2020-04-20 19:41:07 +02:00
DizzyEggg
ad481c8688
Moody
2020-04-19 15:44:44 +02:00
DizzyEggg
6a3944d27c
Frisk, would be easier if it didnt scan 2 opponents
2020-04-19 13:37:56 +02:00
DizzyEggg
e42ead10c9
Soul Heart
2020-04-18 19:59:09 +02:00
DizzyEggg
8ea7fcc348
better ai debug
2020-04-14 13:40:27 +02:00
DizzyEggg
8f61445dfe
Berserk
2020-04-12 12:41:26 +02:00
DizzyEggg
6968124529
Merge battle anim documentation
2020-02-29 13:59:41 +01:00
GriffinR
afa1ae2209
Finish documenting move anim scripts
2020-02-25 12:54:08 -06:00
Nephrite
0343f63eda
Dancer
...
Implemented Dancer and all relevant code for interacting with abilities, certain moves, etc
2019-12-07 10:19:01 +00:00
DizzyEggg
ea6736cd8d
merge
2019-11-10 12:09:14 +01:00
DizzyEggg
bae5d2038f
Update with master
2019-10-10 16:18:48 +02:00
GriffinR
1016b23918
Merge branch 'master' into rename-tablecmds
2019-09-26 15:02:38 -04:00
GriffinR
85d97542cd
Use MAX_MON_MOVES constants
2019-09-16 19:21:23 -05:00
DizzyEggg
91b364e8d6
Ai use most powerful move smarrter
2019-08-27 18:29:34 +02:00
GriffinR
869d0eebc0
Rename atk## constants and states
2019-08-23 08:46:21 -04:00
DizzyEggg
c9de753ecc
Illusion
2019-08-08 13:06:55 +02:00
DizzyEggg
2863045241
Fix switch-in abilities text/pop-up
2019-08-05 11:24:49 +02:00
DizzyEggg
3e476adf4a
Stockpile gen4 effect and fixed spit up
2019-07-09 19:06:12 +02:00
DizzyEggg
48c801245c
Fix Synchronize
2019-06-25 13:04:14 +02:00
DizzyEggg
272fa07799
AI switch mons if all moves are not usable
2019-06-11 10:45:12 +02:00
DizzyEggg
e00890a555
Fix Air Baloon msg
2019-05-20 12:20:49 +02:00
DizzyEggg
d027bb0d7a
Life Flame toxic orbs
2019-05-10 11:03:33 +02:00
DizzyEggg
bb8e397e5b
Gems and dmg reducing berries
2019-05-07 15:26:58 +02:00
Papa Cancer
b50007e861
Instruct
...
Re-PR'd due to excess "merges"
2019-04-20 20:11:49 +01:00
Papa Cancer
e5e45bbcf5
Throat Chop
...
Added strings that show when Throat Chop prevents move usage. Added extra string (not present in games) to show when it ends as there is no indication otherwise. Fixed Embargo's string as well.
2019-04-17 13:52:25 +01:00
DizzyEggg
31222ef64b
Add held effect debug override
2019-04-13 14:56:26 +02:00
DizzyEggg
549a9cdcc2
Merge pull request #118 from thechurchofcage/beta
...
Stomping Tantrum
2019-04-13 14:09:15 +02:00
DizzyEggg
f8713f9c15
Merge with master
2019-04-06 20:43:13 +02:00
Marcus Huderle
033580da96
Document secret base
2019-04-05 16:24:57 -05:00
DizzyEggg
b0223f691f
Clean up data headers
2019-04-05 07:53:23 -05:00
DizzyEggg
dd24597d52
Finish up menu specialised
2019-04-05 07:53:23 -05:00
Papa Cancer
c9ad96d228
Stomping Tantrum
...
Uses timer in gBattleStruct to count time since last failed move. This is augmented by a MOVE_FAILED result in atk_49 and decreased with an ENDTURN case. EFFECT_STOMPING_TANTRUM doubles base power if the timer is set.
2019-04-01 20:06:45 +01:00
DizzyEggg
944dc4f6bf
Merge with master
2019-04-01 13:40:42 +02:00
DizzyEggg
b12334c88b
Remove cases from ABE, add functionality of Flower Veil
2019-03-31 21:38:58 +02:00
Marcus Huderle
462b196abc
Give battle_anim files appropriate names
2019-03-31 12:15:39 -05:00
PikalaxALT
2f57d6bc0f
sub_8018220
2019-03-30 09:18:58 -04:00
DizzyEggg
7018745230
Fix Defiant stat raise by allies
2019-03-23 17:21:14 +01:00
DizzyEggg
e135ea47e5
Touch up Anger Point
2019-03-23 16:33:08 +01:00
DizzyEggg
fddb5159b4
Merge with master
2019-03-05 21:46:45 +01: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
DizzyEggg
df9e6a6889
Free up two status3 flags
2019-02-25 16:17:23 +01: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
dc39f76a95
Spectral Thief effect
2019-02-14 12:15:53 +01:00
DizzyEggg
f415871369
Merge with master
2019-02-03 10:44:05 +01:00
DizzyEggg
a740bc7190
Name action 11
2019-02-02 11:32:00 +01:00
DizzyEggg
a3460c9e45
Code Belch effect
2019-02-01 14:17:24 +01:00
DizzyEggg
d46e60765d
Rename a palace battle field
2019-01-29 22:22:02 +01:00
DizzyEggg
7bc4a3b3f7
Merge with master
2019-01-29 22:12:53 +01:00
Marcus Huderle
e81838dba3
Misc. documentation and move some data into .c files
2019-01-29 14:36:02 -06:00
DizzyEggg
abd518b668
Refactor GF's idiotic coding
2019-01-27 13:52:02 +01:00
DizzyEggg
b667c20d80
Remove unused vars in battle main.c
2019-01-05 18:52:33 +01:00
DizzyEggg
78d7c29290
Move buffers to allocated reousrces, get rid of old type effectiveness table
2019-01-05 16:00:57 +01:00
DizzyEggg
517573eb4b
Update with master
2018-12-26 17:46:51 +01:00
melthelesbian
2dd706ca54
use max mon moves constant where able ( #480 )
...
* use max mon moves constant where able
* fix errors in script commands file
* fix more errors
2018-12-25 11:50:15 -06:00
DizzyEggg
6fa5f33519
Merge branch 'master' into battle_engine_v2
2018-12-24 09:07:18 +01:00
DizzyEggg
9320fe8f85
Clear includes
2018-12-24 00:02:29 +01:00
DizzyEggg
bd817d70d6
Refactor battle intro, allow to speed it up
2018-12-23 18:47:00 +01:00
DizzyEggg
53b9d4a224
Dont clear AI flags on move choose. Will come in handy in smart ai switch logic
2018-12-22 20:57:12 +01:00
DizzyEggg
f7a7ddde0c
Fix Quick Guard
2018-12-22 15:10:24 +01:00
DizzyEggg
e54dd6a02b
Merge with master
2018-12-22 13:53:07 +01:00
Marcus Huderle
c74468fd11
Document a bunch of battle anim stuff
2018-12-17 22:16:17 -06:00
Marcus Huderle
2c6849bee8
Decompile battle_anim_8170478.c ( #445 )
2018-12-13 21:33:54 -06:00
DizzyEggg
180aa839c4
Fix conflicts
2018-12-09 13:12:02 +01:00
DizzyEggg
b60915539d
Fix Phantom Force
2018-12-08 16:19:50 +01:00
DizzyEggg
6068495619
Document trainer battle scripts ( #430 )
2018-12-07 16:50:56 -06:00
DizzyEggg
b9e711bbf4
Add Powder
2018-12-03 12:50:32 +01:00
DizzyEggg
d46c3ebe5b
Fix Future Sight
2018-12-02 18:47:39 +01:00
DizzyEggg
3be070f0c3
Fix string overflowing issue
2018-12-01 11:12:31 +01:00
DizzyEggg
1a8859b1d8
Add Dazzling
2018-11-30 22:12:18 +01:00
DizzyEggg
434e257943
Add Acupressure
2018-11-24 21:06:53 +01:00
DizzyEggg
539b05ff73
Begin working on custom multi battles
2018-11-24 01:02:02 +01:00
DizzyEggg
a5df797804
Merge branch 'master' into battle_engine_v2
2018-11-19 20:42:07 +01:00
DizzyEggg
37d49b34e0
Move vars to battle_main.c
2018-11-19 17:36:39 +01:00
Marcus Huderle
72f0a079a9
Decompile all of battle_anim_utility_funcs
2018-11-19 09:37:25 -06:00
DizzyEggg
15b8046b2b
Add third type
2018-11-17 12:10:24 +01:00
DizzyEggg
bb9dbc0c6d
Merge with master
2018-11-14 22:50:27 +01:00
DizzyEggg
a4235c9ff8
Document battle arena
2018-11-11 18:33:16 +01:00
DizzyEggg
81410fee17
Factory done
2018-11-11 16:44:27 +01:00
DizzyEggg
68d94ad316
Implement trainer sliding
2018-11-03 01:17:16 +01:00
DizzyEggg
e9965dd341
merge with master
2018-11-02 22:55:32 +01:00
DizzyEggg
0ab27e44b1
more tower, fail
2018-10-21 20:13:12 +02:00
DizzyEggg
67384c08be
Implement double wild battle functionality
2018-10-15 21:19:52 +02:00
DizzyEggg
b3ad32bbe6
Merge with master
2018-10-14 20:51:34 +02:00
DizzyEggg
ecdf0fd69d
Clean battle structs
2018-10-14 18:37:52 +02:00
DizzyEggg
b73611bccb
clean battle structs
2018-10-14 18:10:54 +02:00
DizzyEggg
7925000a54
merge with master
2018-10-06 16:05:58 +02:00
DizzyEggg
6b5c52e926
Flower Shield and protect moves
2018-10-06 15:50:35 +02:00
Marcus Huderle
b9e38a569e
Merge pull request #320 from DizzyEggg/anims
...
Document battle animation scripts
2018-10-06 08:20:41 -05:00
DizzyEggg
dddefbb0e3
Full support for moves hitting all battlers
2018-09-29 16:41:25 +02:00
DizzyEggg
cbaae44f9f
Add pop-up to battlescripts
2018-09-29 13:36:33 +02:00
DizzyEggg
731ff38067
Ability pop-up functionality is done
2018-09-29 12:47:35 +02:00
DizzyEggg
60e8c80c4c
Merge branch 'master' into battle_engine_v2
2018-09-22 19:14:56 +02:00
DizzyEggg
e362c06aea
gRandomMove to gCalledMove
2018-09-22 18:41:00 +02:00
DizzyEggg
19e1606595
Add Copycat
2018-09-22 18:37:03 +02:00
DizzyEggg
ca9876b0b4
Updated Wrap Mechanics, Infestation, stat changing move effects
2018-09-22 12:20:33 +02:00
DizzyEggg
1284bb94f1
Last Resort, Fangs and Flare Blitz/Volt Tackle
2018-09-22 10:45:43 +02:00
DizzyEggg
2bae70a66b
Convert mega related struct fields to a seperate struct
2018-09-20 17:33:27 +02:00
DizzyEggg
602c1322e4
almost full support for link battles mega evolution
2018-09-20 11:23:12 +02:00
DizzyEggg
2042788fdc
Mega Evolution done except sprites.
2018-09-16 21:08:49 +02:00
DizzyEggg
55f21c1776
Mega Evolution support is mostly done.
2018-09-16 18:55:32 +02:00
DizzyEggg
8a81bd1bce
Sync battle anim labels with pokeruby
2018-09-12 22:58:03 +02:00
DizzyEggg
10b479a3ca
Document battle animation scripts.
2018-09-10 21:19:19 +02:00
DizzyEggg
39f9b1ddf0
Experience on caught mon
2018-08-03 18:01:14 +02:00
DizzyEggg
320120d529
Merge with master
2018-08-03 00:20:34 +02:00
DizzyEggg
92f3d89598
Gravity and Heal Block preventing after choosing a move
2018-08-02 21:27:28 +02:00
DizzyEggg
9febcd3a0a
Document a bit of atk47
2018-07-29 15:51:08 +02:00
DizzyEggg
68145cd002
Document atk48
2018-07-29 15:33:16 +02:00
DizzyEggg
d628d1f5fd
Move Weather Ball, Hidden power, AI support for dynamic type moves and AI debug support
2018-07-29 11:32:40 +02:00
DizzyEggg
ec9693c797
ate abilities
2018-07-28 18:41:57 +02:00
DizzyEggg
43fc4b6933
Add Magic Bounce
2018-07-28 10:41:20 +02:00
DizzyEggg
0148cc8b0c
merge with master, gen6 move names
2018-07-28 00:01:34 +02:00
DizzyEggg
100ce73a12
Sticky Web done
2018-07-24 22:09:55 +02:00
DizzyEggg
f8b1f0a45c
Stealth Rock and Toxic Spikes
2018-07-24 21:47:00 +02:00
DizzyEggg
45bc76d94c
Side Status from u16 to u32
2018-07-24 20:13:02 +02:00
DizzyEggg
6570324432
New crit calculator.
2018-07-23 21:36:05 +02:00
DizzyEggg
831816e9b2
Switch-in abilities with a message
2018-07-22 22:21:47 +02:00
DizzyEggg
fdd8765256
Add Storm Drain redirection
2018-07-22 19:34:13 +02:00
DizzyEggg
fcca2afc81
More gen4 move effects battlescrips.
2018-07-21 21:58:07 +02:00
DizzyEggg
b203cf4ca4
Add a couple of gen4 moves battlescripts
2018-07-21 16:34:43 +02:00
DizzyEggg
9d4d8c5dac
Add new Sturdy effect
2018-07-21 15:11:13 +02:00
DizzyEggg
66a3c13f49
Add new Side turn effects
2018-07-21 12:56:07 +02:00
DizzyEggg
382f640809
Start Side/Field end turn
2018-07-21 12:10:08 +02:00
vblm12
07ea34e4c2
Make TrainerMonPtr fields const
2018-07-20 22:08:38 -05:00
DizzyEggg
1468107002
Add Roost endturn effect
2018-07-19 21:18:20 +02:00
DizzyEggg
f3be5ad22d
Do new battler end turn effects.
2018-07-18 22:07:48 +02:00
DizzyEggg
81b29ae7c1
Merge with pokeemerald
2018-07-16 22:45:06 +02:00
DizzyEggg
118fa3afce
IS_MOVE_PHYSICAL to IS_TYPE_PHYSIAL
2018-07-16 22:00:27 +02:00
DizzyEggg
0852cba111
Fix dynamic move power moves, get rid of gDynamicBasePower'
...
'
2018-07-16 21:42:03 +02:00
DizzyEggg
f250436db0
Working physical special split
2018-07-16 21:04:56 +02:00
DizzyEggg
bf0178238a
Battle files - review changes
2018-07-16 20:47:30 +02:00
DizzyEggg
6f484c20ce
Final ai damage calc touches
2018-07-15 18:07:01 +02:00
DizzyEggg
5a38bb61db
Basic damage calc is ready.
2018-07-14 22:56:03 +02:00
DizzyEggg
2ebf14a83d
Get rid of scripting dmg multiplier
2018-07-14 18:58:45 +02:00
DizzyEggg
939127bfff
Important battle util functions
2018-07-14 16:41:14 +02:00
DizzyEggg
b24427f3bf
Introduce Field Statuses
2018-07-14 13:17:10 +02:00
DizzyEggg
626b80106e
Basic Battle Debug Menu is done
2018-07-13 23:00:56 +02:00
DizzyEggg
008d961b2a
add party menu defines
2018-07-07 19:57:09 +02:00
DizzyEggg
d2e47323fe
document frontier related
2018-07-01 11:15:42 +02:00
DizzyEggg
bfc64c9689
C vars sym ewram
2018-06-30 15:35:54 +02:00
DizzyEggg
272b98da6c
document party status summary
2018-06-28 21:06:32 +02:00
DizzyEggg
ab36efdaf4
document bounce effect
2018-06-20 23:07:51 +02:00
DizzyEggg
94752d4207
document battle bars
2018-06-19 00:43:15 +02:00
DizzyEggg
caa36b530a
label and document battle windows
2018-06-17 16:48:58 +02:00
DizzyEggg
edf2ea45b1
merge with master
2018-03-01 10:12:35 +01:00
DizzyEggg
988f0b7e19
Merge branch 'master' into decompile_battle_link_817C95C
2018-03-01 01:01:18 +01:00
DizzyEggg
b846015343
more battle files cleaning
2018-03-01 00:59:52 +01:00
DizzyEggg
59ff4aec9b
decompile and document battle tv
2018-02-27 20:40:09 +01:00
DizzyEggg
a9212eeb66
battle file more done and clean up tv
2018-02-27 18:13:28 +01:00
DizzyEggg
2fa00d01ee
make it compile
2018-02-26 15:56:59 +01:00
DizzyEggg
1972303792
type and ability names to C
2018-02-26 14:29:17 +01:00
DizzyEggg
919f803214
correct move target defines
2018-02-26 13:24:46 +01:00
DizzyEggg
8ff9cb0ede
give up for now
2018-02-26 11:45:47 +01:00
DizzyEggg
4a45b4de4e
more work
2018-02-25 18:45:00 +01:00
DizzyEggg
9df5e16343
more battle labels
2018-02-08 12:13:29 +01:00
DizzyEggg
96290f4ee3
pokemon and battle constants
2018-02-08 11:17:41 +01:00
DizzyEggg
a10fd5a7c4
create more battle constants
2018-02-08 00:35:13 +01:00
DizzyEggg
caf9af321d
get rid of unnecessary externs
2018-02-08 00:00:25 +01:00
DizzyEggg
1a32010f13
iwram common symbols to c
2018-02-07 23:21:51 +01:00
DizzyEggg
5ac6cc4860
move battle vars to c file
2018-02-07 22:53:40 +01:00
camthesaxman
c3dc14ba66
more renaming
2018-02-06 16:09:39 -06:00
camthesaxman
f78fa6aabf
rename bank to battler
2018-02-05 19:46:59 -06:00
camthesaxman
b4bb562363
rename battle_2.c to battle_main.c
2018-01-16 16:15:02 -06:00
camthesaxman
c3c13d0acf
more renaming
2018-01-16 15:12:38 -06:00
camthesaxman
157b88b6db
identity -> position
2018-01-16 14:01:31 -06:00
DizzyEggg
4f950d698c
dump battle animation scripts
2017-12-31 16:28:57 +01:00
DizzyEggg
7581218569
Merge branch 'master' into decompile_battle1
2017-12-19 17:37:53 +01:00
DizzyEggg
720bd555bc
add constants trainers file
2017-12-17 21:19:08 +01:00
DizzyEggg
eb8055eb07
battle 1 is decompiled
2017-12-17 20:10:57 +01:00
DizzyEggg
bb82032208
battle setup review changes
2017-12-16 01:15:19 +01:00
DizzyEggg
44abbae60b
nerge with master, fix conflicts
2017-12-16 01:08:55 +01:00
Cameron Hall
fd75493bc6
Merge pull request #129 from DizzyEggg/dumb_naming
...
Name some battle labels
2017-12-05 12:05:06 -06:00
DizzyEggg
790df7159e
more battlescript labels
2017-12-03 00:47:21 +01:00
DizzyEggg
e10aea9a51
give some more labels to battle struct fields
2017-12-02 23:31:58 +01:00
DizzyEggg
c27f7a8131
start working on pokeball
2017-12-02 19:39:07 +01:00
DizzyEggg
d75e7ace1d
label battle stuff
2017-12-02 14:08:55 +01:00
DizzyEggg
039c9f4bd8
merge with master
2017-12-01 21:27:29 +01:00
PikalaxALT
921011592c
unsigned -> unsigned int; create header
2017-11-29 08:30:18 -05:00
DizzyEggg
10470ef536
start working on battle setup
2017-11-28 23:02:09 +01:00
DizzyEggg
9886eeb5d8
fix, rename, label battle labels and battlescripts
2017-11-26 13:26:58 +01:00
DizzyEggg
cc572f7c00
clear battle code and battlescripts
2017-11-26 11:55:17 +01:00
DizzyEggg
76f4a8b195
clean up and use names for printfromtable
2017-11-26 00:33:40 +01:00
DizzyEggg
9151a6d094
dump battlescripts, rename battlescripts
2017-11-25 18:42:31 +01:00
DizzyEggg
716590c165
one more battle label change
2017-11-12 17:11:06 +01:00
DizzyEggg
9febe24d9f
label some battle struct fields
2017-11-12 17:06:31 +01:00
DizzyEggg
cd879d6f8a
Merge branch 'battle4_fixes' into decompile_battle5
2017-11-12 16:46:44 +01:00
DizzyEggg
47a8c6c432
battle5 decompiled and renamed
2017-11-12 16:39:21 +01:00
DizzyEggg
b7fa10d01e
Merge branch 'master' into battle4_fixes
2017-11-12 00:17:38 +01:00
DizzyEggg
7472d639cf
match one function in battlescript cmds
2017-11-11 20:01:04 +01:00
DizzyEggg
352102a07a
Merge branch 'master' into decompile_battle_7
2017-11-04 16:12:45 +01:00
DizzyEggg
6c8155074b
battle 7 is decompiled
2017-11-04 16:11:13 +01:00
DizzyEggg
5243285ab2
start working on battle 7
2017-11-02 18:19:49 +01:00
PikalaxALT
17fd3bccf7
Merge branch 'master' into secret_base
2017-11-01 23:39:54 -04:00
DizzyEggg
6cb1c4fd6e
fix merge conflicts, evo scene
2017-10-31 19:36:25 +01:00
DizzyEggg
712ae56167
review change battle controllers
2017-10-31 18:04:08 +01:00
DizzyEggg
e8903fb4dd
start workin on evo scene
2017-10-27 18:52:21 +02:00
PikalaxALT
fcaccb8501
through sub_80EA30C
2017-10-26 22:49:51 -04:00
DizzyEggg
1506184465
battle controller opponent is done
2017-10-26 23:12:48 +02:00
DizzyEggg
3ece244246
wally controller is done
2017-10-24 21:45:41 +02:00
DizzyEggg
bffcd426cf
link opponent controller is done
2017-10-24 15:25:20 +02:00
DizzyEggg
356eb34e32
undo revert
2017-10-23 14:40:22 +02:00
DizzyEggg
5b70307962
revert merge coz its bugged
2017-10-23 13:36:55 +02:00
DizzyEggg
7d1373e3fa
Merge branch 'master' into decompile_battle_controllers
2017-10-23 13:33:32 +02:00
Diegoisawesome
88230e8d16
Merge pull request #91 from golemgalvanize/summary
...
partially decompile pokemon_summary_screen
2017-10-22 20:16:16 -05:00
DizzyEggg
26c79313d8
safari controller is done
2017-10-22 20:38:23 +02:00
DizzyEggg
df4e32a307
player battle controller is done
2017-10-22 18:43:15 +02:00
DizzyEggg
813b1bfd4a
label and do more work at player controller
2017-10-22 01:04:02 +02:00
DizzyEggg
3d1c16523e
start working on battle controllers, especially player
2017-10-21 17:32:35 +02:00
DizzyEggg
b65da491a9
merge with master, fix conflicts
2017-10-20 10:49:21 +02:00
DizzyEggg
36035518dc
review battle anim changes
2017-10-20 00:01:17 +02:00
DizzyEggg
dee6133076
fix merge conflicts
2017-10-19 19:46:37 +02:00
DizzyEggg
11bead31e9
battle interface is done
2017-10-19 15:28:41 +02:00
U-User-PC\User
d4532c70cb
fix merge conflicts
2017-10-18 19:28:36 -04:00
DizzyEggg
6e56211f40
more of battle interface done
2017-10-18 21:42:00 +02:00
DizzyEggg
0ffc5652fd
hp printing in healthboxes done I hope
2017-10-18 00:00:46 +02:00
DizzyEggg
4b45282dd3
start working on battle interface
2017-10-16 18:12:27 +02:00
DizzyEggg
ebb2999c03
more of battle anim done
2017-10-14 23:37:44 +02:00
DizzyEggg
72ed861715
fix rom3 conflicts
2017-10-13 19:58:45 +02:00
Diegoisawesome
3040c1e1aa
Merge pull request #75 from DizzyEggg/decompile_reshow_battle_screen
...
Decompile reshow battle screen
2017-10-13 12:42:42 -05:00
DizzyEggg
c78679ae66
rom3 decomp start
2017-10-13 17:22:50 +02:00
PikalaxALT
52db3ad5aa
Decompile TV ( #80 )
...
* ClearTVShowData
* special_0x44
* DoTVShow (nonmatching because align)
* DoTVShowBravoTrainerPokemonProfile
* Update field names
* DoTVShowBravoTrainerBattleTower
* Renaming of struct fields
* sub_80EBFF4 and UpdateTVScreensOnMap
* SetTVMetatilesOnMap
* Power buttons for the TV screens on the map
* special_0x45
* sub_80EC18C
* special_0x4a
* ResetGabbyAndTy
* GabbyAndTyBeforeInterview
* GabbyAndTyAfterInterview
* Through IsTVShowInSearchOfTrainersAiring
* GabbyAndTyGetLastQuote
* GabbyAndTyGetLastBattleTrivia
* GabbyAndTySetScriptVarsToFieldObjectLocalIds
* InterviewAfter; use TVShow as a precursor for making the individual show structs anonymous
* Make TV structs anonymous within the union
* Move the TV union to its own subheader
* Move TV show enums to the global.tv.h subheader
* Funcion renaming
* Apply static attributes where able
* PutPokemonTodayCaughtOnAir
* sub_80EC8A4
* PutPokemonTodayFailedOnTheAir
* sub_80EC9E8, sub_80ECA10
* sub_80ECA38
* sub_80ECB00
* Put3CheersForPokeblocksOnTheAir
* PutFanClubSpecialOnTheAir
* ContestLiveUpdates_BeforeInterview
* Other before-interview Contest Live Updates functions
* ContestLiveUpdates_BeforeInterview_5
* InterviewAfter_BravoTrainerPokemonProfile
* BravoTrainerPokemonProfile_BeforeInterview1
* BravoTrainerPokemonProfile_BeforeInterview2
* Disassemble TV data
* Decompile TV data
* InterviewAfter_BravoTrainerBattleTowerProfile
* SaveRecordedItemPurchasesForTVShow
* PutNameRaterShowOnTheAir
* StartMassOutbreak
* PutLilycoveContestLadyShowOnTheAir
* InterviewAfter_FanClubLetter
* Rip TV strings
* InterviewAfter_RecentHappenings
* InterviewAfter_PkmnFanClubOpinions
* sub_80ED718
* EndMassOutbreak
* sub_80ED888
* sub_80ED8B4
* UpdateMassOutbreakTimeLeft
* sub_80ED950
* PutFishingAdviceShowOnTheAir
* through sub_80EDA80
* ewram and common syms are now fetched from the object files
* BSS symbols are taken from the tv.o file
* through sub_80EDC60
* sub_80EDCE8
* sub_80EDD78
* through sub_80EDE84
* nomatching sub_80EDE98
* sub_80EDFB4
* sub_80EE104
* sub_80EE104
* sub_80EE184
* sub_80EE2CC
* sub_80EE35C
* sub_80EE44C
* sub_80EE4DC
* sub_80EE5A4
* sub_80EE69C
* sub_80EE72C
* sub_80EE7C0
* sub_80EE818
* sub_80EE8C8
* sub_80EEA70
* sub_80EEB98
* sub_80EEBF4
* through sub_80EED60
* Functions relating to Pokemon News
* sub_80EEF6C
* GetPriceReduction
* IsPriceDiscounted
* sub_80EF120
* through sub_80EF370
* sub_80EF40C
* HasMixableShowAlreadyBeenSpawnedWithPlayerID
* TV_SortPurchasesByQuantity
* FindActiveBroadcastByShowType_SetScriptResult
* InterviewBefore
* through sub_80EF88C
* through sub_80EF93C
* through sub_80EFA24
* through TV_BernoulliTrial
* sub_80EFB58
* sub_80EFBA4
* sub_80EFBDC
* through sub_80EFD98
* ChangePokemonNickname
* ChangeBoxPokemonNickname
* sub_80EFF9C
* through player_id_to_dword
* CheckForBigMovieOrEmergencyNewsOnTV
* GetMomOrDadStringForTVMessage
* sub_80F01E8
* sub_80F0358
* sub_80F049C
* TV record mixing functions
* sub_80F06D0
* sub_80F0708 nonmatching
* through sub_80F0B24
* sub_80F0B64
* through sub_80F0C04
* sub_80F0C7C
* sub_80F0D60
* sub_80F0E58
* sub_80F0E84
* through sub_80F0F24
* sub_80F0F64
* sub_80F1208
* sub_80F1254
* sub_80F1290
* sub_80F12A4
* sub_80F14F8
* DoTVShowTodaysSmartShopper
* DoTVShowTheNameRaterShow
* DoTVShowPokemonTodaySuccessfulCapture
* DoTVShowPokemonTodayFailedCapture
* DoTVShowPokemonFanClubLetter
* DoTVShowRecentHappenings
* DoTVShowPokemonFanClubOpinions
* DoTVShowPokemonNewsMassOutbreak
* DoTVShowPokemonContestLiveUpdates
* DoTVShowPokemonBattleUpdate
* DoTVShow3CheersForPokeblocks
* DoTVShowInSearchOfTrainers
* Label GabbyAndTyData fields; remove ddump comments from data/text/tv.inc
* DoTVShowPokemonAngler
* DoTVShowTheWorldOfMasters; update RAM symbols and field names
* Decorate static functions
* DoTVShowTodaysRivalTrainer; region map enums
* TVDewfordTrendWatcherNetworkTextGroup
* DoTVShowHoennTreasureInvestigators
* DoTVShowFindThatGamer
* DoTVShowBreakingNewsTV
* DoTVShowSecretBaseVisit
* DoTVShowPokemonLotterWinnerFlashReport
* DoTVShowThePokemonBattleSeminar
* DoTVShowTrainerFanClubSpecial, DoTVShowTrainerFanClub
* DoTVShowSpotTheCuties
* DoTVShowPokemonNewsBattleFrontier
* DoTVShowWhatsNo1InHoennToday
* Helpers for DoTVShowSecretBaseSecrets
* DoTVShowSecretBaseSecrets
* DoTVShowSafariFanClub
* Finish decompilation of tv.s
* Some renaming
* Rename text group pointers
* revoke statis; pokenews enums
* Labels are number one
* Label all TV struct fields
* Make data/text/tv.inc more readable
* Split data/text/tv.inc
* Rename pokenews text pointers
* Frontier Symbol constants; indicate static rodata objects with 's' prefix
* Fix leading spaces/tabs
F*** CLion sometimes
* Fix inconsequential warning
2017-10-13 10:09:36 -05:00
DizzyEggg
b229a1c295
Merge branch 'master' into decompile_reshow_battle_screen
2017-10-13 12:18:32 +02:00
DizzyEggg
a3b62f43ee
battle 9 is decompiled
2017-10-11 12:49:42 +02:00
DizzyEggg
6dfe8ced2c
ai switching basically done
2017-10-10 21:45:07 +02:00
DizzyEggg
e382a73e9d
merge branch master
2017-10-10 11:48:16 +02:00
U-User-PC\User
42f633cbf4
(un)fix battle.h
2017-10-09 16:00:18 -04:00
U-User-PC\User
f438734192
fixing merge conflicts
2017-10-09 13:32:57 -04:00
DizzyEggg
ab03b03c4b
decompile reshow battle screen
2017-10-09 18:18:40 +02:00
DizzyEggg
db63fc1a09
battle message huge take off
2017-10-07 15:15:47 +02:00
DizzyEggg
3cc20c7c3f
battle 2 is done
2017-10-06 17:06:45 +02:00
DizzyEggg
342e616d4b
battle2 more and more and more
2017-10-06 00:12:01 +02:00
DizzyEggg
d87d19cfe5
more battle2 done
2017-10-04 19:25:14 +02:00
U-User-PC\User
750937c58c
fix battle.h
2017-10-03 16:10:18 -04:00
U-User-PC\User
1ae3d9b57b
I hope this fixes merge conflicts
2017-10-03 15:54:19 -04:00
DizzyEggg
46fe1f441f
giant battle handler is done wohohohhohoho
2017-10-03 21:35:27 +02:00
DizzyEggg
db58d5e24a
battle2 3500 C lines
2017-10-02 23:32:39 +02:00
PikalaxALT
993d5e2a6a
clean up declarations in src/palette.c
2017-10-01 21:50:58 -04:00
DizzyEggg
1fcafaf35a
more of battle2 done
2017-10-01 18:54:01 +02:00
DizzyEggg
729f4e10ed
start decompiling battle2
2017-10-01 01:12:42 +02:00
DizzyEggg
6d4d58a8a7
rename battle4 and battleai
2017-09-28 17:38:07 +02:00
DizzyEggg
7273b8f262
battle 4 is all done
2017-09-28 16:51:24 +02:00
DizzyEggg
bc3b4b4d9a
battle 4 commands are decompiled
2017-09-28 15:34:21 +02:00
DizzyEggg
69928d3904
battle 4 up to 0xE5
2017-09-27 23:43:45 +02:00
DizzyEggg
d769ec1374
battle 4 up to a8
2017-09-26 22:39:59 +02:00
DizzyEggg
52a951276f
battle 4, up to x69
2017-09-25 00:09:13 +02:00
DizzyEggg
898d0b20ad
up to x50
2017-09-24 00:29:52 +02:00
DizzyEggg
601fc9e85b
atk49 is matching baby WOHOHOHOHO
2017-09-23 20:13:45 +02:00
DizzyEggg
fc57c6c817
atk 48 is really troublesome
2017-09-23 00:06:52 +02:00
DizzyEggg
d5afb0c6e9
up to x48 and troubles
2017-09-22 21:33:49 +02:00
DizzyEggg
0c7555e237
SetMoveEffect functionally equivalent and close
2017-09-20 22:54:26 +02:00
U-User-PC\User
c2f1e2fe53
decompiled up to sub_81C0510
2017-09-20 15:07:24 -04:00
DizzyEggg
28da80e19a
battle 4 up to SetMoveEffect
2017-09-20 12:56:45 +02:00
DizzyEggg
b4875d82d5
more battle 4
2017-09-20 00:28:00 +02:00
DizzyEggg
b3c788f2ca
begin work on battle4, organize battle headers
2017-09-19 21:01:12 +02:00
DizzyEggg
75595f9b3d
decompile battle 3
2017-09-17 17:14:32 +02:00
DizzyEggg
c7592bc87c
finish porting cam's port
2017-09-17 15:19:15 +02:00
DizzyEggg
a9a66b06ef
start porting cam's port of battle3
2017-09-17 14:10:32 +02:00
DizzyEggg
4242ede445
almost there, troubles
2017-09-12 00:01:12 +02:00
DizzyEggg
8e88f2790a
pokemon2 get mon data troubles
2017-09-11 18:27:54 +02:00
DizzyEggg
5394435520
more of pokemon3 decompiled
2017-09-11 14:42:13 +02:00
DizzyEggg
154a70e228
start pokemon3 decomp
2017-09-11 11:35:41 +02:00
DizzyEggg
10a525d5a0
decomp safari zone
2017-09-09 15:45:50 +02:00
DizzyEggg
8544804758
failed nonmatch attempt, better arg names given I guess
2017-09-08 18:19:20 +02:00
DizzyEggg
54b8306115
really clean up battle ai
2017-09-05 09:41:48 +02:00
DizzyEggg
2702b0ec9b
decomp calc dmg and clean up battle ai
2017-09-04 21:43:13 +02:00
DizzyEggg
a4cc67008e
begin event data
2017-09-02 21:43:53 +02:00
DizzyEggg
2089dd0f86
start labelling, decompiling sound.s
2017-09-02 16:03:53 +02:00