Skip to content

Commit

Permalink
Merge branch '_RHH/master' into _RHH/upcoming
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/data/moves_info.h
  • Loading branch information
AsparagusEduardo committed Apr 13, 2024
2 parents ac2df37 + 9128612 commit 5bf3797
Show file tree
Hide file tree
Showing 242 changed files with 1,551 additions and 567 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ MAKEFLAGS += --no-print-directory
# Secondary expansion is required for dependency variables in object rules.
.SECONDEXPANSION:

.PHONY: all rom clean compare tidy tools check-tools mostlyclean clean-tools clean-check-tools $(TOOLDIRS) $(CHECKTOOLDIRS) libagbsyscall agbcc modern tidymodern tidynonmodern check
.PHONY: all rom clean compare tidy tools check-tools mostlyclean clean-tools clean-check-tools $(TOOLDIRS) $(CHECKTOOLDIRS) libagbsyscall agbcc modern tidymodern tidynonmodern check history

infoshell = $(foreach line, $(shell $1 | sed "s/ /__SPACE__/g"), $(info $(subst __SPACE__, ,$(line))))

Expand Down Expand Up @@ -255,7 +255,10 @@ endif

AUTO_GEN_TARGETS :=

all: rom
all: history rom

history:
@bash ./check_history.sh

tools: $(TOOLDIRS)

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# pokeemerald-expansion

### Important: DO NOT use GitHub's "Download Zip" option. Using this option will not download the commit history required to update your expansion version or merge other feature branches. Instead, please read [this guide](https://github.com/Pawkkie/Team-Aquas-Asset-Repo/wiki/The-Basics-of-GitHub) to learn how to fork the repository and clone locally from there.

## What is pokeemerald-expansion?

pokeemerald-expansion is a decomp hack base project based off pret's [pokeemerald](https://github.com/pret/pokeemerald) decompilation project. It's recommended that any new projects that plan on using it, to clone this repository instead of pret's vanilla repository, as we regurlarly incorporate pret's documentation changes. This is ***NOT*** a standalone romhack, and as such, most features will be unavailable and/or unbalanced if played as is.
Expand Down
9 changes: 9 additions & 0 deletions asm/macros/battle_script.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1361,6 +1361,11 @@
.4byte \jumpInstr
.endm

.macro itemstatchangeeffects battler:req
callnative BS_RunStatChangeItems
.byte \battler
.endm

.macro allyswitchswapbattlers
callnative BS_AllySwitchSwapBattler
.endm
Expand Down Expand Up @@ -1627,6 +1632,10 @@
.4byte \jumpInstr
.endm

.macro trygulpmissile
callnative BS_TryGulpMissile
.endm

@ various command changed to more readable macros
.macro cancelmultiturnmoves battler:req
various \battler, VARIOUS_CANCEL_MULTI_TURN_MOVES
Expand Down
35 changes: 35 additions & 0 deletions check_history.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/bin/bash

if [ -e .histignore ]
then
exit 0
fi

if [ $GITHUB_ACTION ]
then
exit 0
fi

has_hist=false
has_git=1
if which git >/dev/null
then
has_hist="$(git rev-parse --is-inside-work-tree 2>/dev/null)"
else
has_git=0
fi

if [ $has_git -ne 1 ]
then
echo -e "\033[0;31mfatal: \033[0m\033[1;33mgit was not found. You will be unable to use version control, update pokeemerald-expansion, or use feature branches. To use version control, install \`git\` and clone the repository instead of using \"Download Zip\" on GitHub. Run \`touch .histignore\` to ignore this and continue anyways.\033[0m"
exit 1
fi

if [ "$has_hist" ]
then
exit 0
else
echo -e "\033[0;31mfatal: \033[0m\033[1;33mno git history found. You will be unable to use version control, update pokeemerald-expansion, or use feature branches. To use version control, use \`git\` to clone the repository instead of using \"Download Zip\" on GitHub. Run \`touch .histignore\` to ignore this and continue anyways.\033[0m"
exit 1
fi

