Add finished custom swamp arena BG and resize others
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 588 B |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 1014 B |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 550 B |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 958 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 493 B |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 826 B |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 651 B |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 499 B |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 969 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 491 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 801 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 621 B |
Before Width: | Height: | Size: 955 B After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 563 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 895 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 485 B |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 780 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 495 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 801 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 487 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 806 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 518 B |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 979 B |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 523 B |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 1005 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 489 B |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 819 B |
Before Width: | Height: | Size: 1009 B After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 602 B After Width: | Height: | Size: 734 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 471 B |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 780 B |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 318 B |
|
@ -479,10 +479,10 @@ export default class BattleScene extends Phaser.Scene {
|
|||
this.newArena(startingBiome, true);
|
||||
|
||||
this.arenaBgTransition.setPosition(0, 0);
|
||||
this.arenaPlayer.setPosition(340, 20);
|
||||
this.arenaPlayerTransition.setPosition(40, 20);
|
||||
this.arenaEnemy.setPosition(-240, 13);
|
||||
this.arenaNextEnemy.setPosition(-240, 13);
|
||||
this.arenaPlayer.setPosition(300, 0);
|
||||
this.arenaPlayerTransition.setPosition(40, 0);
|
||||
this.arenaEnemy.setPosition(-280, 0);
|
||||
this.arenaNextEnemy.setPosition(-280, 0);
|
||||
|
||||
this.trainer.setTexture('trainer_m');
|
||||
this.trainer.setPosition(406, 132);
|
||||
|
|
|
@ -1227,7 +1227,7 @@ export class LevelPowerAttr extends VariablePowerAttr {
|
|||
|
||||
export class RandomLevelPowerAttr extends VariablePowerAttr {
|
||||
apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean {
|
||||
(args[0] as Utils.NumberHolder).value = Math.min(user.level, 150) * Utils.randInt(100, 50);
|
||||
(args[0] as Utils.NumberHolder).value = Math.min(user.level, 150) * (Utils.randInt(100, 50) * 0.01);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|