Commit Graph
100 Commits
Author SHA1 Message Date
ghoulslash 2c3db74702 fix base power calcs using battler addresses 2023-03-24 10:36:10 -04:00
ghoulslash c61797bc38 styling and syntax fix 2023-03-21 14:31:09 -04:00
ghoulslash 1adc6b761e remove random space 2023-03-21 13:38:24 -04:00
ghoulslash 3bd680cab9 fix GetBattleAnimMoveTargets for non-player gBattleAnimAttacker 2023-03-21 13:36:45 -04:00
ghoulslash feb4bfee42 fix toxic debris side status check 2023-01-28 13:56:09 -05:00
ghoulslash 3f616215ea add silk trap anim 2023-01-28 09:03:18 -05:00
ghoulslash 92341e6d6a fix flame burst hitting semi-invulnerable partner 2023-01-26 13:04:01 -05:00
ghoulslash 8cc923ebcc parentheses around random & 1 2023-01-23 09:42:04 -05:00
ghoulslash e93d22c0f1 optimize IsMoveMakingContact 2023-01-23 09:37:05 -05:00
ghoulslash 125e73dd07 loaded dice fix 2023-01-23 09:36:17 -05:00
ghoulslash f97ec1975a merge w upcoming 2023-01-23 09:24:03 -05:00
ghoulslash 428ea97028 IsBattlerAlive instead of hp check 2023-01-21 12:11:12 -05:00
ghoulslash a044084182 Remove redundant IsBattlerAlive checks from ITEMEFFECT_ORBS 2023-01-21 11:11:50 -05:00
ghoulslash 9e6c5725d0 add hp check to ITEMEFFECT_ORBS 2023-01-21 08:55:20 -05:00
ghoulslash 2ee26c6240 align cols 2023-01-03 19:36:19 -05:00
ghoulslash 82bf76588c move challengeNum index to end of sBattlePointAwards, explicitly call out frontier facilities, modes 2023-01-02 13:12:46 -05:00
ghoulslash dba1aa4f0b fix ai helping hand 2022-12-21 12:05:38 -05:00
ghoulslash 0a9e3c8dc8 fix stattextbuffer in BattleScript_IntimidatePrevented_Item 2022-12-11 16:16:10 -05:00
ghoulslash 04e9c181ad add covert cloak check for stats 2022-12-06 12:42:01 -05:00
ghoulslash 2391150274 Revert "CreateAbilityPopup always records ability"
This reverts commit c8661a1bc1.
2022-12-06 11:25:27 -05:00
ghoulslash c8661a1bc1 CreateAbilityPopup always records ability 2022-12-06 11:24:04 -05:00
ghoulslash c327655ef5 small fixes 2022-12-06 11:12:20 -05:00
ghoulslash 5a26a69ccd add some RecordItemEffect and RecordAbilityBattle situations, ai checks 2022-12-06 11:00:57 -05:00
ghoulslash bdb480765c add ability shield check to mummy, wandering spirit 2022-12-06 10:50:33 -05:00
ghoulslash b6258adc6d fix ShouldLowerStat clear amulet check 2022-12-06 10:43:01 -05:00
ghoulslash 6d28882e44 start gen9 hold effects 2022-12-06 09:48:36 -05:00
ghoulslash 6140cacbef set BS_SCRIPING before BattleScript_TrainerSlideMsgRet 2022-11-29 18:28:33 -05:00
ghoulslash 510fb56d74 distinguish callnative vs. various macrso 2022-11-28 11:57:34 -05:00
ghoulslash b869b836cc add callnative bs func, convert metal burst dmg calc 2022-11-28 10:34:27 -05:00
ghoulslash 7a0e541413 workaround for GetBattlerHoldEffectParam to handle bug bite different battler id 2022-11-04 10:29:05 -04:00
ghoulslash 1e6903840a Merge branch 'upcoming' of https://github.com/rh-hideout/pokeemerald-expansion into be/bugbite 2022-11-04 09:29:45 -04:00
ghoulslash d13431b4ab merge w rhh master 2022-11-04 09:29:39 -04:00
ghoulslash a585d56053 fix whitespace 2022-10-16 23:39:12 -04:00
ghoulslash 71023512fd update psycho cut anim 2022-10-16 19:20:24 -04:00
ghoulslash 253234378c trace records target ability 2022-09-26 23:46:41 -04:00
ghoulslash c22671d2a2 add overwrittenAbilities field 2022-09-24 12:12:31 -04:00
ghoulslash add3625589 fix natural cure, shed skin, early bird check in ShouldSwitchIfGameStatePrompt 2022-09-18 22:47:30 -04:00
ghoulslash 95a3ead254 styling fix 2022-09-15 22:10:39 -04:00
ghoulslash 20190ac85a fix ai switch semi invulnerable 2022-09-15 18:34:15 -04:00
ghoulslash 9e4b18dfe2 update readme with credits, wiki links 2022-09-06 14:28:52 -04:00
ghoulslash 2b5bb9f6e4 move gSwapDamagecategory to battle struct, use GetSplitBasedOnStats for photon geyser check 2022-07-19 18:24:53 -04:00
ghoulslash f2ee9f3ba0 tweak z indicator position relative to healthbox 2022-07-18 09:44:04 -04:00
ghoulslash 18affe8c1a new z move indicator, credits to blackforest 2022-07-18 09:21:59 -04:00
ghoulslash f6b6ab56be some style fixes 2022-07-17 19:16:13 -04:00
ghoulslash 5d91bdeafc add B_ANIM_RESTORE_BG to BattleScript_EffectTerrainHit 2022-07-17 19:13:45 -04:00
ghoulslash 6b84a9f0b3 merge w be 2022-07-17 12:40:43 -04:00
ghoulslash 9b5aee3b93 fix z stat-boosts 2022-07-17 12:17:54 -04:00
ghoulslash fc81b4cac6 fix GetAiLogicData logic 2022-07-05 13:19:03 -04:00
ghoulslash 3f739a8f3b AI_CalcDamage returns 0 for status moves 2022-07-03 17:23:59 -04:00
ghoulslash 57e110aa6a fix AI_GetEffectiveness declaration 2022-07-03 17:20:39 -04:00
ghoulslash f0edbeb0b0 minor format fix 2022-07-03 16:31:00 -04:00
ghoulslash fac6f21ed0 AI_EFFECTIVENESS_xY are enums 2022-07-03 16:28:34 -04:00
ghoulslash e4bf99d777 merge w be 2022-07-03 16:20:05 -04:00
ghoulslash b33a8b0cb4 move ai score calc to STATE_TURN_START_RECORD so AI can consider move selection for item use 2022-06-05 11:09:04 -04:00
ghoulslash c694e0cb90 merge w be 2022-06-05 08:22:24 -04:00
ghoulslash 7dd6988b2b fix args to GetMonData 2022-05-13 20:32:03 -04:00
ghoulslash b5d98ec93e prevent overwriting wild mon held items 2022-05-13 20:05:52 -04:00
ghoulslash ebb711b6e5 fix bug bite not activating if faints target. also save original move target through the effect 2022-05-13 18:24:52 -04:00
ghoulslash b09dad68d5 minor edits to consumeberry calls 2022-05-13 16:29:37 -04:00
ghoulslash cdd37ad1bb fix stuff cheeks w new consumeberry impl 2022-05-13 16:28:23 -04:00
ghoulslash f6f4227f49 better bug bite impl, fix item removal 2022-05-13 16:21:41 -04:00
ghoulslash d5fe2240b8 fix IsAbilityPreventingEscape message in party menu 2022-05-08 21:07:44 -04:00
ghoulslash 07b0ce9737 add inner focus ability popup msg 2022-05-08 17:57:30 -04:00
ghoulslash 5456a87b83 fix pollen puff heal blocked battler in CanTargetBattler 2022-05-07 11:27:32 -04:00
ghoulslash 07579bd42b prevent ally pollen puff selection under heal block. add some ai checks for heal block 2022-05-07 09:56:32 -04:00
ghoulslash 0036a4dc36 pc acccess 2022-03-18 13:30:08 -04:00
ghoulslash f53de6ae87 fix toxic/flame orb. use CanBeX'ed functions 2022-03-08 15:16:17 -05:00
ghoulslash 7c2bbf1df3 fix struggle bug anim 2022-02-25 08:54:35 -05:00
ghoulslash 92487db470 add config check for B_GLARE_GHOST 2022-02-25 08:20:56 -05:00
ghoulslash e4ef3cc3b4 move glare effectiveness exception to code 2022-02-24 22:06:18 -05:00
ghoulslash 2782e816a4 Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into be/psychoshift 2022-02-09 14:31:46 -05:00
ghoulslash 209279c207 fix psycho shift string printing 2022-02-09 14:30:30 -05:00
ghoulslash fcc85e8c17 fix AI_WhoStrikesFirst 2022-02-09 11:23:30 -05:00
ghoulslash 36a824d8ab fix ability pop up for quick draw 2022-02-03 17:30:32 -05:00
ghoulslash a165f9926d canbestatused for psycho shift 2022-01-23 13:46:30 -05:00
ghoulslash 7182f290c1 fix harvest activation msg 2022-01-16 12:39:08 -05:00
ghoulslash 078874aa1e move some WEATHER_HAS_EFFECT after bitfield checks to speed up damage calcs 2022-01-13 11:32:22 -05:00
ghoulslash 035b2332af cache ai damage, effectiveness calcs 2022-01-13 11:28:27 -05:00
ghoulslash 93a7e139ec merge w be 2021-12-24 09:40:12 -05:00
ghoulslash 770224d341 increase TEXT_BUFF_ARRAY_COUNT for expanded ability names 2021-12-23 18:58:15 -05:00
ghoulslash 0a95a31ee9 fix formatting 2021-12-23 08:44:54 -05:00
ghoulslash b6b5d862f4 update role play mechanics 2021-12-23 08:37:11 -05:00
ghoulslash 02fe96cc08 fix config settings 2021-12-20 13:06:23 -05:00
ghoulslash 31bbc4ddde prevent stat-raising damage effects if battle will end 2021-12-17 10:24:07 -05:00
ghoulslash bb9fb72436 fix evo_level_rain 2021-12-14 13:56:25 -05:00
ghoulslash 1e644c9d4c fix spacing 2021-12-05 14:45:48 -05:00
ghoulslash c0e408bfab fix aqua ring heal anim 2021-12-05 14:44:22 -05:00
ghoulslash fbf74a9988 fix protect struct reset 2021-12-01 15:30:07 -05:00
ghoulslash e731d93c0b update a couple gen 3 ability names 2021-11-29 12:46:14 -05:00
ghoulslash 7a7c6afc39 larger ability popup, fix ability name printing/clearing, and config for longer ability names 2021-11-29 12:42:01 -05:00
ghoulslash d108f77aa4 revert ai item usage code 2021-11-28 13:12:56 -05:00
ghoulslash e2af9ec3b4 ice type immunity to sheer cold 2021-11-26 11:49:49 -05:00
ghoulslash 95ad508868 baton pass status4_xx_sport 2021-11-23 21:25:03 -05:00
ghoulslash 5c52abd856 gen3 sport move functionality behind config 2021-11-23 21:20:32 -05:00
ghoulslash b5bc8bb346 fix B_SPORT_DMG_REDUCTION 2021-11-23 18:37:27 -05:00
ghoulslash e3ddad2d11 add sport effects back 2021-11-23 18:36:10 -05:00
ghoulslash 3fb62f74c6 fix rampage cancelling 2021-11-20 18:35:56 -05:00
ghoulslash 37ab20e29c fix wish 2021-11-20 16:49:04 -05:00
ghoulslash fb468b6776 fix unseen fist check 2021-11-19 16:32:00 -05:00
ghoulslash 2a1299715f merge w be 2021-11-15 10:45:59 -05:00