62 changes: 36 additions & 26 deletions data/battle_scripts_1.s
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ BattleScript_AffectionBasedStatus_HealFreezeString:
printstring STRINGID_ATTACKERMELTEDTHEICE
goto BattleScript_AffectionBasedStatusHeal_Continue
BattleScript_AffectionBasedStatus_HealFrostbiteString:
printstring STRINGID_ATTACKERHEALEDITSFROSTBITE
printstring STRINGID_ATTACKERMELTEDTHEICE
BattleScript_AffectionBasedStatusHeal_Continue:
waitmessage B_WAIT_TIME_LONG
clearstatus BS_ATTACKER
Expand Down Expand Up @@ -3804,6 +3804,8 @@ BattleScript_FirstChargingTurnAfterAttackString:

BattleScript_TwoTurnMovesSecondPowerHerbActivates:
call BattleScript_PowerHerbActivation
trygulpmissile @ Edge case for Cramorant ability Gulp Missile
BattleScript_FromTwoTurnMovesSecondTurnRet:
call BattleScript_TwoTurnMovesSecondTurnRet
accuracycheck BattleScript_PrintMoveMissed, ACC_CURR_MOVE
@ before Gen 5, charge moves did not print an attack string on the charge turn
Expand Down Expand Up @@ -7006,6 +7008,10 @@ BattleScript_UltraBurst::
switchinabilities BS_ATTACKER
end3

BattleScript_GulpMissileFormChange::
call BattleScript_AttackerFormChange
goto BattleScript_FromTwoTurnMovesSecondTurnRet

BattleScript_AttackerFormChange::
pause 5
copybyte gBattlerAbility, gBattlerAttacker
Expand Down Expand Up @@ -7049,20 +7055,21 @@ BattleScript_CudChewActivates::
pause B_WAIT_TIME_SHORTEST
call BattleScript_AbilityPopUp
setbyte sBERRY_OVERRIDE, 1 @ override the requirements for eating berries
consumeberry BS_TARGET, FALSE
orword gHitMarker, HITMARKER_IGNORE_BIDE | HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE
healthbarupdate BS_ATTACKER
datahpupdate BS_ATTACKER
consumeberry BS_SCRIPTING, FALSE
setbyte sBERRY_OVERRIDE, 0
end3

BattleScript_TargetFormChangeNoPopup:
flushtextbox
handleformchange BS_TARGET, 0
handleformchange BS_TARGET, 1
handleformchange BS_SCRIPTING, 0
handleformchange BS_SCRIPTING, 1
playanimation BS_TARGET, B_ANIM_FORM_CHANGE
waitanimation
handleformchange BS_TARGET, 2
handleformchange BS_SCRIPTING, 2
.if B_DISGUISE_HP_LOSS >= GEN_8
healthbarupdate BS_SCRIPTING
datahpupdate BS_SCRIPTING
.endif
return

BattleScript_TargetFormChange::
Expand Down Expand Up @@ -7111,9 +7118,7 @@ BattleScript_IllusionOff::

BattleScript_CottonDownActivates::
copybyte sSAVED_BATTLER, gBattlerAttacker
showabilitypopup BS_TARGET
pause B_WAIT_TIME_LONG
destroyabilitypopup
call BattleScript_AbilityPopUpTarget
copybyte gEffectBattler, gBattlerTarget
swapattackerwithtarget
setbyte gBattlerTarget, 0
Expand Down Expand Up @@ -7742,11 +7747,12 @@ BattleScript_ActivateWeatherAbilities_Increment:
restoretarget
return

