mirror of
https://github.com/nacabaro/nacapet.git
synced 2026-09-30 23:21:37 +00:00
Cositas:
- Habia un problema a la hora de los temporizadores del hambre y la fuerza - Se me ha vuelto a romper la pantalla, asi que meti un mini hack para que funcione una pantalla de menor resolucion - Añadida la mecanica del overfeed (la tengo que probar, no se siva) - Añadida la mecanica de interrupción de suelo (esta, si que debería de funcionar, pero hasta que no consiga funcionar el cambio de bicho aqui no se prueba na) COMO CAMARÓN
This commit is contained in:
+12
-12
@@ -69,19 +69,19 @@ def process_npet_file(origFp, eggFp, outputName):
|
||||
charaReductionTime = int(matches[0][11], 16)
|
||||
charaMinWeight = int(matches[0][12], 16)
|
||||
|
||||
destFp.write(charaId.to_bytes(1, "big"))
|
||||
destFp.write(charaId.to_bytes(1, "little"))
|
||||
destFp.write(charaName)
|
||||
destFp.write(charaHp.to_bytes(1, "big"))
|
||||
destFp.write(charaBp.to_bytes(1, "big"))
|
||||
destFp.write(charaAp.to_bytes(1, "big"))
|
||||
destFp.write(charaStage.to_bytes(1, "big"))
|
||||
destFp.write(charaAttribute.to_bytes(1, "big"))
|
||||
destFp.write(charaAttackSprite.to_bytes(1, "big"))
|
||||
destFp.write(charaSleepTime.to_bytes(4, "big"))
|
||||
destFp.write(charaWakeupTime.to_bytes(4, "big"))
|
||||
destFp.write(charaEvolutionTime.to_bytes(4, "big"))
|
||||
destFp.write(charaReductionTime.to_bytes(2, "big"))
|
||||
destFp.write(charaMinWeight.to_bytes(1, "big"))
|
||||
destFp.write(charaHp.to_bytes(1, "little"))
|
||||
destFp.write(charaBp.to_bytes(1, "little"))
|
||||
destFp.write(charaAp.to_bytes(1, "little"))
|
||||
destFp.write(charaStage.to_bytes(1, "little"))
|
||||
destFp.write(charaAttribute.to_bytes(1, "little"))
|
||||
destFp.write(charaAttackSprite.to_bytes(1, "little"))
|
||||
destFp.write(charaSleepTime.to_bytes(4, "little"))
|
||||
destFp.write(charaWakeupTime.to_bytes(4, "little"))
|
||||
destFp.write(charaEvolutionTime.to_bytes(4, "little"))
|
||||
destFp.write(charaReductionTime.to_bytes(2, "little"))
|
||||
destFp.write(charaMinWeight.to_bytes(1, "little"))
|
||||
|
||||
logging.info(f"Añadiendo nueva entrada con nombre {matches[0][1]}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user