You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Sprite movement function labels
This commit is contained in:
126
battle/core.asm
126
battle/core.asm
@@ -87,7 +87,7 @@ Function3c000: ; 3c000
|
|||||||
call Function3d490
|
call Function3d490
|
||||||
call LoadTileMapToTempTileMap
|
call LoadTileMapToTempTileMap
|
||||||
call Function3d57a
|
call Function3d57a
|
||||||
call Function3da0d
|
call InitBattleMon
|
||||||
call ResetPlayerStatLevels
|
call ResetPlayerStatLevels
|
||||||
call SendOutPkmnText
|
call SendOutPkmnText
|
||||||
call NewBattleMonStatus
|
call NewBattleMonStatus
|
||||||
@@ -2917,7 +2917,7 @@ Function3d227: ; 3d227
|
|||||||
ld a, [CurPartyMon]
|
ld a, [CurPartyMon]
|
||||||
ld [CurBattleMon], a
|
ld [CurBattleMon], a
|
||||||
call Function3d581
|
call Function3d581
|
||||||
call Function3da0d
|
call InitBattleMon
|
||||||
call ResetPlayerStatLevels
|
call ResetPlayerStatLevels
|
||||||
call ClearPalettes
|
call ClearPalettes
|
||||||
call DelayFrame
|
call DelayFrame
|
||||||
@@ -2945,7 +2945,7 @@ Function3d2b3: ; 3d2b3
|
|||||||
ld a, [CurPartyMon]
|
ld a, [CurPartyMon]
|
||||||
ld [CurBattleMon], a
|
ld [CurBattleMon], a
|
||||||
call Function3d581
|
call Function3d581
|
||||||
call Function3da0d
|
call InitBattleMon
|
||||||
call ResetPlayerStatLevels
|
call ResetPlayerStatLevels
|
||||||
call SendOutPkmnText
|
call SendOutPkmnText
|
||||||
call NewBattleMonStatus
|
call NewBattleMonStatus
|
||||||
@@ -3745,7 +3745,7 @@ Function_SetEnemyPkmnAndSendOutAnimation: ; 3d7c7
|
|||||||
ld a, OTPARTYMON
|
ld a, OTPARTYMON
|
||||||
ld [MonType], a
|
ld [MonType], a
|
||||||
predef CopyPkmnToTempMon
|
predef CopyPkmnToTempMon
|
||||||
call Function3f47c
|
call GetMonFrontpic
|
||||||
|
|
||||||
xor a
|
xor a
|
||||||
ld [wcfca], a
|
ld [wcfca], a
|
||||||
@@ -3754,7 +3754,7 @@ Function_SetEnemyPkmnAndSendOutAnimation: ; 3d7c7
|
|||||||
ld de, ANIM_SEND_OUT_MON
|
ld de, ANIM_SEND_OUT_MON
|
||||||
call Call_PlayBattleAnim
|
call Call_PlayBattleAnim
|
||||||
|
|
||||||
call Function3da79
|
call BattleCheckEnemyShininess
|
||||||
jr nc, .asm_3d800
|
jr nc, .asm_3d800
|
||||||
ld a, 1 ; shiny anim
|
ld a, 1 ; shiny anim
|
||||||
ld [wc689], a
|
ld [wc689], a
|
||||||
@@ -4062,7 +4062,7 @@ TryToRunAwayFromBattle: ; 3d8b3
|
|||||||
; 3da0d
|
; 3da0d
|
||||||
|
|
||||||
|
|
||||||
Function3da0d: ; 3da0d
|
InitBattleMon: ; 3da0d
|
||||||
ld a, MON_SPECIES
|
ld a, MON_SPECIES
|
||||||
call GetPartyParamLocation
|
call GetPartyParamLocation
|
||||||
ld de, BattleMonSpecies
|
ld de, BattleMonSpecies
|
||||||
@@ -4096,28 +4096,28 @@ endr
|
|||||||
call CopyBytes
|
call CopyBytes
|
||||||
ld hl, BattleMonAttack
|
ld hl, BattleMonAttack
|
||||||
ld de, PlayerStats
|
ld de, PlayerStats
|
||||||
ld bc, 2 * 5
|
ld bc, (PARTYMON_STRUCT_LENGTH) - (MON_ATK)
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
call Function3ec2c
|
call Function3ec2c
|
||||||
call BadgeStatBoosts
|
call BadgeStatBoosts
|
||||||
ret
|
ret
|
||||||
; 3da74
|
; 3da74
|
||||||
|
|
||||||
Function3da74: ; 3da74
|
BattleCheckPlayerShininess: ; 3da74
|
||||||
call Function3da85
|
call GetPartyMonDVs
|
||||||
jr Function3da7c
|
jr BattleCheckShininess
|
||||||
|
|
||||||
Function3da79: ; 3da79
|
BattleCheckEnemyShininess: ; 3da79
|
||||||
call Function3da97
|
call GetEnemyMonDVs
|
||||||
|
|
||||||
Function3da7c: ; 3da7c
|
BattleCheckShininess: ; 3da7c
|
||||||
ld b, h
|
ld b, h
|
||||||
ld c, l
|
ld c, l
|
||||||
callab CheckShininess
|
callab CheckShininess
|
||||||
ret
|
ret
|
||||||
; 3da85
|
; 3da85
|
||||||
|
|
||||||
Function3da85: ; 3da85
|
GetPartyMonDVs: ; 3da85
|
||||||
ld hl, BattleMonDVs
|
ld hl, BattleMonDVs
|
||||||
ld a, [PlayerSubStatus5]
|
ld a, [PlayerSubStatus5]
|
||||||
bit SUBSTATUS_TRANSFORMED, a
|
bit SUBSTATUS_TRANSFORMED, a
|
||||||
@@ -4127,7 +4127,7 @@ Function3da85: ; 3da85
|
|||||||
jp GetPartyLocation
|
jp GetPartyLocation
|
||||||
; 3da97
|
; 3da97
|
||||||
|
|
||||||
Function3da97: ; 3da97
|
GetEnemyMonDVs: ; 3da97
|
||||||
ld hl, EnemyMonDVs
|
ld hl, EnemyMonDVs
|
||||||
ld a, [EnemySubStatus5]
|
ld a, [EnemySubStatus5]
|
||||||
bit SUBSTATUS_TRANSFORMED, a
|
bit SUBSTATUS_TRANSFORMED, a
|
||||||
@@ -4214,7 +4214,7 @@ Function3db32: ; 3db32
|
|||||||
ld a, [CurPartyMon]
|
ld a, [CurPartyMon]
|
||||||
ld [CurBattleMon], a
|
ld [CurBattleMon], a
|
||||||
call Function3d581
|
call Function3d581
|
||||||
call Function3da0d
|
call InitBattleMon
|
||||||
call ResetPlayerStatLevels
|
call ResetPlayerStatLevels
|
||||||
call NewBattleMonStatus
|
call NewBattleMonStatus
|
||||||
call BreakAttraction
|
call BreakAttraction
|
||||||
@@ -4258,7 +4258,7 @@ Function3db5f: ; 3db5f
|
|||||||
ld [wc689], a
|
ld [wc689], a
|
||||||
ld de, ANIM_SEND_OUT_MON
|
ld de, ANIM_SEND_OUT_MON
|
||||||
call Call_PlayBattleAnim
|
call Call_PlayBattleAnim
|
||||||
call Function3da74
|
call BattleCheckPlayerShininess
|
||||||
jr nc, .asm_3dbbc
|
jr nc, .asm_3dbbc
|
||||||
ld a, $1
|
ld a, $1
|
||||||
ld [wc689], a
|
ld [wc689], a
|
||||||
@@ -5252,7 +5252,7 @@ BattleMenu_Pack: ; 3e1c7
|
|||||||
call DelayFrame
|
call DelayFrame
|
||||||
call Function3ed9f
|
call Function3ed9f
|
||||||
call GetMonBackpic
|
call GetMonBackpic
|
||||||
call Function3f47c
|
call GetMonFrontpic
|
||||||
call ExitMenu
|
call ExitMenu
|
||||||
call WaitBGMap
|
call WaitBGMap
|
||||||
call Function3ee27
|
call Function3ee27
|
||||||
@@ -5287,7 +5287,7 @@ Function3e234: ; 3e234
|
|||||||
call GetMonBackpic
|
call GetMonBackpic
|
||||||
|
|
||||||
.asm_3e25d
|
.asm_3e25d
|
||||||
call Function3f47c
|
call GetMonFrontpic
|
||||||
ld a, $1
|
ld a, $1
|
||||||
ld [MenuSelection2], a
|
ld [MenuSelection2], a
|
||||||
call ExitMenu
|
call ExitMenu
|
||||||
@@ -5523,7 +5523,7 @@ BattleMonEntrance: ; 3e40b
|
|||||||
ld a, [CurBattleMon]
|
ld a, [CurBattleMon]
|
||||||
ld [CurPartyMon], a
|
ld [CurPartyMon], a
|
||||||
call Function3d581
|
call Function3d581
|
||||||
call Function3da0d
|
call InitBattleMon
|
||||||
call ResetPlayerStatLevels
|
call ResetPlayerStatLevels
|
||||||
call SendOutPkmnText
|
call SendOutPkmnText
|
||||||
call NewBattleMonStatus
|
call NewBattleMonStatus
|
||||||
@@ -5549,7 +5549,7 @@ PassedBattleMonEntrance: ; 3e459
|
|||||||
ld a, [CurPartyMon]
|
ld a, [CurPartyMon]
|
||||||
ld [CurBattleMon], a
|
ld [CurBattleMon], a
|
||||||
call Function3d581
|
call Function3d581
|
||||||
call Function3da0d
|
call InitBattleMon
|
||||||
xor a
|
xor a
|
||||||
ld [wd265], a
|
ld [wd265], a
|
||||||
call ApplyStatLevelMultiplierOnAllStats
|
call ApplyStatLevelMultiplierOnAllStats
|
||||||
@@ -8392,7 +8392,7 @@ Function3f46f: ; 3f46f
|
|||||||
ret
|
ret
|
||||||
; 3f47c
|
; 3f47c
|
||||||
|
|
||||||
Function3f47c: ; 3f47c
|
GetMonFrontpic: ; 3f47c
|
||||||
ld a, [EnemySubStatus4]
|
ld a, [EnemySubStatus4]
|
||||||
bit SUBSTATUS_SUBSTITUTE, a
|
bit SUBSTATUS_SUBSTITUTE, a
|
||||||
ld hl, BattleAnimCmd_DD
|
ld hl, BattleAnimCmd_DD
|
||||||
@@ -8470,8 +8470,8 @@ Function3f4dd: ; 3f4dd
|
|||||||
callba FindFirstAliveMon
|
callba FindFirstAliveMon
|
||||||
call DisableSpriteUpdates
|
call DisableSpriteUpdates
|
||||||
callba ClearBattleRAM
|
callba ClearBattleRAM
|
||||||
call Function3f55e
|
call InitEnemy
|
||||||
call Function3f568
|
call BackUpVBGMap2
|
||||||
ld b, $0
|
ld b, $0
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
ld hl, rLCDC
|
ld hl, rLCDC
|
||||||
@@ -8510,20 +8510,20 @@ LoadTrainerOrWildMonPic: ; 3f54e
|
|||||||
ret
|
ret
|
||||||
; 3f55e
|
; 3f55e
|
||||||
|
|
||||||
Function3f55e: ; 3f55e
|
InitEnemy: ; 3f55e
|
||||||
ld a, [OtherTrainerClass]
|
ld a, [OtherTrainerClass]
|
||||||
and a
|
and a
|
||||||
jp nz, Function3f594 ; trainer
|
jp nz, InitEnemyTrainer ; trainer
|
||||||
jp Function3f607 ; wild
|
jp InitEnemyWildmon ; wild
|
||||||
; 3f568
|
; 3f568
|
||||||
|
|
||||||
Function3f568: ; 3f568
|
BackUpVBGMap2: ; 3f568
|
||||||
ld a, [rSVBK]
|
ld a, [rSVBK]
|
||||||
push af
|
push af
|
||||||
ld a, $6
|
ld a, $6 ; BANK(w6_d000)
|
||||||
ld [rSVBK], a
|
ld [rSVBK], a
|
||||||
ld hl, w6_d000
|
ld hl, w6_d000
|
||||||
ld bc, $400
|
ld bc, $40 tiles ; VBGMap3 - VBGMap2
|
||||||
ld a, $2
|
ld a, $2
|
||||||
call ByteFill
|
call ByteFill
|
||||||
ld a, [rVBK]
|
ld a, [rVBK]
|
||||||
@@ -8531,8 +8531,8 @@ Function3f568: ; 3f568
|
|||||||
ld a, $1
|
ld a, $1
|
||||||
ld [rVBK], a
|
ld [rVBK], a
|
||||||
ld de, w6_d000
|
ld de, w6_d000
|
||||||
ld hl, VBGMap0
|
ld hl, VBGMap0 ; VBGMap2
|
||||||
ld bc, $0f40
|
lb bc, BANK(BackUpVBGMap2), $40
|
||||||
call Request2bpp
|
call Request2bpp
|
||||||
pop af
|
pop af
|
||||||
ld [rVBK], a
|
ld [rVBK], a
|
||||||
@@ -8541,7 +8541,7 @@ Function3f568: ; 3f568
|
|||||||
ret
|
ret
|
||||||
; 3f594
|
; 3f594
|
||||||
|
|
||||||
Function3f594: ; 3f594
|
InitEnemyTrainer: ; 3f594
|
||||||
ld [TrainerClass], a
|
ld [TrainerClass], a
|
||||||
callba MobileFn_10606a
|
callba MobileFn_10606a
|
||||||
xor a
|
xor a
|
||||||
@@ -8596,7 +8596,7 @@ Function3f594: ; 3f594
|
|||||||
ret
|
ret
|
||||||
; 3f607
|
; 3f607
|
||||||
|
|
||||||
Function3f607: ; 3f607
|
InitEnemyWildmon: ; 3f607
|
||||||
ld a, $1
|
ld a, $1
|
||||||
ld [wBattleMode], a
|
ld [wBattleMode], a
|
||||||
callba MobileFn_10605d
|
callba MobileFn_10605d
|
||||||
@@ -9360,8 +9360,8 @@ Function3fb54: ; 3fb54
|
|||||||
Function3fb6c: ; 3fb6c
|
Function3fb6c: ; 3fb6c
|
||||||
call Function3fbf8
|
call Function3fbf8
|
||||||
hlcoord 0, 12
|
hlcoord 0, 12
|
||||||
ld b, $4
|
ld b, 4
|
||||||
ld c, $12
|
ld c, 18
|
||||||
call TextBox
|
call TextBox
|
||||||
callba MobileTextBorder
|
callba MobileTextBorder
|
||||||
hlcoord 1, 5
|
hlcoord 1, 5
|
||||||
@@ -9385,7 +9385,7 @@ Function3fb6c: ; 3fb6c
|
|||||||
ld a, $31
|
ld a, $31
|
||||||
ld [$ffad], a
|
ld [$ffad], a
|
||||||
hlcoord 2, 6
|
hlcoord 2, 6
|
||||||
ld bc, $0606
|
lb bc, 6, 6
|
||||||
predef FillBox
|
predef FillBox
|
||||||
xor a
|
xor a
|
||||||
ld [hWY], a
|
ld [hWY], a
|
||||||
@@ -9421,13 +9421,13 @@ Function3fbd6: ; 3fbd6
|
|||||||
; 3fbf8
|
; 3fbf8
|
||||||
|
|
||||||
Function3fbf8: ; 3fbf8
|
Function3fbf8: ; 3fbf8
|
||||||
call GetBattleBackpic
|
call GetTrainerBackpic
|
||||||
call Function3fc30
|
call CopyBackpic
|
||||||
ret
|
ret
|
||||||
; 3fbff
|
; 3fbff
|
||||||
|
|
||||||
|
|
||||||
GetBattleBackpic: ; 3fbff
|
GetTrainerBackpic: ; 3fbff
|
||||||
; Load the player character's backpic (6x6) into VRAM starting from $9310.
|
; Load the player character's backpic (6x6) into VRAM starting from $9310.
|
||||||
|
|
||||||
; Special exception for Dude.
|
; Special exception for Dude.
|
||||||
@@ -9462,7 +9462,7 @@ GetBattleBackpic: ; 3fbff
|
|||||||
; 3fc30
|
; 3fc30
|
||||||
|
|
||||||
|
|
||||||
Function3fc30: ; 3fc30
|
CopyBackpic: ; 3fc30
|
||||||
ld a, [rSVBK]
|
ld a, [rSVBK]
|
||||||
push af
|
push af
|
||||||
ld a, $6
|
ld a, $6
|
||||||
@@ -9479,7 +9479,7 @@ Function3fc30: ; 3fc30
|
|||||||
ld a, $31
|
ld a, $31
|
||||||
ld [$ffad], a
|
ld [$ffad], a
|
||||||
hlcoord 2, 6
|
hlcoord 2, 6
|
||||||
ld bc, $0606
|
lb bc, 6, 6
|
||||||
predef FillBox
|
predef FillBox
|
||||||
ret
|
ret
|
||||||
; 3fc5b
|
; 3fc5b
|
||||||
@@ -9490,10 +9490,10 @@ Function3fc5b: ; 3fc5b
|
|||||||
ld [hMapObjectIndexBuffer], a
|
ld [hMapObjectIndexBuffer], a
|
||||||
ld b, $6
|
ld b, $6
|
||||||
ld e, $a8
|
ld e, $a8
|
||||||
.asm_3fc65
|
.outer_loop
|
||||||
ld c, $3
|
ld c, $3
|
||||||
ld d, $40
|
ld d, $40
|
||||||
.asm_3fc69
|
.inner_loop
|
||||||
ld [hl], d
|
ld [hl], d
|
||||||
inc hl
|
inc hl
|
||||||
ld [hl], e
|
ld [hl], e
|
||||||
@@ -9508,7 +9508,7 @@ Function3fc5b: ; 3fc5b
|
|||||||
add $8
|
add $8
|
||||||
ld d, a
|
ld d, a
|
||||||
dec c
|
dec c
|
||||||
jr nz, .asm_3fc69
|
jr nz, .inner_loop
|
||||||
ld a, [hMapObjectIndexBuffer]
|
ld a, [hMapObjectIndexBuffer]
|
||||||
add $3
|
add $3
|
||||||
ld [hMapObjectIndexBuffer], a
|
ld [hMapObjectIndexBuffer], a
|
||||||
@@ -9516,7 +9516,7 @@ Function3fc5b: ; 3fc5b
|
|||||||
add $8
|
add $8
|
||||||
ld e, a
|
ld e, a
|
||||||
dec b
|
dec b
|
||||||
jr nz, .asm_3fc65
|
jr nz, .outer_loop
|
||||||
ret
|
ret
|
||||||
; 3fc8b
|
; 3fc8b
|
||||||
|
|
||||||
@@ -9524,7 +9524,7 @@ Function3fc5b: ; 3fc5b
|
|||||||
BattleStartMessage: ; 3fc8b
|
BattleStartMessage: ; 3fc8b
|
||||||
ld a, [wBattleMode]
|
ld a, [wBattleMode]
|
||||||
dec a
|
dec a
|
||||||
jr z, .asm_3fcaa
|
jr z, .wild
|
||||||
|
|
||||||
ld de, SFX_SHINE
|
ld de, SFX_SHINE
|
||||||
call PlaySFX
|
call PlaySFX
|
||||||
@@ -9536,11 +9536,11 @@ BattleStartMessage: ; 3fc8b
|
|||||||
callba Battle_GetTrainerName
|
callba Battle_GetTrainerName
|
||||||
|
|
||||||
ld hl, WantsToBattleText
|
ld hl, WantsToBattleText
|
||||||
jr .asm_3fd0e
|
jr .PlaceBattleStartText
|
||||||
|
|
||||||
.asm_3fcaa
|
.wild
|
||||||
call Function3da79
|
call BattleCheckEnemyShininess
|
||||||
jr nc, .asm_3fcc2
|
jr nc, .not_shiny
|
||||||
|
|
||||||
xor a
|
xor a
|
||||||
ld [wcfca], a
|
ld [wcfca], a
|
||||||
@@ -9551,45 +9551,45 @@ BattleStartMessage: ; 3fc8b
|
|||||||
ld de, ANIM_SEND_OUT_MON
|
ld de, ANIM_SEND_OUT_MON
|
||||||
call Call_PlayBattleAnim
|
call Call_PlayBattleAnim
|
||||||
|
|
||||||
.asm_3fcc2
|
.not_shiny
|
||||||
callba CheckSleepingTreeMon
|
callba CheckSleepingTreeMon
|
||||||
jr c, .asm_3fceb
|
jr c, .skip_cry
|
||||||
|
|
||||||
callba CheckBattleScene
|
callba CheckBattleScene
|
||||||
jr c, .asm_3fce0
|
jr c, .do_cry
|
||||||
|
|
||||||
hlcoord 12, 0
|
hlcoord 12, 0
|
||||||
ld d, $0
|
ld d, $0
|
||||||
ld e, $1
|
ld e, $1
|
||||||
predef Functiond008e
|
predef Functiond008e
|
||||||
jr .asm_3fceb
|
jr .skip_cry
|
||||||
|
|
||||||
.asm_3fce0
|
.do_cry
|
||||||
ld a, $0f
|
ld a, $0f
|
||||||
ld [CryTracks], a
|
ld [CryTracks], a
|
||||||
ld a, [TempEnemyMonSpecies]
|
ld a, [TempEnemyMonSpecies]
|
||||||
call PlayStereoCry
|
call PlayStereoCry
|
||||||
|
|
||||||
.asm_3fceb
|
.skip_cry
|
||||||
ld a, [BattleType]
|
ld a, [BattleType]
|
||||||
cp BATTLETYPE_FISH
|
cp BATTLETYPE_FISH
|
||||||
jr nz, .asm_3fcfd
|
jr nz, .NotFishing
|
||||||
|
|
||||||
callba MobileFn_106086
|
callba MobileFn_106086
|
||||||
|
|
||||||
ld hl, HookedPokemonAttackedText
|
ld hl, HookedPokemonAttackedText
|
||||||
jr .asm_3fd0e
|
jr .PlaceBattleStartText
|
||||||
|
|
||||||
.asm_3fcfd
|
.NotFishing
|
||||||
ld hl, PokemonFellFromTreeText
|
ld hl, PokemonFellFromTreeText
|
||||||
cp BATTLETYPE_TREE
|
cp BATTLETYPE_TREE
|
||||||
jr z, .asm_3fd0e
|
jr z, .PlaceBattleStartText
|
||||||
ld hl, WildCelebiAppearedText
|
ld hl, WildCelebiAppearedText
|
||||||
cp BATTLETYPE_CELEBI
|
cp BATTLETYPE_CELEBI
|
||||||
jr z, .asm_3fd0e
|
jr z, .PlaceBattleStartText
|
||||||
ld hl, WildPokemonAppearedText
|
ld hl, WildPokemonAppearedText
|
||||||
|
|
||||||
.asm_3fd0e
|
.PlaceBattleStartText
|
||||||
push hl
|
push hl
|
||||||
callba Function2c000
|
callba Function2c000
|
||||||
pop hl
|
pop hl
|
||||||
|
@@ -1,7 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
dw 0 ; padding
|
dw 0 ; padding
|
||||||
|
|
||||||
BattleCommandPointers: ; 3fd28
|
BattleCommandPointers: ; 3fd28
|
||||||
@@ -14,9 +10,9 @@ BattleCommandPointers: ; 3fd28
|
|||||||
dw BattleCommand_Stab ; 346d2 - 07
|
dw BattleCommand_Stab ; 346d2 - 07
|
||||||
dw BattleCommand_DamageVariation ; 34cfd
|
dw BattleCommand_DamageVariation ; 34cfd
|
||||||
dw BattleCommand_CheckHit ; 34d32
|
dw BattleCommand_CheckHit ; 34d32
|
||||||
dw BattleCommand0a ; 34eee
|
dw BattleCommand_LowerSub ; 34eee
|
||||||
dw BattleCommand0b ; 34f60
|
dw BattleCommand0b ; 34f60
|
||||||
dw BattleCommand0c ; 35004
|
dw BattleCommand_RaiseSub ; 35004
|
||||||
dw BattleCommand_ResultText ; 35023
|
dw BattleCommand_ResultText ; 35023
|
||||||
dw BattleCommand_CheckFaint ; 3505e
|
dw BattleCommand_CheckFaint ; 3505e
|
||||||
dw BattleCommand_CriticalText ; 35175
|
dw BattleCommand_CriticalText ; 35175
|
||||||
@@ -149,8 +145,8 @@ BattleCommandPointers: ; 3fd28
|
|||||||
dw BattleCommand_StatUpFailText ; 3644c
|
dw BattleCommand_StatUpFailText ; 3644c
|
||||||
dw BattleCommand_StatDownFailText ; 3646a
|
dw BattleCommand_StatDownFailText ; 3646a
|
||||||
dw BattleCommand_EffectChance ; 34ecc
|
dw BattleCommand_EffectChance ; 34ecc
|
||||||
dw BattleCommand91 ; 34fdb
|
dw BattleCommand_StatDownAnim ; 34fdb
|
||||||
dw BattleCommand92 ; 34fd1
|
dw BattleCommand_StatUpAnim ; 34fd1
|
||||||
dw BattleCommand_SwitchTurn ; 34ffd - 93
|
dw BattleCommand_SwitchTurn ; 34ffd - 93
|
||||||
dw BattleCommand_FakeOut ; 36a82
|
dw BattleCommand_FakeOut ; 36a82
|
||||||
dw BattleCommand_BellyDrum ; 37c1a
|
dw BattleCommand_BellyDrum ; 37c1a
|
||||||
|
@@ -540,7 +540,7 @@ CheckEnemyTurn: ; 3421f
|
|||||||
call StdBattleTextBox
|
call StdBattleTextBox
|
||||||
call Function355dd
|
call Function355dd
|
||||||
call BattleCommand_DamageCalc
|
call BattleCommand_DamageCalc
|
||||||
call BattleCommand0a
|
call BattleCommand_LowerSub
|
||||||
xor a
|
xor a
|
||||||
ld [wcfca], a
|
ld [wcfca], a
|
||||||
|
|
||||||
@@ -553,7 +553,7 @@ CheckEnemyTurn: ; 3421f
|
|||||||
|
|
||||||
ld c, $1
|
ld c, $1
|
||||||
call Function35d1c
|
call Function35d1c
|
||||||
call BattleCommand0c
|
call BattleCommand_RaiseSub
|
||||||
call CantMove
|
call CantMove
|
||||||
jp Function34385
|
jp Function34385
|
||||||
|
|
||||||
@@ -653,7 +653,7 @@ HitConfusion: ; 343a5
|
|||||||
|
|
||||||
call Function355dd
|
call Function355dd
|
||||||
call BattleCommand_DamageCalc
|
call BattleCommand_DamageCalc
|
||||||
call BattleCommand0a
|
call BattleCommand_LowerSub
|
||||||
|
|
||||||
xor a
|
xor a
|
||||||
ld [wcfca], a
|
ld [wcfca], a
|
||||||
@@ -671,7 +671,7 @@ HitConfusion: ; 343a5
|
|||||||
ld [$ffd4], a
|
ld [$ffd4], a
|
||||||
ld c, $1
|
ld c, $1
|
||||||
call Function35d7e
|
call Function35d7e
|
||||||
jp BattleCommand0c
|
jp BattleCommand_RaiseSub
|
||||||
; 343db
|
; 343db
|
||||||
|
|
||||||
|
|
||||||
@@ -2691,7 +2691,7 @@ BattleCommand_EffectChance: ; 34ecc
|
|||||||
; 34eee
|
; 34eee
|
||||||
|
|
||||||
|
|
||||||
BattleCommand0a: ; 34eee
|
BattleCommand_LowerSub: ; 34eee
|
||||||
; lowersub
|
; lowersub
|
||||||
|
|
||||||
ld a, BATTLE_VARS_SUBSTATUS4
|
ld a, BATTLE_VARS_SUBSTATUS4
|
||||||
@@ -2702,29 +2702,29 @@ BattleCommand0a: ; 34eee
|
|||||||
ld a, BATTLE_VARS_SUBSTATUS3
|
ld a, BATTLE_VARS_SUBSTATUS3
|
||||||
call GetBattleVar
|
call GetBattleVar
|
||||||
bit SUBSTATUS_CHARGED, a
|
bit SUBSTATUS_CHARGED, a
|
||||||
jr nz, .asm_34f18
|
jr nz, .already_charged
|
||||||
|
|
||||||
ld a, BATTLE_VARS_MOVE_EFFECT
|
ld a, BATTLE_VARS_MOVE_EFFECT
|
||||||
call GetBattleVar
|
call GetBattleVar
|
||||||
cp EFFECT_RAZOR_WIND
|
cp EFFECT_RAZOR_WIND
|
||||||
jr z, .asm_34f21
|
jr z, .charge_turn
|
||||||
cp EFFECT_SKY_ATTACK
|
cp EFFECT_SKY_ATTACK
|
||||||
jr z, .asm_34f21
|
jr z, .charge_turn
|
||||||
cp EFFECT_SKULL_BASH
|
cp EFFECT_SKULL_BASH
|
||||||
jr z, .asm_34f21
|
jr z, .charge_turn
|
||||||
cp EFFECT_SOLARBEAM
|
cp EFFECT_SOLARBEAM
|
||||||
jr z, .asm_34f21
|
jr z, .charge_turn
|
||||||
cp EFFECT_FLY
|
cp EFFECT_FLY
|
||||||
jr z, .asm_34f21
|
jr z, .charge_turn
|
||||||
|
|
||||||
.asm_34f18
|
.already_charged
|
||||||
call .Rampage
|
call .Rampage
|
||||||
jr z, .asm_34f21
|
jr z, .charge_turn
|
||||||
|
|
||||||
call Function34548
|
call Function34548
|
||||||
ret nz
|
ret nz
|
||||||
|
|
||||||
.asm_34f21
|
.charge_turn
|
||||||
call Function37ed5
|
call Function37ed5
|
||||||
jr c, .asm_34f36
|
jr c, .asm_34f36
|
||||||
|
|
||||||
@@ -2744,15 +2744,15 @@ BattleCommand0a: ; 34eee
|
|||||||
ld a, BATTLE_VARS_MOVE_EFFECT
|
ld a, BATTLE_VARS_MOVE_EFFECT
|
||||||
call GetBattleVar
|
call GetBattleVar
|
||||||
cp EFFECT_ROLLOUT
|
cp EFFECT_ROLLOUT
|
||||||
jr z, .asm_34f4d
|
jr z, .rollout_rampage
|
||||||
cp EFFECT_RAMPAGE
|
cp EFFECT_RAMPAGE
|
||||||
jr z, .asm_34f4d
|
jr z, .rollout_rampage
|
||||||
|
|
||||||
ld a, 1
|
ld a, 1
|
||||||
and a
|
and a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.asm_34f4d
|
.rollout_rampage
|
||||||
ld a, [wc73e]
|
ld a, [wc73e]
|
||||||
and a
|
and a
|
||||||
ld a, 0
|
ld a, 0
|
||||||
@@ -2763,9 +2763,9 @@ BattleCommand0a: ; 34eee
|
|||||||
|
|
||||||
BattleCommand_HitTarget: ; 34f57
|
BattleCommand_HitTarget: ; 34f57
|
||||||
; hittarget
|
; hittarget
|
||||||
call BattleCommand0a
|
call BattleCommand_LowerSub
|
||||||
call BattleCommand0b
|
call BattleCommand0b
|
||||||
jp BattleCommand0c
|
jp BattleCommand_RaiseSub
|
||||||
; 34f60
|
; 34f60
|
||||||
|
|
||||||
|
|
||||||
@@ -2787,19 +2787,19 @@ BattleCommand0b: ; 34f60
|
|||||||
ld a, BATTLE_VARS_MOVE_EFFECT
|
ld a, BATTLE_VARS_MOVE_EFFECT
|
||||||
call GetBattleVar
|
call GetBattleVar
|
||||||
cp EFFECT_MULTI_HIT
|
cp EFFECT_MULTI_HIT
|
||||||
jr z, .asm_34fb0
|
jr z, .multihit_conversion_doublehit_twineedle
|
||||||
cp EFFECT_CONVERSION
|
cp EFFECT_CONVERSION
|
||||||
jr z, .asm_34fb0
|
jr z, .multihit_conversion_doublehit_twineedle
|
||||||
cp EFFECT_DOUBLE_HIT
|
cp EFFECT_DOUBLE_HIT
|
||||||
jr z, .asm_34fb0
|
jr z, .multihit_conversion_doublehit_twineedle
|
||||||
cp EFFECT_TWINEEDLE
|
cp EFFECT_TWINEEDLE
|
||||||
jr z, .asm_34fb0
|
jr z, .multihit_conversion_doublehit_twineedle
|
||||||
cp EFFECT_TRIPLE_KICK
|
cp EFFECT_TRIPLE_KICK
|
||||||
jr z, .asm_34f96
|
jr z, .triplekick
|
||||||
xor a
|
xor a
|
||||||
ld [wc689], a
|
ld [wc689], a
|
||||||
|
|
||||||
.asm_34f96
|
.triplekick
|
||||||
|
|
||||||
ld a, BATTLE_VARS_MOVE_ANIM
|
ld a, BATTLE_VARS_MOVE_ANIM
|
||||||
call GetBattleVar
|
call GetBattleVar
|
||||||
@@ -2810,14 +2810,14 @@ BattleCommand0b: ; 34f60
|
|||||||
ld a, BATTLE_VARS_MOVE_ANIM
|
ld a, BATTLE_VARS_MOVE_ANIM
|
||||||
call GetBattleVar
|
call GetBattleVar
|
||||||
cp FLY
|
cp FLY
|
||||||
jr z, .asm_34fad
|
jr z, .fly_dig
|
||||||
cp DIG
|
cp DIG
|
||||||
ret nz
|
ret nz
|
||||||
|
|
||||||
.asm_34fad
|
.fly_dig
|
||||||
; clear sprite
|
; clear sprite
|
||||||
jp Function37ec7
|
jp Function37ec7
|
||||||
.asm_34fb0
|
.multihit_conversion_doublehit_twineedle
|
||||||
ld a, [wc689]
|
ld a, [wc689]
|
||||||
and 1
|
and 1
|
||||||
xor 1
|
xor 1
|
||||||
@@ -2837,17 +2837,17 @@ BattleCommand0b: ; 34f60
|
|||||||
; 34fd1
|
; 34fd1
|
||||||
|
|
||||||
|
|
||||||
BattleCommand92: ; 34fd1
|
BattleCommand_StatUpAnim: ; 34fd1
|
||||||
ld a, [AttackMissed]
|
ld a, [AttackMissed]
|
||||||
and a
|
and a
|
||||||
jp nz, BattleCommand_MoveDelay
|
jp nz, BattleCommand_MoveDelay
|
||||||
|
|
||||||
xor a
|
xor a
|
||||||
jr BattleCommand91_92
|
jr BattleCommand_StatUpDownAnim
|
||||||
; 34fdb
|
; 34fdb
|
||||||
|
|
||||||
|
|
||||||
BattleCommand91: ; 34fdb
|
BattleCommand_StatDownAnim: ; 34fdb
|
||||||
ld a, [AttackMissed]
|
ld a, [AttackMissed]
|
||||||
and a
|
and a
|
||||||
jp nz, BattleCommand_MoveDelay
|
jp nz, BattleCommand_MoveDelay
|
||||||
@@ -2855,14 +2855,14 @@ BattleCommand91: ; 34fdb
|
|||||||
ld a, [hBattleTurn]
|
ld a, [hBattleTurn]
|
||||||
and a
|
and a
|
||||||
ld a, 2
|
ld a, 2
|
||||||
jr z, BattleCommand91_92
|
jr z, BattleCommand_StatUpDownAnim
|
||||||
ld a, 5
|
ld a, 5
|
||||||
|
|
||||||
; fallthrough
|
; fallthrough
|
||||||
; 34feb
|
; 34feb
|
||||||
|
|
||||||
|
|
||||||
BattleCommand91_92: ; 34feb
|
BattleCommand_StatUpDownAnim: ; 34feb
|
||||||
ld [wcfca], a
|
ld [wcfca], a
|
||||||
xor a
|
xor a
|
||||||
ld [wc689], a
|
ld [wc689], a
|
||||||
@@ -2884,7 +2884,7 @@ BattleCommand_SwitchTurn: ; 34ffd
|
|||||||
; 35004
|
; 35004
|
||||||
|
|
||||||
|
|
||||||
BattleCommand0c: ; 35004
|
BattleCommand_RaiseSub: ; 35004
|
||||||
; raisesub
|
; raisesub
|
||||||
|
|
||||||
ld a, BATTLE_VARS_SUBSTATUS4
|
ld a, BATTLE_VARS_SUBSTATUS4
|
||||||
@@ -2933,7 +2933,7 @@ BattleCommand_ResultText: ; 35023
|
|||||||
jp EndMoveEffect
|
jp EndMoveEffect
|
||||||
|
|
||||||
.asm_35049
|
.asm_35049
|
||||||
call BattleCommand0c
|
call BattleCommand_RaiseSub
|
||||||
jp EndMoveEffect
|
jp EndMoveEffect
|
||||||
|
|
||||||
.asm_3504f
|
.asm_3504f
|
||||||
@@ -3274,7 +3274,7 @@ BattleCommand_CheckDestinyBond: ; 351c0
|
|||||||
jr nz, .asm_3524d
|
jr nz, .asm_3524d
|
||||||
|
|
||||||
.asm_3524a
|
.asm_3524a
|
||||||
call BattleCommand0c
|
call BattleCommand_RaiseSub
|
||||||
|
|
||||||
.asm_3524d
|
.asm_3524d
|
||||||
jp EndMoveEffect
|
jp EndMoveEffect
|
||||||
@@ -5011,7 +5011,7 @@ BattleCommand_SleepTalk: ; 35b33
|
|||||||
jr nz, .asm_35b9a
|
jr nz, .asm_35b9a
|
||||||
ld a, [wc689]
|
ld a, [wc689]
|
||||||
push af
|
push af
|
||||||
call BattleCommand0a
|
call BattleCommand_LowerSub
|
||||||
pop af
|
pop af
|
||||||
ld [wc689], a
|
ld [wc689], a
|
||||||
.asm_35b9a
|
.asm_35b9a
|
||||||
@@ -6793,9 +6793,9 @@ BattleCommanda6: ; 365af
|
|||||||
ld hl, GetMonBackpic
|
ld hl, GetMonBackpic
|
||||||
ld a, [hBattleTurn]
|
ld a, [hBattleTurn]
|
||||||
and a
|
and a
|
||||||
jr z, .asm_365ba ; 365b5 $3
|
jr z, .PlayerTurn ; 365b5 $3
|
||||||
ld hl, Function3f47c
|
ld hl, GetMonFrontpic
|
||||||
.asm_365ba
|
.PlayerTurn
|
||||||
xor a
|
xor a
|
||||||
ld [$ffd4], a
|
ld [$ffd4], a
|
||||||
call CallBattleCore
|
call CallBattleCore
|
||||||
@@ -6807,9 +6807,9 @@ BattleCommanda7: ; 365c3
|
|||||||
ld hl, Function3f447
|
ld hl, Function3f447
|
||||||
ld a, [hBattleTurn]
|
ld a, [hBattleTurn]
|
||||||
and a
|
and a
|
||||||
jr z, .asm_365ce ; 365c9 $3
|
jr z, .PlayerTurn ; 365c9 $3
|
||||||
ld hl, Function3f486
|
ld hl, Function3f486
|
||||||
.asm_365ce
|
.PlayerTurn
|
||||||
xor a
|
xor a
|
||||||
ld [$ffd4], a
|
ld [$ffd4], a
|
||||||
call CallBattleCore
|
call CallBattleCore
|
||||||
@@ -7176,7 +7176,7 @@ BattleCommand_Teleport: ; 36778
|
|||||||
ld [wd232], a
|
ld [wd232], a
|
||||||
ld [wc689], a
|
ld [wc689], a
|
||||||
call Function36804
|
call Function36804
|
||||||
call BattleCommand0a
|
call BattleCommand_LowerSub
|
||||||
call Function37e36
|
call Function37e36
|
||||||
ld c, 20
|
ld c, 20
|
||||||
call DelayFrames
|
call DelayFrames
|
||||||
@@ -7390,9 +7390,9 @@ BattleCommand_ForceSwitch: ; 3680f
|
|||||||
jp CallBattleCore
|
jp CallBattleCore
|
||||||
|
|
||||||
.asm_36969
|
.asm_36969
|
||||||
call BattleCommand0a
|
call BattleCommand_LowerSub
|
||||||
call BattleCommand_MoveDelay
|
call BattleCommand_MoveDelay
|
||||||
call BattleCommand0c
|
call BattleCommand_RaiseSub
|
||||||
jp PrintButItFailed
|
jp PrintButItFailed
|
||||||
|
|
||||||
.asm_36975
|
.asm_36975
|
||||||
@@ -7742,7 +7742,7 @@ BattleCommand_Charge: ; 36b4d
|
|||||||
jr z, .asm_36b65
|
jr z, .asm_36b65
|
||||||
|
|
||||||
call BattleCommand_MoveDelay
|
call BattleCommand_MoveDelay
|
||||||
call BattleCommand0c
|
call BattleCommand_RaiseSub
|
||||||
call PrintButItFailed
|
call PrintButItFailed
|
||||||
jp EndMoveEffect
|
jp EndMoveEffect
|
||||||
|
|
||||||
@@ -7756,7 +7756,7 @@ BattleCommand_Charge: ; 36b4d
|
|||||||
and a
|
and a
|
||||||
call nz, StdBattleTextBox
|
call nz, StdBattleTextBox
|
||||||
|
|
||||||
call BattleCommand0a
|
call BattleCommand_LowerSub
|
||||||
xor a
|
xor a
|
||||||
ld [wcfca], a
|
ld [wcfca], a
|
||||||
inc a
|
inc a
|
||||||
@@ -7768,7 +7768,7 @@ BattleCommand_Charge: ; 36b4d
|
|||||||
jr z, .asm_36b96
|
jr z, .asm_36b96
|
||||||
cp DIG
|
cp DIG
|
||||||
jr z, .asm_36b96
|
jr z, .asm_36b96
|
||||||
call BattleCommand0c
|
call BattleCommand_RaiseSub
|
||||||
jr .asm_36b99
|
jr .asm_36b99
|
||||||
.asm_36b96
|
.asm_36b96
|
||||||
call Function37ec0
|
call Function37ec0
|
||||||
@@ -8346,13 +8346,13 @@ endr
|
|||||||
|
|
||||||
.asm_36ef4
|
.asm_36ef4
|
||||||
call Function34548
|
call Function34548
|
||||||
call nz, BattleCommand0c
|
call nz, BattleCommand_RaiseSub
|
||||||
ld hl, HasSubstituteText
|
ld hl, HasSubstituteText
|
||||||
jr .asm_36f08
|
jr .asm_36f08
|
||||||
|
|
||||||
.asm_36eff
|
.asm_36eff
|
||||||
call Function34548
|
call Function34548
|
||||||
call nz, BattleCommand0c
|
call nz, BattleCommand_RaiseSub
|
||||||
ld hl, TooWeakSubText
|
ld hl, TooWeakSubText
|
||||||
.asm_36f08
|
.asm_36f08
|
||||||
jp StdBattleTextBox
|
jp StdBattleTextBox
|
||||||
@@ -9166,7 +9166,7 @@ BattleCommand_SelfDestruct: ; 37380
|
|||||||
ld [hl], a
|
ld [hl], a
|
||||||
ld a, $1
|
ld a, $1
|
||||||
ld [wc689], a
|
ld [wc689], a
|
||||||
call BattleCommand0a
|
call BattleCommand_LowerSub
|
||||||
call Function37e36
|
call Function37e36
|
||||||
ld a, BATTLE_VARS_SUBSTATUS4
|
ld a, BATTLE_VARS_SUBSTATUS4
|
||||||
call GetBattleVarAddr
|
call GetBattleVarAddr
|
||||||
@@ -10386,11 +10386,11 @@ BattleCommand_FutureSight: ; 37d34
|
|||||||
jr nz, .asm_37d87 ; 37d58 $2d
|
jr nz, .asm_37d87 ; 37d58 $2d
|
||||||
ld a, $4
|
ld a, $4
|
||||||
ld [hl], a
|
ld [hl], a
|
||||||
call BattleCommand0a
|
call BattleCommand_LowerSub
|
||||||
call BattleCommand_MoveDelay
|
call BattleCommand_MoveDelay
|
||||||
ld hl, ForesawAttackText
|
ld hl, ForesawAttackText
|
||||||
call StdBattleTextBox
|
call StdBattleTextBox
|
||||||
call BattleCommand0c
|
call BattleCommand_RaiseSub
|
||||||
ld de, wc727
|
ld de, wc727
|
||||||
ld a, [hBattleTurn]
|
ld a, [hBattleTurn]
|
||||||
and a
|
and a
|
||||||
@@ -10497,11 +10497,11 @@ Function37de9: ; 37de9
|
|||||||
push bc
|
push bc
|
||||||
ld a, [wc689]
|
ld a, [wc689]
|
||||||
push af
|
push af
|
||||||
call BattleCommand0a
|
call BattleCommand_LowerSub
|
||||||
pop af
|
pop af
|
||||||
ld [wc689], a
|
ld [wc689], a
|
||||||
call Function37e19
|
call Function37e19
|
||||||
call BattleCommand0c
|
call BattleCommand_RaiseSub
|
||||||
pop bc
|
pop bc
|
||||||
pop de
|
pop de
|
||||||
pop hl
|
pop hl
|
||||||
@@ -10515,11 +10515,11 @@ AnimateCurrentMove: ; 37e01
|
|||||||
push bc
|
push bc
|
||||||
ld a, [wc689]
|
ld a, [wc689]
|
||||||
push af
|
push af
|
||||||
call BattleCommand0a
|
call BattleCommand_LowerSub
|
||||||
pop af
|
pop af
|
||||||
ld [wc689], a
|
ld [wc689], a
|
||||||
call Function37e36
|
call Function37e36
|
||||||
call BattleCommand0c
|
call BattleCommand_RaiseSub
|
||||||
pop bc
|
pop bc
|
||||||
pop de
|
pop de
|
||||||
pop hl
|
pop hl
|
||||||
@@ -10616,9 +10616,9 @@ CallBattleCore: ; 37e73
|
|||||||
|
|
||||||
|
|
||||||
AnimateFailedMove: ; 37e77
|
AnimateFailedMove: ; 37e77
|
||||||
call BattleCommand0a
|
call BattleCommand_LowerSub
|
||||||
call BattleCommand_MoveDelay
|
call BattleCommand_MoveDelay
|
||||||
jp BattleCommand0c
|
jp BattleCommand_RaiseSub
|
||||||
; 37e80
|
; 37e80
|
||||||
|
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@ BattleCommand_Metronome: ; 37418
|
|||||||
|
|
||||||
ld a, [wc689]
|
ld a, [wc689]
|
||||||
push af
|
push af
|
||||||
call BattleCommand0a
|
call BattleCommand_LowerSub
|
||||||
pop af
|
pop af
|
||||||
ld [wc689], a
|
ld [wc689], a
|
||||||
|
|
||||||
|
@@ -42,7 +42,7 @@ BattleCommand_MirrorMove: ; 373c9
|
|||||||
|
|
||||||
ld a, [wc689]
|
ld a, [wc689]
|
||||||
push af
|
push af
|
||||||
call BattleCommand0a
|
call BattleCommand_LowerSub
|
||||||
pop af
|
pop af
|
||||||
ld [wc689], a
|
ld [wc689], a
|
||||||
|
|
||||||
|
@@ -252,9 +252,9 @@ AttackUp:
|
|||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
attackup
|
attackup
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x92
|
statupanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessageuser
|
statmessageuser
|
||||||
statupfailtext
|
statupfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -266,9 +266,9 @@ DefenseUp:
|
|||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
defenseup
|
defenseup
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x92
|
statupanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessageuser
|
statmessageuser
|
||||||
statupfailtext
|
statupfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -278,9 +278,9 @@ SpeedUp:
|
|||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
speedup
|
speedup
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x92
|
statupanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessageuser
|
statmessageuser
|
||||||
statupfailtext
|
statupfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -291,9 +291,9 @@ SpecialAttackUp:
|
|||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
specialattackup
|
specialattackup
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x92
|
statupanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessageuser
|
statmessageuser
|
||||||
statupfailtext
|
statupfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -303,9 +303,9 @@ SpecialDefenseUp:
|
|||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
specialdefenseup
|
specialdefenseup
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x92
|
statupanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessageuser
|
statmessageuser
|
||||||
statupfailtext
|
statupfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -315,9 +315,9 @@ AccuracyUp:
|
|||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
accuracyup
|
accuracyup
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x92
|
statupanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessageuser
|
statmessageuser
|
||||||
statupfailtext
|
statupfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -328,11 +328,11 @@ EvasionUp:
|
|||||||
checkobedience
|
checkobedience
|
||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
effect0x0a
|
lowersub
|
||||||
evasionup
|
evasionup
|
||||||
effect0x92
|
statupanim
|
||||||
effect0xa7
|
effect0xa7
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessageuser
|
statmessageuser
|
||||||
statupfailtext
|
statupfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -343,9 +343,9 @@ AttackUp2:
|
|||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
attackup2
|
attackup2
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x92
|
statupanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessageuser
|
statmessageuser
|
||||||
statupfailtext
|
statupfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -357,9 +357,9 @@ DefenseUp2:
|
|||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
defenseup2
|
defenseup2
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x92
|
statupanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessageuser
|
statmessageuser
|
||||||
statupfailtext
|
statupfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -370,9 +370,9 @@ SpeedUp2:
|
|||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
speedup2
|
speedup2
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x92
|
statupanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessageuser
|
statmessageuser
|
||||||
statupfailtext
|
statupfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -382,9 +382,9 @@ SpecialAttackUp2:
|
|||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
specialattackup2
|
specialattackup2
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x92
|
statupanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessageuser
|
statmessageuser
|
||||||
statupfailtext
|
statupfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -395,9 +395,9 @@ SpecialDefenseUp2:
|
|||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
specialdefenseup2
|
specialdefenseup2
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x92
|
statupanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessageuser
|
statmessageuser
|
||||||
statupfailtext
|
statupfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -407,9 +407,9 @@ AccuracyUp2:
|
|||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
accuracyup2
|
accuracyup2
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x92
|
statupanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessageuser
|
statmessageuser
|
||||||
statupfailtext
|
statupfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -419,9 +419,9 @@ EvasionUp2:
|
|||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
evasionup2
|
evasionup2
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x92
|
statupanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessageuser
|
statmessageuser
|
||||||
statupfailtext
|
statupfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -433,9 +433,9 @@ AttackDown:
|
|||||||
doturn
|
doturn
|
||||||
checkhit
|
checkhit
|
||||||
attackdown
|
attackdown
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x91
|
statdownanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessagetarget
|
statmessagetarget
|
||||||
statdownfailtext
|
statdownfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -448,9 +448,9 @@ DefenseDown:
|
|||||||
doturn
|
doturn
|
||||||
checkhit
|
checkhit
|
||||||
defensedown
|
defensedown
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x91
|
statdownanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessagetarget
|
statmessagetarget
|
||||||
statdownfailtext
|
statdownfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -462,9 +462,9 @@ SpeedDown:
|
|||||||
doturn
|
doturn
|
||||||
checkhit
|
checkhit
|
||||||
speeddown
|
speeddown
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x91
|
statdownanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessagetarget
|
statmessagetarget
|
||||||
statdownfailtext
|
statdownfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -475,9 +475,9 @@ SpecialAttackDown:
|
|||||||
doturn
|
doturn
|
||||||
checkhit
|
checkhit
|
||||||
specialattackdown
|
specialattackdown
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x91
|
statdownanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessagetarget
|
statmessagetarget
|
||||||
statdownfailtext
|
statdownfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -488,9 +488,9 @@ SpecialDefenseDown:
|
|||||||
doturn
|
doturn
|
||||||
checkhit
|
checkhit
|
||||||
specialdefensedown
|
specialdefensedown
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x91
|
statdownanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessagetarget
|
statmessagetarget
|
||||||
statdownfailtext
|
statdownfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -505,9 +505,9 @@ AccuracyDown:
|
|||||||
doturn
|
doturn
|
||||||
checkhit
|
checkhit
|
||||||
accuracydown
|
accuracydown
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x91
|
statdownanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessagetarget
|
statmessagetarget
|
||||||
statdownfailtext
|
statdownfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -519,9 +519,9 @@ EvasionDown:
|
|||||||
doturn
|
doturn
|
||||||
checkhit
|
checkhit
|
||||||
evasiondown
|
evasiondown
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x91
|
statdownanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessagetarget
|
statmessagetarget
|
||||||
statdownfailtext
|
statdownfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -533,9 +533,9 @@ AttackDown2:
|
|||||||
doturn
|
doturn
|
||||||
checkhit
|
checkhit
|
||||||
attackdown2
|
attackdown2
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x91
|
statdownanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessagetarget
|
statmessagetarget
|
||||||
statdownfailtext
|
statdownfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -547,9 +547,9 @@ DefenseDown2:
|
|||||||
doturn
|
doturn
|
||||||
checkhit
|
checkhit
|
||||||
defensedown2
|
defensedown2
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x91
|
statdownanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessagetarget
|
statmessagetarget
|
||||||
statdownfailtext
|
statdownfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -562,9 +562,9 @@ SpeedDown2:
|
|||||||
doturn
|
doturn
|
||||||
checkhit
|
checkhit
|
||||||
speeddown2
|
speeddown2
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x91
|
statdownanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessagetarget
|
statmessagetarget
|
||||||
statdownfailtext
|
statdownfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -575,9 +575,9 @@ SpecialAttackDown2:
|
|||||||
doturn
|
doturn
|
||||||
checkhit
|
checkhit
|
||||||
specialattackdown2
|
specialattackdown2
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x91
|
statdownanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessagetarget
|
statmessagetarget
|
||||||
statdownfailtext
|
statdownfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -588,9 +588,9 @@ SpecialDefenseDown2:
|
|||||||
doturn
|
doturn
|
||||||
checkhit
|
checkhit
|
||||||
specialdefensedown2
|
specialdefensedown2
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x91
|
statdownanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessagetarget
|
statmessagetarget
|
||||||
statdownfailtext
|
statdownfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -601,9 +601,9 @@ AccuracyDown2:
|
|||||||
doturn
|
doturn
|
||||||
checkhit
|
checkhit
|
||||||
accuracydown2
|
accuracydown2
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x91
|
statdownanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessagetarget
|
statmessagetarget
|
||||||
statdownfailtext
|
statdownfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -614,9 +614,9 @@ EvasionDown2:
|
|||||||
doturn
|
doturn
|
||||||
checkhit
|
checkhit
|
||||||
evasiondown2
|
evasiondown2
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x91
|
statdownanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessagetarget
|
statmessagetarget
|
||||||
statdownfailtext
|
statdownfailtext
|
||||||
endmove
|
endmove
|
||||||
@@ -958,7 +958,7 @@ MultiHit:
|
|||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
startloop
|
startloop
|
||||||
effect0x0a
|
lowersub
|
||||||
checkhit
|
checkhit
|
||||||
critical
|
critical
|
||||||
damagestats
|
damagestats
|
||||||
@@ -975,7 +975,7 @@ MultiHit:
|
|||||||
checkdestinybond
|
checkdestinybond
|
||||||
buildopponentrage
|
buildopponentrage
|
||||||
endloop
|
endloop
|
||||||
effect0x0c
|
raisesub
|
||||||
kingsrock
|
kingsrock
|
||||||
endmove
|
endmove
|
||||||
|
|
||||||
@@ -985,7 +985,7 @@ PoisonMultiHit:
|
|||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
startloop
|
startloop
|
||||||
effect0x0a
|
lowersub
|
||||||
checkhit
|
checkhit
|
||||||
effectchance
|
effectchance
|
||||||
critical
|
critical
|
||||||
@@ -1003,7 +1003,7 @@ PoisonMultiHit:
|
|||||||
checkdestinybond
|
checkdestinybond
|
||||||
buildopponentrage
|
buildopponentrage
|
||||||
endloop
|
endloop
|
||||||
effect0x0c
|
raisesub
|
||||||
kingsrock
|
kingsrock
|
||||||
poisontarget
|
poisontarget
|
||||||
endmove
|
endmove
|
||||||
@@ -1351,7 +1351,7 @@ Dig:
|
|||||||
damagevariation
|
damagevariation
|
||||||
checkhit
|
checkhit
|
||||||
effect0x0b
|
effect0x0b
|
||||||
effect0x0c
|
raisesub
|
||||||
resulttext
|
resulttext
|
||||||
checkfaint
|
checkfaint
|
||||||
criticaltext
|
criticaltext
|
||||||
@@ -1562,7 +1562,7 @@ TripleKick:
|
|||||||
usedmovetext
|
usedmovetext
|
||||||
doturn
|
doturn
|
||||||
startloop
|
startloop
|
||||||
effect0x0a
|
lowersub
|
||||||
checkhit
|
checkhit
|
||||||
critical
|
critical
|
||||||
damagestats
|
damagestats
|
||||||
@@ -1581,7 +1581,7 @@ TripleKick:
|
|||||||
buildopponentrage
|
buildopponentrage
|
||||||
kickcounter
|
kickcounter
|
||||||
endloop
|
endloop
|
||||||
effect0x0c
|
raisesub
|
||||||
kingsrock
|
kingsrock
|
||||||
endmove
|
endmove
|
||||||
|
|
||||||
@@ -1725,9 +1725,9 @@ Swagger:
|
|||||||
switchturn
|
switchturn
|
||||||
attackup2
|
attackup2
|
||||||
switchturn
|
switchturn
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x92
|
statupanim
|
||||||
effect0x0c
|
raisesub
|
||||||
resulttext
|
resulttext
|
||||||
switchturn
|
switchturn
|
||||||
statmessageuser
|
statmessageuser
|
||||||
@@ -2204,7 +2204,7 @@ BeatUp:
|
|||||||
movedelay
|
movedelay
|
||||||
doturn
|
doturn
|
||||||
startloop
|
startloop
|
||||||
effect0x0a
|
lowersub
|
||||||
checkhit
|
checkhit
|
||||||
critical
|
critical
|
||||||
beatup
|
beatup
|
||||||
@@ -2221,7 +2221,7 @@ BeatUp:
|
|||||||
buildopponentrage
|
buildopponentrage
|
||||||
endloop
|
endloop
|
||||||
effect0xa8
|
effect0xa8
|
||||||
effect0x0c
|
raisesub
|
||||||
kingsrock
|
kingsrock
|
||||||
endmove
|
endmove
|
||||||
|
|
||||||
@@ -2231,9 +2231,9 @@ DefenseCurl:
|
|||||||
doturn
|
doturn
|
||||||
defenseup
|
defenseup
|
||||||
curl
|
curl
|
||||||
effect0x0a
|
lowersub
|
||||||
effect0x92
|
statupanim
|
||||||
effect0x0c
|
raisesub
|
||||||
statmessageuser
|
statmessageuser
|
||||||
statupfailtext
|
statupfailtext
|
||||||
endmove
|
endmove
|
||||||
|
@@ -570,8 +570,6 @@ OBJECT_LENGTH EQU const_value
|
|||||||
|
|
||||||
MAPOBJECT_SCREEN_HEIGHT EQU 11
|
MAPOBJECT_SCREEN_HEIGHT EQU 11
|
||||||
MAPOBJECT_SCREEN_WIDTH EQU 12
|
MAPOBJECT_SCREEN_WIDTH EQU 12
|
||||||
OBJECT_STRUCT_3_DATA_WIDTH EQU 6
|
|
||||||
OBJECT_STRUCT_3_DATA_HEIGHT EQU 37
|
|
||||||
|
|
||||||
OW_DOWN EQU DOWN << 2
|
OW_DOWN EQU DOWN << 2
|
||||||
OW_UP EQU UP << 2
|
OW_UP EQU UP << 2
|
||||||
|
@@ -194,17 +194,17 @@ NUM_SPRITEHEADER_FIELDS EQU const_value
|
|||||||
; sprite movement data table indices
|
; sprite movement data table indices
|
||||||
const_def
|
const_def
|
||||||
const SPRITEMOVEDATA_00
|
const SPRITEMOVEDATA_00
|
||||||
const SPRITEMOVEDATA_01
|
const SPRITEMOVEDATA_ITEM_TREE
|
||||||
const SPRITEMOVEDATA_02
|
const SPRITEMOVEDATA_WANDER
|
||||||
const SPRITEMOVEDATA_03
|
const SPRITEMOVEDATA_SPINRANDOM_SLOW
|
||||||
const SPRITEMOVEDATA_WALK_UP_DOWN
|
const SPRITEMOVEDATA_WALK_UP_DOWN
|
||||||
const SPRITEMOVEDATA_WALK_LEFT_RIGHT
|
const SPRITEMOVEDATA_WALK_LEFT_RIGHT
|
||||||
const SPRITEMOVEDATA_STANDING_DOWN
|
const SPRITEMOVEDATA_STANDING_DOWN
|
||||||
const SPRITEMOVEDATA_STANDING_UP
|
const SPRITEMOVEDATA_STANDING_UP
|
||||||
const SPRITEMOVEDATA_STANDING_LEFT
|
const SPRITEMOVEDATA_STANDING_LEFT
|
||||||
const SPRITEMOVEDATA_STANDING_RIGHT
|
const SPRITEMOVEDATA_STANDING_RIGHT
|
||||||
const SPRITEMOVEDATA_0A
|
const SPRITEMOVEDATA_SPINRANDOM_FAST
|
||||||
const SPRITEMOVEDATA_0B
|
const SPRITEMOVEDATA_PLAYER
|
||||||
const SPRITEMOVEDATA_0C
|
const SPRITEMOVEDATA_0C
|
||||||
const SPRITEMOVEDATA_0D
|
const SPRITEMOVEDATA_0D
|
||||||
const SPRITEMOVEDATA_0E
|
const SPRITEMOVEDATA_0E
|
||||||
@@ -212,36 +212,38 @@ NUM_SPRITEHEADER_FIELDS EQU const_value
|
|||||||
const SPRITEMOVEDATA_10
|
const SPRITEMOVEDATA_10
|
||||||
const SPRITEMOVEDATA_11
|
const SPRITEMOVEDATA_11
|
||||||
const SPRITEMOVEDATA_12
|
const SPRITEMOVEDATA_12
|
||||||
const SPRITEMOVEDATA_13
|
const SPRITEMOVEDATA_FOLLOWING
|
||||||
const SPRITEMOVEDATA_14
|
const SPRITEMOVEDATA_SCRIPTED
|
||||||
const SPRITEMOVEDATA_15
|
const SPRITEMOVEDATA_SNORLAX
|
||||||
const SPRITEMOVEDATA_16
|
const SPRITEMOVEDATA_POKEMON
|
||||||
const SPRITEMOVEDATA_17
|
const SPRITEMOVEDATA_SUDOWOODO
|
||||||
const SPRITEMOVEDATA_18
|
const SPRITEMOVEDATA_SMASHABLE_ROCK
|
||||||
const SPRITEMOVEDATA_19
|
const SPRITEMOVEDATA_STRENGTH_BOULDER
|
||||||
const SPRITEMOVEDATA_1A
|
const SPRITEMOVEDATA_1A
|
||||||
const SPRITEMOVEDATA_1B
|
const SPRITEMOVEDATA_1B
|
||||||
const SPRITEMOVEDATA_1C
|
const SPRITEMOVEDATA_1C
|
||||||
const SPRITEMOVEDATA_1D
|
const SPRITEMOVEDATA_1D
|
||||||
const SPRITEMOVEDATA_1E
|
const SPRITEMOVEDATA_SPINCOUNTERCLOCKWISE
|
||||||
const SPRITEMOVEDATA_1F
|
const SPRITEMOVEDATA_SPINCLOCKWISE
|
||||||
const SPRITEMOVEDATA_20
|
const SPRITEMOVEDATA_20
|
||||||
const SPRITEMOVEDATA_21
|
const SPRITEMOVEDATA_BIGDOLL
|
||||||
const SPRITEMOVEDATA_22
|
const SPRITEMOVEDATA_22
|
||||||
const SPRITEMOVEDATA_23
|
const SPRITEMOVEDATA_23
|
||||||
const SPRITEMOVEDATA_24
|
const SPRITEMOVEDATA_LAPRAS
|
||||||
const SPRITEMOVEDATA_25
|
const SPRITEMOVEDATA_25
|
||||||
|
NUM_SPRITEMOVEDATA EQU const_value +- 1
|
||||||
|
SPRITEMOVEDATA_FIELDS EQU 6
|
||||||
|
|
||||||
; sprite movement functions
|
; sprite movement functions
|
||||||
const_def
|
const_def
|
||||||
const SPRITEMOVEFN_00
|
const SPRITEMOVEFN_00
|
||||||
const SPRITEMOVEFN_01
|
const SPRITEMOVEFN_RANDOM_WALK_Y
|
||||||
const SPRITEMOVEFN_02
|
const SPRITEMOVEFN_RANDOM_WALK_X
|
||||||
const SPRITEMOVEFN_03
|
const SPRITEMOVEFN_RANDOM_WALK_XY
|
||||||
const SPRITEMOVEFN_04
|
const SPRITEMOVEFN_SLOW_RANDOM_SPIN
|
||||||
const SPRITEMOVEFN_05
|
const SPRITEMOVEFN_FAST_RANDOM_SPIN
|
||||||
const SPRITEMOVEFN_06
|
const SPRITEMOVEFN_STANDING
|
||||||
const SPRITEMOVEFN_07
|
const SPRITEMOVEFN_OBEY_DPAD
|
||||||
const SPRITEMOVEFN_08
|
const SPRITEMOVEFN_08
|
||||||
const SPRITEMOVEFN_09
|
const SPRITEMOVEFN_09
|
||||||
const SPRITEMOVEFN_0A
|
const SPRITEMOVEFN_0A
|
||||||
@@ -249,17 +251,17 @@ NUM_SPRITEHEADER_FIELDS EQU const_value
|
|||||||
const SPRITEMOVEFN_0C
|
const SPRITEMOVEFN_0C
|
||||||
const SPRITEMOVEFN_0D
|
const SPRITEMOVEFN_0D
|
||||||
const SPRITEMOVEFN_0E
|
const SPRITEMOVEFN_0E
|
||||||
const SPRITEMOVEFN_0F
|
const SPRITEMOVEFN_FOLLOW
|
||||||
const SPRITEMOVEFN_10
|
const SPRITEMOVEFN_SCRIPTED
|
||||||
const SPRITEMOVEFN_11
|
const SPRITEMOVEFN_STRENGTH
|
||||||
const SPRITEMOVEFN_12
|
const SPRITEMOVEFN_12
|
||||||
const SPRITEMOVEFN_13
|
const SPRITEMOVEFN_13
|
||||||
const SPRITEMOVEFN_14
|
const SPRITEMOVEFN_14
|
||||||
const SPRITEMOVEFN_15
|
const SPRITEMOVEFN_BIG_SNORLAX
|
||||||
const SPRITEMOVEFN_16
|
const SPRITEMOVEFN_BOUNCE
|
||||||
const SPRITEMOVEFN_17
|
const SPRITEMOVEFN_17
|
||||||
const SPRITEMOVEFN_18
|
const SPRITEMOVEFN_SPIN_CLOCKWISE
|
||||||
const SPRITEMOVEFN_19
|
const SPRITEMOVEFN_SPIN_COUNTERCLOCKWISE
|
||||||
const SPRITEMOVEFN_1A
|
const SPRITEMOVEFN_1A
|
||||||
const SPRITEMOVEFN_1B
|
const SPRITEMOVEFN_1B
|
||||||
|
|
||||||
|
@@ -768,7 +768,7 @@ Function971a: ; 971a
|
|||||||
|
|
||||||
Function9729: ; 9729
|
Function9729: ; 9729
|
||||||
push de
|
push de
|
||||||
callba Function3da85
|
callba GetPartyMonDVs
|
||||||
ld c, l
|
ld c, l
|
||||||
ld b, h
|
ld b, h
|
||||||
ld a, [TempBattleMonSpecies]
|
ld a, [TempBattleMonSpecies]
|
||||||
@@ -779,7 +779,7 @@ Function9729: ; 9729
|
|||||||
|
|
||||||
Function973a: ; 973a
|
Function973a: ; 973a
|
||||||
push de
|
push de
|
||||||
callba Function3da97
|
callba GetEnemyMonDVs
|
||||||
ld c, l
|
ld c, l
|
||||||
ld b, h
|
ld b, h
|
||||||
ld a, [TempEnemyMonSpecies]
|
ld a, [TempEnemyMonSpecies]
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -55,7 +55,7 @@ PredefPointers:: ; 856b
|
|||||||
add_predef StartBattle
|
add_predef StartBattle
|
||||||
add_predef FillInExpBar
|
add_predef FillInExpBar
|
||||||
add_predef GetMonBackpic ; $18
|
add_predef GetMonBackpic ; $18
|
||||||
add_predef Function3f47c
|
add_predef GetMonFrontpic
|
||||||
add_predef LearnLevelMoves
|
add_predef LearnLevelMoves
|
||||||
add_predef FillMoves
|
add_predef FillMoves
|
||||||
add_predef Function421e6
|
add_predef Function421e6
|
||||||
|
@@ -441,7 +441,7 @@ Function19e9:: ; 19e9
|
|||||||
ret c
|
ret c
|
||||||
ld hl, OBJECT_MOVEMENTTYPE
|
ld hl, OBJECT_MOVEMENTTYPE
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld [hl], SPRITEMOVEDATA_14
|
ld [hl], SPRITEMOVEDATA_SCRIPTED
|
||||||
ld hl, OBJECT_09
|
ld hl, OBJECT_09
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld [hl], 0
|
ld [hl], 0
|
||||||
@@ -485,19 +485,19 @@ FindFirstEmptyObjectStruct:: ; 1a13
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Function1a2f:: ; 1a2f
|
GetSpriteMovementFunction:: ; 1a2f
|
||||||
ld hl, OBJECT_MOVEMENTTYPE
|
ld hl, OBJECT_MOVEMENTTYPE
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
cp OBJECT_STRUCT_3_DATA_HEIGHT
|
cp NUM_SPRITEMOVEDATA
|
||||||
jr c, .ok
|
jr c, .ok
|
||||||
xor a
|
xor a
|
||||||
|
|
||||||
.ok
|
.ok
|
||||||
ld hl, ObjectStruct3_Data
|
ld hl, SpriteMovementData
|
||||||
ld e, a
|
ld e, a
|
||||||
ld d, 0
|
ld d, 0
|
||||||
rept OBJECT_STRUCT_3_DATA_WIDTH
|
rept SPRITEMOVEDATA_FIELDS
|
||||||
add hl,de
|
add hl,de
|
||||||
endr
|
endr
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
@@ -509,11 +509,11 @@ Function1a47:: ; 1a47
|
|||||||
push de
|
push de
|
||||||
ld e, a
|
ld e, a
|
||||||
ld d, 0
|
ld d, 0
|
||||||
ld hl, ObjectStruct3_Data + 1
|
ld hl, SpriteMovementData + 1 ; init facing
|
||||||
rept OBJECT_STRUCT_3_DATA_WIDTH
|
rept SPRITEMOVEDATA_FIELDS
|
||||||
add hl,de
|
add hl,de
|
||||||
endr
|
endr
|
||||||
ld a, BANK(ObjectStruct3_Data)
|
ld a, BANK(SpriteMovementData)
|
||||||
call GetFarByte
|
call GetFarByte
|
||||||
rept 2
|
rept 2
|
||||||
add a
|
add a
|
||||||
@@ -529,7 +529,7 @@ Function1a61:: ; 1a61
|
|||||||
ld l, a
|
ld l, a
|
||||||
ld a, [hROMBank]
|
ld a, [hROMBank]
|
||||||
push af
|
push af
|
||||||
ld a, BANK(ObjectStruct3_Data)
|
ld a, BANK(SpriteMovementData)
|
||||||
rst Bankswitch
|
rst Bankswitch
|
||||||
ld a, l
|
ld a, l
|
||||||
push bc
|
push bc
|
||||||
@@ -550,8 +550,8 @@ Function1a71:: ; 1a71
|
|||||||
push de
|
push de
|
||||||
ld e, a
|
ld e, a
|
||||||
ld d, 0
|
ld d, 0
|
||||||
ld hl, ObjectStruct3_Data + 1 ; facing?
|
ld hl, SpriteMovementData + 1 ; init facing
|
||||||
rept OBJECT_STRUCT_3_DATA_WIDTH
|
rept SPRITEMOVEDATA_FIELDS
|
||||||
add hl, de
|
add hl, de
|
||||||
endr
|
endr
|
||||||
ld b, h
|
ld b, h
|
||||||
|
@@ -14,9 +14,9 @@ endm
|
|||||||
command stab
|
command stab
|
||||||
command damagevariation
|
command damagevariation
|
||||||
command checkhit
|
command checkhit
|
||||||
command effect0x0a
|
command lowersub
|
||||||
command effect0x0b
|
command effect0x0b
|
||||||
command effect0x0c
|
command raisesub
|
||||||
command resulttext
|
command resulttext
|
||||||
command checkfaint
|
command checkfaint
|
||||||
command criticaltext
|
command criticaltext
|
||||||
@@ -149,8 +149,8 @@ endm
|
|||||||
command statupfailtext
|
command statupfailtext
|
||||||
command statdownfailtext
|
command statdownfailtext
|
||||||
command effectchance
|
command effectchance
|
||||||
command effect0x91
|
command statdownanim
|
||||||
command effect0x92
|
command statupanim
|
||||||
command switchturn
|
command switchturn
|
||||||
command fakeout
|
command fakeout
|
||||||
command bellydrum
|
command bellydrum
|
||||||
|
10
main.asm
10
main.asm
@@ -2603,7 +2603,7 @@ Function7113: ; unreferenced
|
|||||||
ld hl, OBJECT_MOVEMENTTYPE
|
ld hl, OBJECT_MOVEMENTTYPE
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
cp SPRITEMOVEDATA_15
|
cp SPRITEMOVEDATA_SNORLAX
|
||||||
jr nz, .asm_7136
|
jr nz, .asm_7136
|
||||||
call Function7171
|
call Function7171
|
||||||
jr c, .asm_716f
|
jr c, .asm_716f
|
||||||
@@ -3236,7 +3236,7 @@ PlayerObjectTemplate: ; 8071
|
|||||||
; A dummy map object used to initialize the player object.
|
; A dummy map object used to initialize the player object.
|
||||||
; Shorter than the actual amount copied by two bytes.
|
; Shorter than the actual amount copied by two bytes.
|
||||||
; Said bytes seem to be unused.
|
; Said bytes seem to be unused.
|
||||||
person_event SPRITE_CHRIS, -4, -4, SPRITEMOVEDATA_0B, 15, 15, -1, -1, 0, 0, 0, 0, -1
|
person_event SPRITE_CHRIS, -4, -4, SPRITEMOVEDATA_PLAYER, 15, 15, -1, -1, 0, 0, 0, 0, -1
|
||||||
; 807e
|
; 807e
|
||||||
|
|
||||||
CopyDECoordsToMapObject:: ; 807e
|
CopyDECoordsToMapObject:: ; 807e
|
||||||
@@ -25058,10 +25058,10 @@ Function2715c: ; 2715c
|
|||||||
jr .continue
|
jr .continue
|
||||||
|
|
||||||
.gettutorialbackpic
|
.gettutorialbackpic
|
||||||
callba GetBattleBackpic
|
callba GetTrainerBackpic
|
||||||
|
|
||||||
.continue
|
.continue
|
||||||
callba Function3f47c
|
callba GetMonFrontpic
|
||||||
callba Function3ed9f
|
callba Function3ed9f
|
||||||
call ClearSGB
|
call ClearSGB
|
||||||
call WriteBackup
|
call WriteBackup
|
||||||
@@ -74055,7 +74055,7 @@ Functionfb8c8: ; fb8c8
|
|||||||
call LoadStandardFont
|
call LoadStandardFont
|
||||||
callba Function40ab2
|
callba Function40ab2
|
||||||
call Function3200
|
call Function3200
|
||||||
callba Function3da97
|
callba GetEnemyMonDVs
|
||||||
ld a, [hli]
|
ld a, [hli]
|
||||||
ld [TempMonDVs], a
|
ld [TempMonDVs], a
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
|
@@ -371,8 +371,8 @@ AzaleaGym_MapEventHeader:
|
|||||||
|
|
||||||
.PersonEvents:
|
.PersonEvents:
|
||||||
db 7
|
db 7
|
||||||
person_event SPRITE_BUGSY, 7, 5, SPRITEMOVEDATA_03, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, BugsyScript, -1
|
person_event SPRITE_BUGSY, 7, 5, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, BugsyScript, -1
|
||||||
person_event SPRITE_BUG_CATCHER, 3, 5, SPRITEMOVEDATA_0A, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, 2, 2, TrainerBug_catcherbenny, -1
|
person_event SPRITE_BUG_CATCHER, 3, 5, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, 2, 2, TrainerBug_catcherbenny, -1
|
||||||
person_event SPRITE_BUG_CATCHER, 8, 8, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, 2, 3, TrainerBug_catcherAl, -1
|
person_event SPRITE_BUG_CATCHER, 8, 8, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, 2, 3, TrainerBug_catcherAl, -1
|
||||||
person_event SPRITE_BUG_CATCHER, 2, 0, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, 2, 3, TrainerBug_catcherJosh, -1
|
person_event SPRITE_BUG_CATCHER, 2, 0, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, 2, 3, TrainerBug_catcherJosh, -1
|
||||||
person_event SPRITE_TWIN, 10, 4, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, 2, 1, TrainerTwinsAmyandmay1, -1
|
person_event SPRITE_TWIN, 10, 4, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, 2, 1, TrainerTwinsAmyandmay1, -1
|
||||||
|
@@ -93,4 +93,4 @@ AzaleaPokeCenter1F_MapEventHeader:
|
|||||||
person_event SPRITE_NURSE, 1, 3, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, 0, 0, NurseScript_0x18db28, -1
|
person_event SPRITE_NURSE, 1, 3, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, 0, 0, NurseScript_0x18db28, -1
|
||||||
person_event SPRITE_GENTLEMAN, 6, 9, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, 0, 0, 0, GentlemanScript_0x18db2b, -1
|
person_event SPRITE_GENTLEMAN, 6, 9, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, 0, 0, 0, GentlemanScript_0x18db2b, -1
|
||||||
person_event SPRITE_FISHING_GURU, 1, 6, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, 0, 0, FishingGuruScript_0x18db2e, -1
|
person_event SPRITE_FISHING_GURU, 1, 6, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, 0, 0, FishingGuruScript_0x18db2e, -1
|
||||||
person_event SPRITE_POKEFAN_F, 4, 1, SPRITEMOVEDATA_02, 2, 1, -1, -1, 0, 0, 0, PokefanFScript_0x18db31, -1
|
person_event SPRITE_POKEFAN_F, 4, 1, SPRITEMOVEDATA_WANDER, 2, 1, -1, -1, 0, 0, 0, PokefanFScript_0x18db31, -1
|
||||||
|
@@ -482,14 +482,14 @@ AzaleaTown_MapEventHeader:
|
|||||||
.PersonEvents:
|
.PersonEvents:
|
||||||
db 12
|
db 12
|
||||||
person_event SPRITE_AZALEA_ROCKET, 9, 31, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, 0, 0, AzaleaRocketScript_0x1980ab, EVENT_AZALEA_TOWN_SLOWPOKETAIL_ROCKET
|
person_event SPRITE_AZALEA_ROCKET, 9, 31, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, 0, 0, AzaleaRocketScript_0x1980ab, EVENT_AZALEA_TOWN_SLOWPOKETAIL_ROCKET
|
||||||
person_event SPRITE_GRAMPS, 9, 21, SPRITEMOVEDATA_02, 2, 1, -1, -1, 0, 0, 0, GrampsScript_0x1980b1, -1
|
person_event SPRITE_GRAMPS, 9, 21, SPRITEMOVEDATA_WANDER, 2, 1, -1, -1, 0, 0, 0, GrampsScript_0x1980b1, -1
|
||||||
person_event SPRITE_TEACHER, 13, 15, SPRITEMOVEDATA_WALK_UP_DOWN, 2, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, 0, 0, TeacherScript_0x1980c5, -1
|
person_event SPRITE_TEACHER, 13, 15, SPRITEMOVEDATA_WALK_UP_DOWN, 2, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, 0, 0, TeacherScript_0x1980c5, -1
|
||||||
person_event SPRITE_YOUNGSTER, 9, 7, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, YoungsterScript_0x1980c8, -1
|
person_event SPRITE_YOUNGSTER, 9, 7, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, YoungsterScript_0x1980c8, -1
|
||||||
person_event SPRITE_SLOWPOKE, 17, 8, SPRITEMOVEDATA_01, 0, 0, -1, -1, 0, 0, 0, SlowpokeScript_0x1980cb, EVENT_AZALEA_TOWN_SLOWPOKES
|
person_event SPRITE_SLOWPOKE, 17, 8, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, 0, 0, SlowpokeScript_0x1980cb, EVENT_AZALEA_TOWN_SLOWPOKES
|
||||||
person_event SPRITE_SLOWPOKE, 9, 18, SPRITEMOVEDATA_01, 0, 0, -1, -1, 0, 0, 0, SlowpokeScript_0x1980cb, EVENT_AZALEA_TOWN_SLOWPOKES
|
person_event SPRITE_SLOWPOKE, 9, 18, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, 0, 0, SlowpokeScript_0x1980cb, EVENT_AZALEA_TOWN_SLOWPOKES
|
||||||
person_event SPRITE_SLOWPOKE, 9, 29, SPRITEMOVEDATA_01, 0, 0, -1, -1, 0, 0, 0, SlowpokeScript_0x1980cb, EVENT_AZALEA_TOWN_SLOWPOKES
|
person_event SPRITE_SLOWPOKE, 9, 29, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, 0, 0, SlowpokeScript_0x1980cb, EVENT_AZALEA_TOWN_SLOWPOKES
|
||||||
person_event SPRITE_SLOWPOKE, 15, 15, SPRITEMOVEDATA_01, 0, 0, -1, -1, 0, 0, 0, SlowpokeScript_0x1980cb, EVENT_AZALEA_TOWN_SLOWPOKES
|
person_event SPRITE_SLOWPOKE, 15, 15, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, 0, 0, SlowpokeScript_0x1980cb, EVENT_AZALEA_TOWN_SLOWPOKES
|
||||||
person_event SPRITE_FRUIT_TREE, 2, 8, SPRITEMOVEDATA_01, 0, 0, -1, -1, 0, 0, 0, WhiteApricornTree, -1
|
person_event SPRITE_FRUIT_TREE, 2, 8, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, 0, 0, WhiteApricornTree, -1
|
||||||
person_event SPRITE_AZALEA_ROCKET, 10, 11, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, 0, 0, ObjectEvent, EVENT_RIVAL_AZALEA_TOWN
|
person_event SPRITE_AZALEA_ROCKET, 10, 11, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, 0, 0, ObjectEvent, EVENT_RIVAL_AZALEA_TOWN
|
||||||
person_event SPRITE_AZALEA_ROCKET, 16, 10, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, 0, 0, AzaleaRocketScript_0x1980ae, EVENT_SLOWPOKE_WELL_ROCKETS
|
person_event SPRITE_AZALEA_ROCKET, 16, 10, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, 0, 0, AzaleaRocketScript_0x1980ae, EVENT_SLOWPOKE_WELL_ROCKETS
|
||||||
person_event SPRITE_KURT_OUTSIDE, 5, 6, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, 0, 0, KurtOutsideScript_0x19810c, EVENT_AZALEA_TOWN_KURT
|
person_event SPRITE_KURT_OUTSIDE, 5, 6, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, 0, 0, KurtOutsideScript_0x19810c, EVENT_AZALEA_TOWN_KURT
|
||||||
|
@@ -811,5 +811,5 @@ BattleTower1F_MapEventHeader:
|
|||||||
person_event SPRITE_RECEPTIONIST, 6, 7, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, 0, 0, ReceptionistScript_0x9e3e2, -1
|
person_event SPRITE_RECEPTIONIST, 6, 7, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, 0, 0, ReceptionistScript_0x9e3e2, -1
|
||||||
person_event SPRITE_YOUNGSTER, 9, 14, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, 0, 0, YoungsterScript_0x9e55d, -1
|
person_event SPRITE_YOUNGSTER, 9, 14, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, 0, 0, YoungsterScript_0x9e55d, -1
|
||||||
person_event SPRITE_COOLTRAINER_F, 9, 4, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, (1 << 3) | PAL_OW_RED, 0, 0, CooltrainerFScript_0x9e568, -1
|
person_event SPRITE_COOLTRAINER_F, 9, 4, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, (1 << 3) | PAL_OW_RED, 0, 0, CooltrainerFScript_0x9e568, -1
|
||||||
person_event SPRITE_BUG_CATCHER, 3, 1, SPRITEMOVEDATA_02, 1, 1, -1, -1, (1 << 3) | PAL_OW_BLUE, 0, 0, BugCatcherScript_0x9e56b, -1
|
person_event SPRITE_BUG_CATCHER, 3, 1, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, (1 << 3) | PAL_OW_BLUE, 0, 0, BugCatcherScript_0x9e56b, -1
|
||||||
person_event SPRITE_GRANNY, 3, 14, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, 0, 0, 0, GrannyScript_0x9e56e, -1
|
person_event SPRITE_GRANNY, 3, 14, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, 0, 0, 0, GrannyScript_0x9e56e, -1
|
||||||
|
@@ -143,6 +143,6 @@ BattleTowerOutside_MapEventHeader:
|
|||||||
.PersonEvents:
|
.PersonEvents:
|
||||||
db 4
|
db 4
|
||||||
person_event SPRITE_STANDING_YOUNGSTER, 12, 6, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, 0, 0, StandingYoungsterScript_0x9f85f, -1
|
person_event SPRITE_STANDING_YOUNGSTER, 12, 6, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, 0, 0, StandingYoungsterScript_0x9f85f, -1
|
||||||
person_event SPRITE_BUENA, 11, 13, SPRITEMOVEDATA_02, 1, 1, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, BuenaScript_0x9f862, -1
|
person_event SPRITE_BUENA, 11, 13, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, BuenaScript_0x9f862, -1
|
||||||
person_event SPRITE_SAILOR, 18, 12, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, 0, 0, 0, SailorScript_0x9f865, EVENT_BATTLE_TOWER_OUTSIDE_SAILOR
|
person_event SPRITE_SAILOR, 18, 12, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, 0, 0, 0, SailorScript_0x9f865, EVENT_BATTLE_TOWER_OUTSIDE_SAILOR
|
||||||
person_event SPRITE_LASS, 24, 12, SPRITEMOVEDATA_03, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, ObjectEvent, -1
|
person_event SPRITE_LASS, 24, 12, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, ObjectEvent, -1
|
||||||
|
@@ -35,4 +35,4 @@ BlackthornDodrioTradeHouse_MapEventHeader:
|
|||||||
|
|
||||||
.PersonEvents:
|
.PersonEvents:
|
||||||
db 1
|
db 1
|
||||||
person_event SPRITE_LASS, 3, 2, SPRITEMOVEDATA_03, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, Emy, -1
|
person_event SPRITE_LASS, 3, 2, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, Emy, -1
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user