BattleScript_TryAdrenalineOrb:
jumpifnoholdeffect BS_TARGET, HOLD_EFFECT_ADRENALINE_ORB, BattleScript_TryAdrenalineOrbRet
jumpifstat BS_TARGET, CMP_EQUAL, STAT_SPEED, 12, BattleScript_TryAdrenalineOrbRet
BattleScript_TryIntimidateHoldEffects:
itemstatchangeeffects BS_TARGET
jumpifnoholdeffect BS_TARGET, HOLD_EFFECT_ADRENALINE_ORB, BattleScript_TryIntimidateHoldEffectsRet
jumpifstat BS_TARGET, CMP_EQUAL, STAT_SPEED, 12, BattleScript_TryIntimidateHoldEffectsRet
setstatchanger STAT_SPEED, 1, FALSE
statbuffchange STAT_CHANGE_NOT_PROTECT_AFFECTED | MOVE_EFFECT_CERTAIN | STAT_CHANGE_ALLOW_PTR, BattleScript_TryAdrenalineOrbRet
statbuffchange STAT_CHANGE_NOT_PROTECT_AFFECTED | MOVE_EFFECT_CERTAIN | STAT_CHANGE_ALLOW_PTR, BattleScript_TryIntimidateHoldEffectsRet
playanimation BS_TARGET, B_ANIM_HELD_ITEM_EFFECT
setgraphicalstatchangevalues
playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
Expand All @@ -7755,14 +7761,16 @@ BattleScript_TryAdrenalineOrb:
printstring STRINGID_USINGITEMSTATOFPKMNROSE
waitmessage B_WAIT_TIME_LONG
removeitem BS_TARGET
BattleScript_TryAdrenalineOrbRet:
BattleScript_TryIntimidateHoldEffectsRet:
return

BattleScript_IntimidateActivates::
showabilitypopup BS_ATTACKER
copybyte sSAVED_BATTLER, gBattlerTarget
.if B_ABILITY_POP_UP == TRUE
showabilitypopup BS_ATTACKER
pause B_WAIT_TIME_LONG
destroyabilitypopup
.endif
setbyte gBattlerTarget, 0
BattleScript_IntimidateLoop:
jumpifbyteequal gBattlerTarget, gBattlerAttacker, BattleScript_IntimidateLoopIncrement
Expand All @@ -7781,7 +7789,7 @@ BattleScript_IntimidateEffect:
BattleScript_IntimidateEffect_WaitString:
waitmessage B_WAIT_TIME_LONG
copybyte sBATTLER, gBattlerTarget
call BattleScript_TryAdrenalineOrb
call BattleScript_TryIntimidateHoldEffects
BattleScript_IntimidateLoopIncrement:
addbyte gBattlerTarget, 1
jumpifbytenotequal gBattlerTarget, gBattlersCount, BattleScript_IntimidateLoop
Expand All @@ -7807,14 +7815,16 @@ BattleScript_IntimidateInReverse:
call BattleScript_AbilityPopUpTarget
pause B_WAIT_TIME_SHORT
modifybattlerstatstage BS_TARGET, STAT_ATK, INCREASE, 1, BattleScript_IntimidateLoopIncrement, ANIM_ON
call BattleScript_TryAdrenalineOrb
call BattleScript_TryIntimidateHoldEffects
goto BattleScript_IntimidateLoopIncrement

BattleScript_SupersweetSyrupActivates::
showabilitypopup BS_ATTACKER
copybyte sSAVED_BATTLER, gBattlerTarget
.if B_ABILITY_POP_UP == TRUE
showabilitypopup BS_ATTACKER
pause B_WAIT_TIME_LONG
destroyabilitypopup
.endif
printstring STRINGID_SUPERSWEETAROMAWAFTS
waitmessage B_WAIT_TIME_LONG
setbyte gBattlerTarget, 0
Expand All @@ -7834,7 +7844,7 @@ BattleScript_SupersweetSyrupEffect:
BattleScript_SupersweetSyrupEffect_WaitString:
waitmessage B_WAIT_TIME_LONG
copybyte sBATTLER, gBattlerTarget
call BattleScript_TryAdrenalineOrb
call BattleScript_TryIntimidateHoldEffects
BattleScript_SupersweetSyrupLoopIncrement:
addbyte gBattlerTarget, 1
jumpifbytenotequal gBattlerTarget, gBattlersCount, BattleScript_SupersweetSyrupLoop
Expand Down Expand Up @@ -8707,11 +8717,11 @@ BattleScript_BerryCureFrzRet::
removeitem BS_SCRIPTING
return

