mirror of
https://gitlab.com/Deukhoofd/BattleSim.git
synced 2025-10-27 18:00:03 +00:00
Removed some logging messages
This commit is contained in:
@@ -82,7 +82,6 @@ class @challengePaneObject
|
||||
# Implement finding battle/challenging
|
||||
$button.on 'click.challenge', ->
|
||||
thisChallenge = _.find($PaneArray, (butt) -> butt.button.selector is $button.selector)
|
||||
console.log(thisChallenge)
|
||||
# Start requesting for notify permission here
|
||||
PokeBattle.requestNotifyPermission()
|
||||
format = $selectFormat.data('format')
|
||||
|
||||
@@ -26,13 +26,11 @@ each team in [ yourTeam, opponentTeam ]
|
||||
else
|
||||
- var hasbeeninbattle = origpkmn.get('beeninbattle')
|
||||
if hasbeeninbattle == true
|
||||
- console.log('hasbeeninbattle')
|
||||
a.pokemon_icon(href=window.PokemonIconBackground(origpkmn), target="_blank", class = faintClass, style = style, data-team = teamIndex, data-slot = i)
|
||||
if !origpkmn.isFainted()
|
||||
.pokemon_hp_background
|
||||
.pokemon_hp(style="height: " + (origpkmn.getSpecies().id) + "%", class=origpkmn.getHPColor())
|
||||
else
|
||||
- console.log('hasnoybeeninbattle')
|
||||
- var newstyle = "background:url('../Sprites/Icons/iconempty.png')!important; background-size: cover!important;"
|
||||
a.pokemon_icon(href="", target="_blank", class = faintClass, style = newstyle, data-team = teamIndex, data-slot = i)
|
||||
if !origpkmn.isFainted()
|
||||
|
||||
Reference in New Issue
Block a user