Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MAFH2/BattleEngine.py8
-rw-r--r--MAFH2/Dungeon.py4
2 files changed, 7 insertions, 5 deletions
diff --git a/MAFH2/BattleEngine.py b/MAFH2/BattleEngine.py
index 0dc57ae..d9fe417 100644
--- a/MAFH2/BattleEngine.py
+++ b/MAFH2/BattleEngine.py
@@ -367,7 +367,9 @@ class BattleEngine(GameEngineElement):
# We don't want to allow other things to run during battle
return True
-
+#-------------------------------------------------------------------------------------------------------------------------------------------------------
+# \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/
+#
def draw(self,screen,time_delta):
x=250
y=150
@@ -379,7 +381,7 @@ class BattleEngine(GameEngineElement):
for enemy in self.enemy_list:
if enemy.alive:
if self.active_target == i:
- screen.blit(self.__images['arrow_select'], (x+(i*200),y-25)) #----------------------------------------------------------------------
+ screen.blit(self.__images['arrow_select'], (x+(i*200),y-25))
enemy.sprite.update( tick_time )
screen.blit(enemy.sprite.image, (x+(i*200),y))
i = i+1
@@ -389,4 +391,4 @@ class BattleEngine(GameEngineElement):
# Player Health
health = 10 - profile.hero.healthLevel()
- screen.blit(self.__images['hp'][health], (25,25)) #---------------------------------------------------------------------------------------------
+ screen.blit(self.__images['hp'][health], (25,25))
diff --git a/MAFH2/Dungeon.py b/MAFH2/Dungeon.py
index b79069e..620ad96 100644
--- a/MAFH2/Dungeon.py
+++ b/MAFH2/Dungeon.py
@@ -272,7 +272,7 @@ class Dungeon(GameEngineElement):
#-------------------------------------------------------------------------------------------------------------------------------------------------------
# \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/
-
+#
def draw(self,screen,time_delta):
profile = self.game_engine.get_object('profile')
dir = profile.playerFacing
@@ -295,7 +295,7 @@ class Dungeon(GameEngineElement):
# Draw Items
img_list = []
- for i in range( dir, (dir + 4) ):
+ for i in range( dir, (dir + 4) ):p
#imod for room rotation
imod = i % 4