From cef15740c09bbaf9f8b84d7e28b931e4be4304d5 Mon Sep 17 00:00:00 2001 From: gimulnautti Date: Tue, 21 Feb 2023 21:20:16 +0200 Subject: [PATCH] Alustettu numero sprite kopioalue nollaksi --- PiraattiIntro.trse | 6 +++--- piraatti_intro.ras | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PiraattiIntro.trse b/PiraattiIntro.trse index a2a69b2..8bbd680 100644 --- a/PiraattiIntro.trse +++ b/PiraattiIntro.trse @@ -29,7 +29,7 @@ override_target_settings_org = $810 override_target_settings_ignore_sys = 0 override_target_settings_ignore_prg = 0 output_debug_symbols = 1 -open_files = ,piraatti_intro.asm, resources/images/piraattinaamat-2.flf, resources/images/piraattinaamat-1.flf, piraatti_intro.ras +open_files = ,resources/images/piraattinaamat-2.flf, resources/images/piraattinaamat-1.flf, piraatti_intro.ras project_path = /Users/gimulnautti/piraattipuolue-github/c64-vaali-intro-2023/ zeropage_colormemory = $fb dirart_flf_file = none @@ -38,9 +38,9 @@ show_all_files = 1 use_vice_c1541 = 0 remove_unused_symbols = 1 ignore_initial_jump = 0 -current_file = piraatti_intro.ras +current_file = piraatti_intro.asm output_type = prg -exomizer_toggle = 1 +exomizer_toggle = 0 use_track_19 = 1 disable_compiler_comments = 0 charset_ = :resources/character.rom diff --git a/piraatti_intro.ras b/piraatti_intro.ras index c52c5ee..ae26d8a 100644 --- a/piraatti_intro.ras +++ b/piraatti_intro.ras @@ -249,7 +249,7 @@ text : string = (@cmoveto, 6,10, numberSprite1loc : byte = @numberSpriteCopies / 64 + 1; numberSprite2loc : byte = @numberSpriteCopies / 64 + 2; - numberSpriteCopyBlock : array[192] of byte = buildtable("i") at @numberSpriteCopies; + numberSpriteCopyBlock : array[192] of byte = buildtable("0") at @numberSpriteCopies; numberSpriteFloatX : array[256] of byte = buildtable("Math.sin(i * (2 * 6.28 / 256)) * 7 + Math.cos(i * 6.28 / 256) * 20") at $5c00; numberSpriteFloatY : array[256] of byte = buildtable("Math.cos(i * (3 * 6.28 / 256)) * 5") at $5d00;