BattleScript_BerryCureFsbEnd2::
BattleScript_BerryCureFrbEnd2::
call BattleScript_BerryCureFrzRet
end2

BattleScript_BerryCureFsbRet::
BattleScript_BerryCureFrbRet::
playanimation BS_SCRIPTING, B_ANIM_HELD_ITEM_EFFECT
printstring STRINGID_PKMNSITEMHEALEDFROSTBITE
waitmessage B_WAIT_TIME_LONG
Expand Down Expand Up @@ -9512,7 +9522,7 @@ BattleScript_WellBakedBodyActivates::
attackstring
ppreduce
pause B_WAIT_TIME_SHORT
showabilitypopup BS_TARGET
call BattleScript_AbilityPopUpTarget
orhalfword gMoveResultFlags, MOVE_RESULT_NO_EFFECT
modifybattlerstatstage BS_TARGET, STAT_DEF, INCREASE, 1, BattleScript_WellBakedBodyEnd, ANIM_ON
BattleScript_WellBakedBodyEnd:
Expand All @@ -9522,7 +9532,7 @@ BattleScript_WindRiderActivatesMoveEnd::
attackstring
ppreduce
pause B_WAIT_TIME_SHORT
showabilitypopup BS_TARGET
call BattleScript_AbilityPopUpTarget
orhalfword gMoveResultFlags, MOVE_RESULT_NO_EFFECT
modifybattlerstatstage BS_TARGET, STAT_ATK, INCREASE, 1, BattleScript_WindRiderActivatesMoveEnd_End, ANIM_ON
BattleScript_WindRiderActivatesMoveEnd_End:
Expand All @@ -9531,7 +9541,7 @@ BattleScript_WindRiderActivatesMoveEnd_End:
BattleScript_GoodAsGoldActivates::
attackstring
ppreduce
showabilitypopup BS_TARGET
call BattleScript_AbilityPopUpTarget
pause B_WAIT_TIME_SHORT
printstring STRINGID_ITDOESNTAFFECT
waitmessage B_WAIT_TIME_MED
Expand Down
4 changes: 2 additions & 2 deletions data/script_cmd_table.inc
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ gScriptCmdTable::
.4byte ScrCmd_nop1 @ 0xca
.4byte ScrCmd_nop1 @ 0xcb
.4byte ScrCmd_nop1 @ 0xcc
.4byte ScrCmd_setmonmodernfatefulencounter @ 0xcd
.4byte ScrCmd_checkmonmodernfatefulencounter @ 0xce
.4byte ScrCmd_setmodernfatefulencounter @ 0xcd
.4byte ScrCmd_checkmodernfatefulencounter @ 0xce
.4byte ScrCmd_trywondercardscript @ 0xcf
.4byte ScrCmd_nop1 @ 0xd0
.4byte ScrCmd_warpspinenter @ 0xd1
Expand Down
Binary file modified graphics/battle_interface/status.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/battle_interface/status2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/battle_interface/status3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/battle_interface/status4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/interface/status_icons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/annihilape/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/arboliva/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/arcanine/hisuian/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/pokemon/archaludon/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/arctibax/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/armarouge/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/basculegion/female/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/basculegion/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/basculin/white_striped/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/baxcalibur/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/bellibolt/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/bombirdier/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/brambleghast/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/bramblin/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/braviary/hisuian/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/brute_bonnet/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/capsakid/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/ceruledge/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/cetitan/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/cetoddle/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/pokemon/charcadet/icon.png
Binary file modified graphics/pokemon/chi_yu/icon.png
Binary file modified graphics/pokemon/chien_pao/icon.png
Binary file modified graphics/pokemon/clodsire/icon.png
Binary file modified graphics/pokemon/crocalor/icon.png
Binary file modified graphics/pokemon/cyclizar/icon.png
Binary file modified graphics/pokemon/dachsbun/icon.png
Binary file modified graphics/pokemon/decidueye/hisuian/icon.png
Binary file modified graphics/pokemon/dipplin/icon.png
Binary file modified graphics/pokemon/dolliv/icon.png
Binary file modified graphics/pokemon/dondozo/icon.png
Binary file modified graphics/pokemon/dudunsparce/icon.png
Binary file added graphics/pokemon/eevee/partner/icon.png
Binary file added graphics/pokemon/eevee/partner/iconf.png
Binary file modified graphics/pokemon/electrode/hisuian/icon.png
Binary file modified graphics/pokemon/enamorus/icon.png
Binary file modified graphics/pokemon/enamorus/therian/icon.png
Binary file modified graphics/pokemon/espathra/icon.png
Binary file modified graphics/pokemon/farigiraf/icon.png
Binary file modified graphics/pokemon/fezandipiti/icon.png
Binary file modified graphics/pokemon/fidough/icon.png
Binary file modified graphics/pokemon/finizen/icon.png
Binary file modified graphics/pokemon/flamigo/icon.png
Binary file modified graphics/pokemon/flittle/icon.png
Binary file modified graphics/pokemon/floragato/icon.png
Binary file modified graphics/pokemon/flutter_mane/icon.png
Binary file modified graphics/pokemon/frigibax/icon.png
Binary file modified graphics/pokemon/fuecoco/icon.png
Binary file modified graphics/pokemon/garganacl/icon.png
Binary file modified graphics/pokemon/gholdengo/icon.png
Binary file modified graphics/pokemon/gimmighoul/icon.png
Binary file modified graphics/pokemon/gimmighoul/roaming/icon.png
Binary file modified graphics/pokemon/glimmet/icon.png
Binary file modified graphics/pokemon/glimmora/icon.png
Binary file modified graphics/pokemon/goodra/hisuian/icon.png
Binary file added graphics/pokemon/gouging_fire/icon.png
Binary file modified graphics/pokemon/grafaiai/icon.png
Binary file modified graphics/pokemon/great_tusk/icon.png
Binary file modified graphics/pokemon/greavard/icon.png
Binary file modified graphics/pokemon/growlithe/hisuian/icon.png
Binary file modified graphics/pokemon/houndstone/icon.png
Binary file modified graphics/pokemon/hydrapple/icon.png
Binary file added graphics/pokemon/iron_boulder/icon.png
Binary file modified graphics/pokemon/iron_bundle/icon.png
Binary file added graphics/pokemon/iron_crown/icon.png
Binary file modified graphics/pokemon/iron_hands/icon.png
Binary file modified graphics/pokemon/iron_jugulis/icon.png
Binary file modified graphics/pokemon/iron_leaves/icon.png
Binary file modified graphics/pokemon/iron_moth/icon.png
Binary file modified graphics/pokemon/iron_thorns/icon.png
Binary file modified graphics/pokemon/iron_treads/icon.png
Binary file modified graphics/pokemon/iron_valiant/icon.png
Binary file modified graphics/pokemon/kilowattrel/icon.png
Binary file modified graphics/pokemon/kingambit/icon.png
Binary file modified graphics/pokemon/klawf/icon.png
Binary file modified graphics/pokemon/kleavor/icon.png
Binary file modified graphics/pokemon/koraidon/icon.png
Binary file modified graphics/pokemon/lechonk/icon.png
Binary file modified graphics/pokemon/lilligant/hisuian/icon.png
Binary file modified graphics/pokemon/lokix/icon.png
Binary file modified graphics/pokemon/mabosstiff/icon.png
Binary file modified graphics/pokemon/maschiff/icon.png
Binary file modified graphics/pokemon/maushold/four/icon.png
Binary file modified graphics/pokemon/maushold/icon.png
Binary file modified graphics/pokemon/meowscarada/icon.png
Binary file modified graphics/pokemon/miraidon/icon.png
Binary file modified graphics/pokemon/munkidori/icon.png
Binary file modified graphics/pokemon/nacli/icon.png
Binary file modified graphics/pokemon/naclstack/icon.png
Binary file modified graphics/pokemon/nymble/icon.png
Binary file added graphics/pokemon/ogerpon/cornerstone/icon.png
Binary file added graphics/pokemon/ogerpon/hearthflame/icon.png
Binary file modified graphics/pokemon/ogerpon/icon.png
Binary file added graphics/pokemon/ogerpon/wellspring/icon.png
Binary file modified graphics/pokemon/oinkologne/female/icon.png
Binary file removed graphics/pokemon/oinkologne/female/iconTODO.png
Diff not rendered.
Binary file modified graphics/pokemon/oinkologne/icon.png
Binary file modified graphics/pokemon/okidogi/icon.png
Binary file modified graphics/pokemon/orthworm/icon.png
Binary file modified graphics/pokemon/overqwil/icon.png
Binary file modified graphics/pokemon/palafin/hero/icon.png
Binary file modified graphics/pokemon/palafin/icon.png
Binary file modified graphics/pokemon/pawmi/icon.png
Binary file modified graphics/pokemon/pawmo/icon.png
Binary file modified graphics/pokemon/pawmot/icon.png
Binary file added graphics/pokemon/pecharunt/back.png
Binary file added graphics/pokemon/pecharunt/front.png
Binary file added graphics/pokemon/pecharunt/icon.png
19 changes: 19 additions & 0 deletions graphics/pokemon/pecharunt/normal.pal
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
JASC-PAL
0100
16
154 212 167
8 8 8
68 68 77
80 11 62
186 33 155
36 36 42
255 39 255
35 20 68
92 52 154
220 147 205
55 30 102
139 93 215
255 255 255
189 189 189
129 26 101
148 50 154
19 changes: 19 additions & 0 deletions graphics/pokemon/pecharunt/shiny.pal
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
JASC-PAL
0100
16
154 212 167
8 8 8
68 68 77
80 11 62
186 33 155
36 36 42
255 39 255
144 80 30
234 176 47
220 147 205
193 133 36
244 208 96
255 255 255
189 189 189
129 26 101
148 50 154
Binary file added graphics/pokemon/pikachu/partner/icon.png
Binary file added graphics/pokemon/pikachu/partner/iconf.png
Binary file modified graphics/pokemon/poltchageist/icon.png
Binary file modified graphics/pokemon/quaquaval/icon.png
Binary file modified graphics/pokemon/quaxly/icon.png
Binary file modified graphics/pokemon/quaxwell/icon.png
Binary file modified graphics/pokemon/qwilfish/hisuian/icon.png
Binary file modified graphics/pokemon/rabsca/icon.png
Binary file added graphics/pokemon/raging_bolt/icon.png
Binary file modified graphics/pokemon/rellor/icon.png
Binary file modified graphics/pokemon/revavroom/icon.png
Binary file modified graphics/pokemon/roaring_moon/icon.png
Binary file modified graphics/pokemon/samurott/hisuian/icon.png
Binary file modified graphics/pokemon/sandy_shocks/icon.png
Binary file modified graphics/pokemon/scovillain/icon.png
Binary file modified graphics/pokemon/scream_tail/icon.png
Binary file modified graphics/pokemon/shroodle/icon.png
Binary file modified graphics/pokemon/sinistcha/icon.png
Binary file modified graphics/pokemon/skeledirge/icon.png
Binary file modified graphics/pokemon/sliggoo/hisuian/icon.png
Binary file modified graphics/pokemon/slither_wing/icon.png
Binary file modified graphics/pokemon/smoliv/icon.png
Binary file modified graphics/pokemon/sneasel/hisuian/icon.png
Binary file modified graphics/pokemon/sneasler/icon.png
Binary file modified graphics/pokemon/spidops/icon.png
Binary file modified graphics/pokemon/sprigatito/icon.png
Binary file modified graphics/pokemon/squawkabilly/blue_plumage/icon.png
Binary file modified graphics/pokemon/squawkabilly/icon.png
Binary file modified graphics/pokemon/squawkabilly/white_plumage/icon.png
Binary file modified graphics/pokemon/squawkabilly/yellow_plumage/icon.png
Binary file modified graphics/pokemon/tadbulb/icon.png
Binary file modified graphics/pokemon/tandemaus/icon.png
Binary file modified graphics/pokemon/tarountula/icon.png
Binary file modified graphics/pokemon/tatsugiri/droopy/icon.png
Binary file modified graphics/pokemon/tatsugiri/icon.png
Binary file modified graphics/pokemon/tatsugiri/stretchy/icon.png
Binary file modified graphics/pokemon/tauros/paldean_aqua_breed/icon.png
Binary file modified graphics/pokemon/tauros/paldean_blaze_breed/icon.png
Binary file modified graphics/pokemon/tauros/paldean_combat_breed/icon.png
Binary file added graphics/pokemon/terapagos/icon.png
Binary file added graphics/pokemon/terapagos/stellar/icon.png
Binary file added graphics/pokemon/terapagos/terastal/icon.png
Binary file modified graphics/pokemon/ting_lu/icon.png
Binary file modified graphics/pokemon/tinkatink/icon.png
Binary file modified graphics/pokemon/tinkaton/icon.png
Binary file modified graphics/pokemon/tinkatuff/icon.png
Binary file modified graphics/pokemon/toedscool/icon.png
Binary file modified graphics/pokemon/toedscruel/icon.png
Binary file modified graphics/pokemon/typhlosion/hisuian/icon.png
Binary file added graphics/pokemon/ursaluna/bloodmoon/icon.png
Binary file modified graphics/pokemon/ursaluna/icon.png
Binary file modified graphics/pokemon/varoom/icon.png
Binary file modified graphics/pokemon/veluza/icon.png
Binary file modified graphics/pokemon/voltorb/hisuian/icon.png
Binary file modified graphics/pokemon/walking_wake/icon.png
Binary file modified graphics/pokemon/wattrel/icon.png
Binary file modified graphics/pokemon/wiglett/icon.png
Binary file modified graphics/pokemon/wo_chien/icon.png
Binary file modified graphics/pokemon/wugtrio/icon.png
Binary file modified graphics/pokemon/wyrdeer/icon.png
Binary file modified graphics/pokemon/zoroark/hisuian/icon.png
Binary file modified graphics/pokemon/zorua/hisuian/icon.png
3 changes: 2 additions & 1 deletion include/battle.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ struct FieldTimer
struct WishFutureKnock
{
u8 futureSightCounter[MAX_BATTLERS_COUNT];
u8 futureSightAttacker[MAX_BATTLERS_COUNT];
u8 futureSightBattlerIndex[MAX_BATTLERS_COUNT];
u8 futureSightPartyIndex[MAX_BATTLERS_COUNT];
u16 futureSightMove[MAX_BATTLERS_COUNT];
u8 wishCounter[MAX_BATTLERS_COUNT];
u8 wishPartyId[MAX_BATTLERS_COUNT];
Expand Down
2 changes: 1 addition & 1 deletion include/battle_script_commands.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void BufferMoveToLearnIntoBattleTextBuff2(void);
void HandleBattleWindow(u8 xStart, u8 yStart, u8 xEnd, u8 yEnd, u8 flags);
bool8 UproarWakeUpCheck(u8 battlerId);
bool32 DoesSubstituteBlockMove(u32 battlerAtk, u32 battlerDef, u32 move);
bool32 DoesDisguiseBlockMove(u32 battlerAtk, u32 battlerDef, u32 move);
bool32 DoesDisguiseBlockMove(u32 battler, u32 move);
bool32 CanPoisonType(u8 battlerAttacker, u8 battlerTarget);
bool32 CanParalyzeType(u8 battlerAttacker, u8 battlerTarget);
bool32 CanUseLastResort(u8 battlerId);
Expand Down
5 changes: 3 additions & 2 deletions include/battle_scripts.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ extern const u8 BattleScript_BerryCureBrnEnd2[];
extern const u8 BattleScript_BerryCureBrnRet[];
extern const u8 BattleScript_BerryCureFrzEnd2[];
extern const u8 BattleScript_BerryCureFrzRet[];
extern const u8 BattleScript_BerryCureFsbEnd2[];
extern const u8 BattleScript_BerryCureFsbRet[];
extern const u8 BattleScript_BerryCureFrbEnd2[];
extern const u8 BattleScript_BerryCureFrbRet[];
extern const u8 BattleScript_BerryCureSlpEnd2[];
extern const u8 BattleScript_BerryCureSlpRet[];
extern const u8 BattleScript_BerryCureConfusionEnd2[];
Expand Down Expand Up @@ -411,6 +411,7 @@ extern const u8 BattleScript_ElectricTerrainPrevents[];
extern const u8 BattleScript_DarkTypePreventsPrankster[];
extern const u8 BattleScript_GulpMissileGorging[];
extern const u8 BattleScript_GulpMissileGulping[];
extern const u8 BattleScript_GulpMissileFormChange[];
extern const u8 BattleScript_BattleBondActivatesOnMoveEndAttacker[];
extern const u8 BattleScript_DesolateLandActivates[];
extern const u8 BattleScript_PrimordialSeaActivates[];
Expand Down
1 change: 1 addition & 0 deletions include/battle_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
#define ITEMEFFECT_ORBS 6
#define ITEMEFFECT_LIFEORB_SHELLBELL 7
#define ITEMEFFECT_USE_LAST_ITEM 8 // move end effects for just the battler, not whole field
#define ITEMEFFECT_STATS_CHANGED 9 // For White Herb and Eject Pack

#define WEATHER_HAS_EFFECT ((!IsAbilityOnField(ABILITY_CLOUD_NINE) && !IsAbilityOnField(ABILITY_AIR_LOCK)))

Expand Down
1 change: 1 addition & 0 deletions include/battle_z_move.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ void CreateZMoveTriggerSprite(u8, bool8);
void HideZMoveTriggerSprite(void);
bool32 IsZMoveTriggerSpriteActive(void);
void DestroyZMoveTriggerSprite(void);
u16 GetTypeBasedZMove(u16 move, u8 battler);
bool32 MoveSelectionDisplayZMove(u16 zmove, u32 battler);
void SetZEffect(void);
bool32 IsZMoveUsable(u8 battler, u16 moveIndex);
Expand Down
1 change: 1 addition & 0 deletions include/config/battle.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
#define B_PROTEAN_LIBERO GEN_LATEST // In Gen9+, Protean and Libero change the user's type only once per Battle.
#define B_INTREPID_SWORD GEN_LATEST // In Gen9+, Intrepid Sword raises Attack by one stage only once per Battle.
#define B_DAUNTLESS_SHIELD GEN_LATEST // In Gen9+, Dauntless Shield raises Defense by one stage only once per Battle.
#define B_DISGUISE_HP_LOSS GEN_LATEST // In Gen8+, when a Disguised Mimikyu's Disguise is busted, upon changing to its Busted Form it loses HP equal to 1/8 of its maximum HP.

// Item settings
#define B_HP_BERRIES GEN_LATEST // In Gen4+, berries which restore HP activate immediately after HP drops to half. In Gen3, the effect occurs at the end of the turn.
Expand Down
6 changes: 3 additions & 3 deletions include/constants/battle_script_commands.h
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,9 @@
#define MOVEEND_DEFROST 23
#define MOVEEND_RECOIL 24
#define MOVEEND_MAGICIAN 25 // Occurs after final multi-hit strike, and after other items/abilities would activate
#define MOVEEND_EJECT_BUTTON 26
#define MOVEEND_RED_CARD 27
#define MOVEEND_EJECT_PACK 28
#define MOVEEND_EJECT_ITEMS 26
#define MOVEEND_WHITE_HERB 27
#define MOVEEND_RED_CARD 28
#define MOVEEND_LIFEORB_SHELLBELL 29 // Includes shell bell, throat spray, etc
#define MOVEEND_CHANGED_ITEMS 30
#define MOVEEND_PICKPOCKET 31
Expand Down
Loading

0 comments on commit 5bf3797

Please sign in to comment.