Merge remote-tracking branch 'RHH_origin/upcoming' into RHH/pr/feature/Lures
# Conflicts: # src/pokemon.c
3
.gitignore
vendored
@ -30,7 +30,8 @@ build/
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
*.ddump
|
*.ddump
|
||||||
.idea/
|
.idea/
|
||||||
porymap.project.cfg
|
porymap.*.cfg
|
||||||
|
prefabs.json
|
||||||
.vscode/
|
.vscode/
|
||||||
*.a
|
*.a
|
||||||
.fuse_hidden*
|
.fuse_hidden*
|
||||||
|
@ -1980,6 +1980,14 @@
|
|||||||
various BS_ATTACKER, VARIOUS_SWAP_SIDE_STATUSES
|
various BS_ATTACKER, VARIOUS_SWAP_SIDE_STATUSES
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
|
.macro canteleport battler:req
|
||||||
|
various \battler, VARIOUS_CAN_TELEPORT
|
||||||
|
.endm
|
||||||
|
|
||||||
|
.macro getbattlerside battler:req
|
||||||
|
various \battler, VARIOUS_GET_BATTLER_SIDE
|
||||||
|
.endm
|
||||||
|
|
||||||
@ helpful macros
|
@ helpful macros
|
||||||
.macro setstatchanger stat:req, stages:req, down:req
|
.macro setstatchanger stat:req, stages:req, down:req
|
||||||
setbyte sSTATCHANGER, \stat | \stages << 3 | \down << 7
|
setbyte sSTATCHANGER, \stat | \stages << 3 | \down << 7
|
||||||
@ -2132,3 +2140,8 @@
|
|||||||
.macro skydropyawn
|
.macro skydropyawn
|
||||||
various 0, VARIOUS_SKY_DROP_YAWN
|
various 0, VARIOUS_SKY_DROP_YAWN
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
|
@ Used by effects that may proc Symbiosis but do not call removeitem.
|
||||||
|
.macro trysymbiosis
|
||||||
|
various BS_ATTACKER, VARIOUS_TRY_SYMBIOSIS
|
||||||
|
.endm
|
||||||
|
@ -79,6 +79,7 @@ SUPER_RE = A0
|
|||||||
'?' = AC
|
'?' = AC
|
||||||
'.' = AD
|
'.' = AD
|
||||||
'-' = AE
|
'-' = AE
|
||||||
|
'_' = AE @ For autogenerating strings based on label names. Not using {UNDERSCORE} on purpose due to how bad it looks.
|
||||||
'·' = AF
|
'·' = AF
|
||||||
'…' = B0
|
'…' = B0
|
||||||
'“' = B1
|
'“' = B1
|
||||||
|
@ -2989,7 +2989,10 @@ Move_MUD_BOMB:
|
|||||||
Move_PSYCHO_CUT:
|
Move_PSYCHO_CUT:
|
||||||
loadspritegfx ANIM_TAG_SPIRAL
|
loadspritegfx ANIM_TAG_SPIRAL
|
||||||
loadspritegfx ANIM_TAG_PSYCHO_CUT
|
loadspritegfx ANIM_TAG_PSYCHO_CUT
|
||||||
|
loadspritegfx ANIM_TAG_CROSS_IMPACT
|
||||||
monbg ANIM_ATK_PARTNER
|
monbg ANIM_ATK_PARTNER
|
||||||
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_CROSS_IMPACT, 0, 9, 9, RGB_PURPLE
|
||||||
|
createvisualtask AnimTask_SwayMon, 5, 0, 6, 2048, 2, ANIM_ATTACKER
|
||||||
createsprite gPsychoCutSpiralSpriteTemplate, 2, 4, 0, 0, 0, 0
|
createsprite gPsychoCutSpiralSpriteTemplate, 2, 4, 0, 0, 0, 0
|
||||||
createvisualtask AnimTask_BlendBattleAnimPal, 1, 1, 2, 0, 4, RGB_BLACK
|
createvisualtask AnimTask_BlendBattleAnimPal, 1, 1, 2, 0, 4, RGB_BLACK
|
||||||
createvisualtask AnimTask_BlendBattleAnimPal, 1, 2, 2, 0, 10, RGB(20, 12, 23)
|
createvisualtask AnimTask_BlendBattleAnimPal, 1, 2, 2, 0, 10, RGB(20, 12, 23)
|
||||||
@ -3000,8 +3003,10 @@ Move_PSYCHO_CUT:
|
|||||||
splitbgprio ANIM_TARGET
|
splitbgprio ANIM_TARGET
|
||||||
setalpha 12, 8
|
setalpha 12, 8
|
||||||
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER,
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER,
|
||||||
createsprite gPsychoCutSpriteTemplate, 130, 5, 20, 0, -8, 0, 20
|
createsprite gPsychoCutSpriteTemplate, ANIM_TARGET, 2, 20, 0, -8, 0, 20
|
||||||
waitforvisualfinish
|
waitforvisualfinish
|
||||||
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 7, 0, 9, 1
|
||||||
|
createsprite gCrossImpactSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 20
|
||||||
createvisualtask AnimTask_BlendBattleAnimPal, 1, 1, 2, 4, 0, RGB_BLACK
|
createvisualtask AnimTask_BlendBattleAnimPal, 1, 1, 2, 4, 0, RGB_BLACK
|
||||||
createvisualtask AnimTask_BlendBattleAnimPal, 1, 2, 2, 10, 0, RGB(20, 12, 23)
|
createvisualtask AnimTask_BlendBattleAnimPal, 1, 2, 2, 10, 0, RGB(20, 12, 23)
|
||||||
clearmonbg ANIM_TARGET
|
clearmonbg ANIM_TARGET
|
||||||
@ -24839,15 +24844,15 @@ General_PrimalReversion::
|
|||||||
jumpargeq 0x1, ITEM_BLUE_ORB, General_PrimalReversion_Alpha
|
jumpargeq 0x1, ITEM_BLUE_ORB, General_PrimalReversion_Alpha
|
||||||
General_PrimalReversion_Alpha:
|
General_PrimalReversion_Alpha:
|
||||||
loadspritegfx ANIM_TAG_ALPHA_STONE
|
loadspritegfx ANIM_TAG_ALPHA_STONE
|
||||||
loadspritegfx ANIM_TAG_PRIMAL_PARTICLES
|
loadspritegfx ANIM_TAG_MEGA_PARTICLES
|
||||||
loadspritegfx ANIM_TAG_ALPHA_SYMBOL
|
loadspritegfx ANIM_TAG_ALPHA_SYMBOL
|
||||||
monbg ANIM_ATTACKER
|
monbg ANIM_ATTACKER
|
||||||
setalpha 12, 8
|
setalpha 12, 8
|
||||||
loopsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER, 13, 3
|
loopsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER, 13, 3
|
||||||
createvisualtask AnimTask_BlendColorCycle, 2, 2, 0, 6, 0, 11, RGB(31, 31, 11)
|
createvisualtask AnimTask_BlendColorCycle, 2, 2, 0, 6, 0, 11, RGB(31, 31, 11)
|
||||||
call PrimalReversionParticles
|
call MegaEvolutionParticles
|
||||||
call PrimalReversionParticles
|
call MegaEvolutionParticles
|
||||||
call PrimalReversionParticles
|
call MegaEvolutionParticles
|
||||||
waitforvisualfinish
|
waitforvisualfinish
|
||||||
playsewithpan SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER
|
playsewithpan SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER
|
||||||
createsprite gAlphaStoneSpriteTemplate, ANIM_ATTACKER, 41, 0, 0, 0, 0
|
createsprite gAlphaStoneSpriteTemplate, ANIM_ATTACKER, 41, 0, 0, 0, 0
|
||||||
@ -24865,15 +24870,15 @@ General_PrimalReversion_Alpha:
|
|||||||
end
|
end
|
||||||
General_PrimalReversion_Omega:
|
General_PrimalReversion_Omega:
|
||||||
loadspritegfx ANIM_TAG_OMEGA_STONE
|
loadspritegfx ANIM_TAG_OMEGA_STONE
|
||||||
loadspritegfx ANIM_TAG_PRIMAL_PARTICLES
|
loadspritegfx ANIM_TAG_MEGA_PARTICLES
|
||||||
loadspritegfx ANIM_TAG_OMEGA_SYMBOL
|
loadspritegfx ANIM_TAG_OMEGA_SYMBOL
|
||||||
monbg ANIM_ATTACKER
|
monbg ANIM_ATTACKER
|
||||||
setalpha 12, 8
|
setalpha 12, 8
|
||||||
loopsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER, 13, 3
|
loopsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER, 13, 3
|
||||||
createvisualtask AnimTask_BlendColorCycle, 2, 2, 0, 6, 0, 11, RGB(31, 31, 11)
|
createvisualtask AnimTask_BlendColorCycle, 2, 2, 0, 6, 0, 11, RGB(31, 31, 11)
|
||||||
call PrimalReversionParticles
|
call MegaEvolutionParticles
|
||||||
call PrimalReversionParticles
|
call MegaEvolutionParticles
|
||||||
call PrimalReversionParticles
|
call MegaEvolutionParticles
|
||||||
waitforvisualfinish
|
waitforvisualfinish
|
||||||
playsewithpan SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER
|
playsewithpan SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER
|
||||||
createsprite gOmegaStoneSpriteTemplate, ANIM_ATTACKER, 41, 0, 0, 0, 0
|
createsprite gOmegaStoneSpriteTemplate, ANIM_ATTACKER, 41, 0, 0, 0, 0
|
||||||
@ -24889,22 +24894,6 @@ General_PrimalReversion_Omega:
|
|||||||
clearmonbg ANIM_ATK_PARTNER
|
clearmonbg ANIM_ATK_PARTNER
|
||||||
blendoff
|
blendoff
|
||||||
end
|
end
|
||||||
PrimalReversionParticles:
|
|
||||||
createsprite gPrimalParticlesSpriteTemplate, ANIM_ATTACKER, 2, 40, -10, 13
|
|
||||||
delay 3
|
|
||||||
createsprite gPrimalParticlesSpriteTemplate, ANIM_ATTACKER, 2, -35, -10, 13
|
|
||||||
delay 3
|
|
||||||
createsprite gPrimalParticlesSpriteTemplate, ANIM_ATTACKER, 2, 15, -40, 13
|
|
||||||
delay 3
|
|
||||||
createsprite gPrimalParticlesSpriteTemplate, ANIM_ATTACKER, 2, -10, -32, 13
|
|
||||||
delay 3
|
|
||||||
createsprite gPrimalParticlesSpriteTemplate, ANIM_ATTACKER, 2, 25, -20, 13
|
|
||||||
delay 3
|
|
||||||
createsprite gPrimalParticlesSpriteTemplate, ANIM_ATTACKER, 2, -40, -20, 13
|
|
||||||
delay 3
|
|
||||||
createsprite gPrimalParticlesSpriteTemplate, ANIM_ATTACKER, 2, 5, -40, 13
|
|
||||||
delay 3
|
|
||||||
return
|
|
||||||
|
|
||||||
General_AffectionHangedOn::
|
General_AffectionHangedOn::
|
||||||
loadspritegfx ANIM_TAG_RED_HEART
|
loadspritegfx ANIM_TAG_RED_HEART
|
||||||
@ -30467,11 +30456,11 @@ LightThatBurnsTheSkyGreenSparks:
|
|||||||
launchtemplate gLightThatBurnsTheSkyGreenSparkSpriteTemplate 0x83 0x8 0x0 0x0 0x30 0x2c 0x0 0x28 0x0 0x3
|
launchtemplate gLightThatBurnsTheSkyGreenSparkSpriteTemplate 0x83 0x8 0x0 0x0 0x30 0x2c 0x0 0x28 0x0 0x3
|
||||||
launchtemplate gLightThatBurnsTheSkyGreenSparkSpriteTemplate 0x83 0x8 0x0 0x0 0x30 0x2c 0x40 0x28 0x1 0x3
|
launchtemplate gLightThatBurnsTheSkyGreenSparkSpriteTemplate 0x83 0x8 0x0 0x0 0x30 0x2c 0x40 0x28 0x1 0x3
|
||||||
launchtemplate gLightThatBurnsTheSkyGreenSparkSpriteTemplate 0x83 0x8 0x0 0x0 0x30 0x2c 0x80 0x28 0x0 0x3
|
launchtemplate gLightThatBurnsTheSkyGreenSparkSpriteTemplate 0x83 0x8 0x0 0x0 0x30 0x2c 0x80 0x28 0x0 0x3
|
||||||
launchtemplate gLightThatBurnsTheSkyGreenSparkSpriteTemplate 0x83 0x8 0x0 0x0 0x30 0x2c SOUND_PAN_ATTACKER 0x28 0x2 0x3
|
launchtemplate gLightThatBurnsTheSkyGreenSparkSpriteTemplate 0x83 0x8 0x0 0x0 0x30 0x2c 0x0 0x28 0x2 0x3
|
||||||
launchtemplate gLightThatBurnsTheSkyGreenSparkSpriteTemplate 0x83 0x8 0x0 0x0 0x15 0x2c 0x0 0x28 0x0 0x3
|
launchtemplate gLightThatBurnsTheSkyGreenSparkSpriteTemplate 0x83 0x8 0x0 0x0 0x15 0x2c 0x0 0x28 0x0 0x3
|
||||||
launchtemplate gLightThatBurnsTheSkyGreenSparkSpriteTemplate 0x83 0x8 0x0 0x0 0x15 0x2c 0x40 0x28 0x1 0x3
|
launchtemplate gLightThatBurnsTheSkyGreenSparkSpriteTemplate 0x83 0x8 0x0 0x0 0x15 0x2c 0x40 0x28 0x1 0x3
|
||||||
launchtemplate gLightThatBurnsTheSkyGreenSparkSpriteTemplate 0x83 0x8 0x0 0x0 0x15 0x2c 0x80 0x28 0x0 0x3
|
launchtemplate gLightThatBurnsTheSkyGreenSparkSpriteTemplate 0x83 0x8 0x0 0x0 0x15 0x2c 0x80 0x28 0x0 0x3
|
||||||
launchtemplate gLightThatBurnsTheSkyGreenSparkSpriteTemplate 0x83 0x8 0x0 0x0 0x15 0x2c SOUND_PAN_ATTACKER 0x28 0x2 0x3
|
launchtemplate gLightThatBurnsTheSkyGreenSparkSpriteTemplate 0x83 0x8 0x0 0x0 0x15 0x2c 0x0 0x28 0x2 0x3
|
||||||
delay 0x10
|
delay 0x10
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -706,6 +706,7 @@ BattleScript_EffectFlingConsumeBerry:
|
|||||||
restorebattleritem BS_TARGET
|
restorebattleritem BS_TARGET
|
||||||
BattleScript_FlingEnd:
|
BattleScript_FlingEnd:
|
||||||
tryfaintmon BS_TARGET
|
tryfaintmon BS_TARGET
|
||||||
|
trysymbiosis
|
||||||
goto BattleScript_MoveEnd
|
goto BattleScript_MoveEnd
|
||||||
|
|
||||||
BattleScript_FlingFlameOrb:
|
BattleScript_FlingFlameOrb:
|
||||||
@ -1392,6 +1393,7 @@ BattleScript_MoveEffectBugBite::
|
|||||||
consumeberry BS_ATTACKER, TRUE @ consume the berry, then restore the item from changedItems
|
consumeberry BS_ATTACKER, TRUE @ consume the berry, then restore the item from changedItems
|
||||||
bicword gHitMarker, HITMARKER_NO_ANIMATIONS
|
bicword gHitMarker, HITMARKER_NO_ANIMATIONS
|
||||||
setbyte sBERRY_OVERRIDE, FALSE
|
setbyte sBERRY_OVERRIDE, FALSE
|
||||||
|
trysymbiosis
|
||||||
return
|
return
|
||||||
|
|
||||||
BattleScript_EffectCoreEnforcer:
|
BattleScript_EffectCoreEnforcer:
|
||||||
@ -1763,6 +1765,7 @@ BattleScript_EffectBestow:
|
|||||||
waitanimation
|
waitanimation
|
||||||
printstring STRINGID_BESTOWITEMGIVING
|
printstring STRINGID_BESTOWITEMGIVING
|
||||||
waitmessage B_WAIT_TIME_LONG
|
waitmessage B_WAIT_TIME_LONG
|
||||||
|
trysymbiosis
|
||||||
goto BattleScript_MoveEnd
|
goto BattleScript_MoveEnd
|
||||||
|
|
||||||
BattleScript_EffectAfterYou:
|
BattleScript_EffectAfterYou:
|
||||||
@ -5173,7 +5176,14 @@ BattleScript_EffectTeleport:
|
|||||||
attackcanceler
|
attackcanceler
|
||||||
attackstring
|
attackstring
|
||||||
ppreduce
|
ppreduce
|
||||||
|
.if B_TELEPORT_BEHAVIOR >= GEN_7
|
||||||
|
canteleport BS_ATTACKER
|
||||||
|
jumpifbyte CMP_EQUAL, gBattleCommunication, TRUE, BattleScript_EffectTeleportNew
|
||||||
|
goto BattleScript_ButItFailed
|
||||||
|
.else
|
||||||
jumpifbattletype BATTLE_TYPE_TRAINER, BattleScript_ButItFailed
|
jumpifbattletype BATTLE_TYPE_TRAINER, BattleScript_ButItFailed
|
||||||
|
.endif
|
||||||
|
BattleScript_EffectTeleportTryToRunAway:
|
||||||
getifcantrunfrombattle BS_ATTACKER
|
getifcantrunfrombattle BS_ATTACKER
|
||||||
jumpifbyte CMP_EQUAL, gBattleCommunication, BATTLE_RUN_FORBIDDEN, BattleScript_ButItFailed
|
jumpifbyte CMP_EQUAL, gBattleCommunication, BATTLE_RUN_FORBIDDEN, BattleScript_ButItFailed
|
||||||
jumpifbyte CMP_EQUAL, gBattleCommunication, BATTLE_RUN_FAILURE, BattleScript_PrintAbilityMadeIneffective
|
jumpifbyte CMP_EQUAL, gBattleCommunication, BATTLE_RUN_FAILURE, BattleScript_PrintAbilityMadeIneffective
|
||||||
@ -5184,6 +5194,29 @@ BattleScript_EffectTeleport:
|
|||||||
setoutcomeonteleport BS_ATTACKER
|
setoutcomeonteleport BS_ATTACKER
|
||||||
goto BattleScript_MoveEnd
|
goto BattleScript_MoveEnd
|
||||||
|
|
||||||
|
BattleScript_EffectTeleportNew:
|
||||||
|
getbattlerside BS_ATTACKER
|
||||||
|
jumpifbyte CMP_EQUAL, gBattleCommunication, B_SIDE_OPPONENT, BattleScript_EffectTeleportTryToRunAway
|
||||||
|
attackanimation
|
||||||
|
waitanimation
|
||||||
|
openpartyscreen BS_ATTACKER, BattleScript_EffectTeleportNewEnd
|
||||||
|
switchoutabilities BS_ATTACKER
|
||||||
|
waitstate
|
||||||
|
switchhandleorder BS_ATTACKER, 2
|
||||||
|
returntoball BS_ATTACKER
|
||||||
|
getswitchedmondata BS_ATTACKER
|
||||||
|
switchindataupdate BS_ATTACKER
|
||||||
|
hpthresholds BS_ATTACKER
|
||||||
|
trytoclearprimalweather
|
||||||
|
printstring STRINGID_EMPTYSTRING3
|
||||||
|
waitmessage 1
|
||||||
|
printstring STRINGID_SWITCHINMON
|
||||||
|
switchinanim BS_ATTACKER, TRUE
|
||||||
|
waitstate
|
||||||
|
switchineffects BS_ATTACKER
|
||||||
|
BattleScript_EffectTeleportNewEnd:
|
||||||
|
goto BattleScript_MoveEnd
|
||||||
|
|
||||||
BattleScript_EffectBeatUp::
|
BattleScript_EffectBeatUp::
|
||||||
attackcanceler
|
attackcanceler
|
||||||
accuracycheck BattleScript_PrintMoveMissed, ACC_CURR_MOVE
|
accuracycheck BattleScript_PrintMoveMissed, ACC_CURR_MOVE
|
||||||
@ -9841,3 +9874,9 @@ BattleScript_MagicianActivates::
|
|||||||
call BattleScript_AbilityPopUp
|
call BattleScript_AbilityPopUp
|
||||||
call BattleScript_ItemSteal
|
call BattleScript_ItemSteal
|
||||||
return
|
return
|
||||||
|
|
||||||
|
BattleScript_SymbiosisActivates::
|
||||||
|
call BattleScript_AbilityPopUp
|
||||||
|
printstring STRINGID_SYMBIOSISITEMPASS
|
||||||
|
waitmessage B_WAIT_TIME_LONG
|
||||||
|
return
|
||||||
|
@ -225,6 +225,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentType::
|
|||||||
call_if_eq VAR_0x8005, TYPE_ICE, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesIce
|
call_if_eq VAR_0x8005, TYPE_ICE, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesIce
|
||||||
call_if_eq VAR_0x8005, TYPE_DRAGON, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDragon
|
call_if_eq VAR_0x8005, TYPE_DRAGON, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDragon
|
||||||
call_if_eq VAR_0x8005, TYPE_DARK, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDark
|
call_if_eq VAR_0x8005, TYPE_DARK, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDark
|
||||||
|
call_if_eq VAR_0x8005, TYPE_FAIRY, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFairy
|
||||||
call_if_eq VAR_0x8005, NUMBER_OF_MON_TYPES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentHasNoMostCommonType
|
call_if_eq VAR_0x8005, NUMBER_OF_MON_TYPES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentHasNoMostCommonType
|
||||||
return
|
return
|
||||||
|
|
||||||
@ -296,6 +297,10 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDark::
|
|||||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDarkType, MSGBOX_DEFAULT
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDarkType, MSGBOX_DEFAULT
|
||||||
return
|
return
|
||||||
|
|
||||||
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFairy::
|
||||||
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFairyType, MSGBOX_DEFAULT
|
||||||
|
return
|
||||||
|
|
||||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentHasNoMostCommonType::
|
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentHasNoMostCommonType::
|
||||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerHasNoClearFavorite, MSGBOX_DEFAULT
|
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerHasNoClearFavorite, MSGBOX_DEFAULT
|
||||||
return
|
return
|
||||||
@ -559,6 +564,10 @@ BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDarkType:
|
|||||||
.string "The TRAINER is apparently skilled\n"
|
.string "The TRAINER is apparently skilled\n"
|
||||||
.string "in the handling of the DARK type.$"
|
.string "in the handling of the DARK type.$"
|
||||||
|
|
||||||
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFairyType:
|
||||||
|
.string "The TRAINER is apparently skilled\n"
|
||||||
|
.string "in the handling of the FAIRY type.$"
|
||||||
|
|
||||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInSteelType:
|
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInSteelType:
|
||||||
.string "The TRAINER is apparently skilled\n"
|
.string "The TRAINER is apparently skilled\n"
|
||||||
.string "in the handling of the STEEL type.$"
|
.string "in the handling of the STEEL type.$"
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
"x": 14,
|
"x": 14,
|
||||||
"y": 9,
|
"y": 9,
|
||||||
"elevation": 3,
|
"elevation": 3,
|
||||||
"var": "VAR_SKY_PILLAR_RAQUAZA_CRY_DONE",
|
"var": "VAR_SKY_PILLAR_RAYQUAZA_CRY_DONE",
|
||||||
"var_value": "0",
|
"var_value": "0",
|
||||||
"script": "SkyPillar_Top_EventScript_AwakenRayquaza"
|
"script": "SkyPillar_Top_EventScript_AwakenRayquaza"
|
||||||
}
|
}
|
||||||
|
@ -128,7 +128,7 @@ SkyPillar_Top_EventScript_AwakenRayquaza::
|
|||||||
special RemoveCameraObject
|
special RemoveCameraObject
|
||||||
setvar VAR_SOOTOPOLIS_CITY_STATE, 5
|
setvar VAR_SOOTOPOLIS_CITY_STATE, 5
|
||||||
setvar VAR_SKY_PILLAR_STATE, 1
|
setvar VAR_SKY_PILLAR_STATE, 1
|
||||||
setvar VAR_SKY_PILLAR_RAQUAZA_CRY_DONE, 1
|
setvar VAR_SKY_PILLAR_RAYQUAZA_CRY_DONE, 1
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -2,13 +2,10 @@
|
|||||||
#define GUARD_ALLOC_H
|
#define GUARD_ALLOC_H
|
||||||
|
|
||||||
#define HEAP_SIZE 0x1C000
|
#define HEAP_SIZE 0x1C000
|
||||||
#define malloc Alloc
|
|
||||||
#define calloc(ct, sz) AllocZeroed((ct) * (sz))
|
|
||||||
#define free Free
|
|
||||||
|
|
||||||
#define FREE_AND_SET_NULL(ptr) \
|
#define FREE_AND_SET_NULL(ptr) \
|
||||||
{ \
|
{ \
|
||||||
free(ptr); \
|
Free(ptr); \
|
||||||
ptr = NULL; \
|
ptr = NULL; \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -148,7 +148,6 @@ void RestoreTextColors(u8 *fgColor, u8 *bgColor, u8 *shadowColor);
|
|||||||
void DecompressGlyphTile(const void *src_, void *dest_);
|
void DecompressGlyphTile(const void *src_, void *dest_);
|
||||||
void CopyGlyphToWindow(struct TextPrinter *x);
|
void CopyGlyphToWindow(struct TextPrinter *x);
|
||||||
void ClearTextSpan(struct TextPrinter *textPrinter, u32 width);
|
void ClearTextSpan(struct TextPrinter *textPrinter, u32 width);
|
||||||
u8 GetMenuCursorDimensionByFont(u8, u8);
|
|
||||||
|
|
||||||
void TextPrinterInitDownArrowCounters(struct TextPrinter *textPrinter);
|
void TextPrinterInitDownArrowCounters(struct TextPrinter *textPrinter);
|
||||||
void TextPrinterDrawDownArrow(struct TextPrinter *textPrinter);
|
void TextPrinterDrawDownArrow(struct TextPrinter *textPrinter);
|
||||||
|
19
graphics/battle_anims/backgrounds/windstorm_brew.pal
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
JASC-PAL
|
||||||
|
0100
|
||||||
|
16
|
||||||
|
230 148 98
|
||||||
|
255 255 222
|
||||||
|
230 230 197
|
||||||
|
213 205 172
|
||||||
|
189 180 148
|
||||||
|
172 156 123
|
||||||
|
156 131 106
|
||||||
|
0 0 0
|
||||||
|
0 0 0
|
||||||
|
0 0 0
|
||||||
|
142 204 143
|
||||||
|
123 180 122
|
||||||
|
112 165 99
|
||||||
|
89 130 87
|
||||||
|
67 114 65
|
||||||
|
55 91 56
|
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 510 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 838 B After Width: | Height: | Size: 838 B |
Before Width: | Height: | Size: 800 B After Width: | Height: | Size: 800 B |
Before Width: | Height: | Size: 722 B After Width: | Height: | Size: 722 B |
Before Width: | Height: | Size: 726 B After Width: | Height: | Size: 726 B |
Before Width: | Height: | Size: 684 B After Width: | Height: | Size: 684 B |
Before Width: | Height: | Size: 702 B After Width: | Height: | Size: 702 B |
Before Width: | Height: | Size: 619 B After Width: | Height: | Size: 619 B |
Before Width: | Height: | Size: 702 B After Width: | Height: | Size: 702 B |
Before Width: | Height: | Size: 662 B After Width: | Height: | Size: 662 B |
Before Width: | Height: | Size: 698 B After Width: | Height: | Size: 698 B |
Before Width: | Height: | Size: 735 B After Width: | Height: | Size: 735 B |
Before Width: | Height: | Size: 698 B After Width: | Height: | Size: 698 B |
Before Width: | Height: | Size: 688 B After Width: | Height: | Size: 688 B |
Before Width: | Height: | Size: 682 B After Width: | Height: | Size: 682 B |
Before Width: | Height: | Size: 932 B After Width: | Height: | Size: 932 B |
Before Width: | Height: | Size: 629 B After Width: | Height: | Size: 629 B |
Before Width: | Height: | Size: 978 B After Width: | Height: | Size: 978 B |
Before Width: | Height: | Size: 852 B After Width: | Height: | Size: 852 B |
Before Width: | Height: | Size: 681 B After Width: | Height: | Size: 681 B |
Before Width: | Height: | Size: 627 B After Width: | Height: | Size: 627 B |
Before Width: | Height: | Size: 890 B After Width: | Height: | Size: 890 B |
Before Width: | Height: | Size: 900 B After Width: | Height: | Size: 900 B |
Before Width: | Height: | Size: 906 B After Width: | Height: | Size: 906 B |
Before Width: | Height: | Size: 710 B After Width: | Height: | Size: 710 B |
Before Width: | Height: | Size: 828 B After Width: | Height: | Size: 828 B |
Before Width: | Height: | Size: 797 B After Width: | Height: | Size: 797 B |
Before Width: | Height: | Size: 661 B After Width: | Height: | Size: 661 B |
Before Width: | Height: | Size: 696 B After Width: | Height: | Size: 696 B |
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 670 B |
Before Width: | Height: | Size: 706 B After Width: | Height: | Size: 706 B |
Before Width: | Height: | Size: 736 B After Width: | Height: | Size: 736 B |
Before Width: | Height: | Size: 889 B After Width: | Height: | Size: 889 B |
Before Width: | Height: | Size: 647 B After Width: | Height: | Size: 647 B |
Before Width: | Height: | Size: 765 B After Width: | Height: | Size: 765 B |
Before Width: | Height: | Size: 719 B After Width: | Height: | Size: 719 B |
Before Width: | Height: | Size: 952 B After Width: | Height: | Size: 952 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 745 B After Width: | Height: | Size: 745 B |
Before Width: | Height: | Size: 825 B After Width: | Height: | Size: 825 B |
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 617 B |
Before Width: | Height: | Size: 799 B After Width: | Height: | Size: 799 B |
Before Width: | Height: | Size: 770 B After Width: | Height: | Size: 770 B |
Before Width: | Height: | Size: 820 B After Width: | Height: | Size: 820 B |
Before Width: | Height: | Size: 692 B After Width: | Height: | Size: 692 B |
Before Width: | Height: | Size: 631 B After Width: | Height: | Size: 631 B |
Before Width: | Height: | Size: 936 B After Width: | Height: | Size: 936 B |
Before Width: | Height: | Size: 720 B After Width: | Height: | Size: 720 B |
Before Width: | Height: | Size: 784 B After Width: | Height: | Size: 784 B |
Before Width: | Height: | Size: 722 B After Width: | Height: | Size: 722 B |
Before Width: | Height: | Size: 841 B After Width: | Height: | Size: 841 B |
Before Width: | Height: | Size: 789 B After Width: | Height: | Size: 789 B |
Before Width: | Height: | Size: 751 B After Width: | Height: | Size: 751 B |
Before Width: | Height: | Size: 649 B After Width: | Height: | Size: 649 B |
Before Width: | Height: | Size: 689 B After Width: | Height: | Size: 689 B |
Before Width: | Height: | Size: 683 B After Width: | Height: | Size: 683 B |
Before Width: | Height: | Size: 632 B After Width: | Height: | Size: 632 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 802 B After Width: | Height: | Size: 802 B |
Before Width: | Height: | Size: 710 B After Width: | Height: | Size: 710 B |
Before Width: | Height: | Size: 633 B After Width: | Height: | Size: 633 B |
Before Width: | Height: | Size: 678 B After Width: | Height: | Size: 678 B |
Before Width: | Height: | Size: 849 B After Width: | Height: | Size: 849 B |
Before Width: | Height: | Size: 786 B After Width: | Height: | Size: 786 B |
Before Width: | Height: | Size: 793 B After Width: | Height: | Size: 793 B |
Before Width: | Height: | Size: 742 B After Width: | Height: | Size: 742 B |
Before Width: | Height: | Size: 709 B After Width: | Height: | Size: 709 B |
Before Width: | Height: | Size: 710 B After Width: | Height: | Size: 710 B |
Before Width: | Height: | Size: 709 B After Width: | Height: | Size: 709 B |
Before Width: | Height: | Size: 668 B After Width: | Height: | Size: 668 B |
Before Width: | Height: | Size: 690 B After Width: | Height: | Size: 690 B |
Before Width: | Height: | Size: 721 B After Width: | Height: | Size: 721 B |
Before Width: | Height: | Size: 691 B After Width: | Height: | Size: 691 B |
Before Width: | Height: | Size: 580 B After Width: | Height: | Size: 580 B |
Before Width: | Height: | Size: 782 B After Width: | Height: | Size: 782 B |
Before Width: | Height: | Size: 585 B After Width: | Height: | Size: 585 B |
Before Width: | Height: | Size: 586 B After Width: | Height: | Size: 586 B |
Before Width: | Height: | Size: 801 B After Width: | Height: | Size: 801 B |
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 667 B |
Before Width: | Height: | Size: 548 B After Width: | Height: | Size: 548 B |