Jump to content

Activating Tiled Tile Changes with Events?


thewispsoftime
 Share

Recommended Posts

So I've started using Tiled as my map creator as it is supposedly a lot easier to do tile changes with it. I set up the map and the tile changes, but when i try to test it by going through a village, the village event itself works out fine but then this happens:

Spoiler

594ab0430b72a_bandicam2017-06-2110-43-02-657.jpg.5db40af2236608a41e528143f6af660a.jpg

Not only does the tile not change, but this weird movement thing happens, and if I try to move beyond the normal range the game crashes.

I'm not sure what's causing this, but I think it comes down to the tile change not happening correctly? I'm not sure how to activate Tiled Tile Changes anyways.

My event code:

Spoiler

#define DISABLE_TUTORIALS
#include EAstdlib.event

EventPointerTable(0x09,Pointers)

ORG $D01550
Pointers:
POIN Turn_events
POIN Character_events
POIN Location_events
POIN Misc_events
POIN TrapData TrapData
POIN Bad Bad Bad Bad
POIN Good Good Good Good
POIN Opening_event Ending_event

Turn_events:
OpeningTurnEvent(Opening_event)
TurnEventPlayer(0x00,Reinforce,2)
TurnEventPlayer(0x00,Reinforce_again,4)
END_MAIN

Character_events:
END_MAIN

Location_events:
Village(0x07,West_village,4,8)
Village(0x08,Middle_village,9,6)
Village(0x09,East_village,16,9)
END_MAIN

Misc_events:
DefeatAll(Ending_event)
CauseGameOverIfLordDies
END_MAIN

Opening_event:
LOMA 0x08 [0,0]
FADU 0x10
MUSC 0x0033
CURF [3,2]
FADI 0x10
HIDEMAP
BACG 0x12
FADU 0x10
SHOWMAP
TEX1 0x81A
FADI 0x10
BACG 0x15
FADU 0x10
TEX1 0x81B
MUEN 0x10
FADI 0x10
MUSC 0x003D
LOMA 0x01 [0,0]
STAL 20
FADU 0x10
STAL 40
LOU1 Good
Text(0x22,0x81C)
MUEN 0x01
ENUN
MUSC 0x0032
CAM1 0x89
LOU1 Bad
ENUN
Text(0x81D)
CAM1 0x01
Text(0x81E)
ENDA

Ending_event:
MoveToChapter(0x03)
ENDA
 
Good:
UNIT 0x01 0x01 0x00 0x08 [0,14][3,12] [0x09,0x01,0x6B,0x00] [0x00,0x00,0x00,0x00]
UNIT 0x18 0x38 0x01 0x28 [0,14][2,11] [0x14,0x6B,0x00,0x00] [0x00,0x00,0x00,0x00]
UNIT 0x17 0x12 0x01 0x10 [0,14][4,13] [0x1F,0x00,0x00,0x00] [0x00,0x00,0x00,0x00]
UNIT 0x1D 0x28 0x01 0x08 [0,14][1,11] [0x01,0x6B,0x00,0x00] [0x00,0x00,0x00,0x00]
UNIT 0x0D 0x18 0x01 0x10 [0,14][3,13] [0x2C,0x6B,0x00,0x00] [0x00,0x00,0x00,0x00]
UNIT 

Bad:
UNIT 0x89 0x39 0x00 0x2C [22,0][22,0] [0x20,0x00,0x00,0x00] [0x03,0x03,0x09,0x20]
UNIT 0x8A 0x39 0x89 0x14 [22,0][22,2] [0x1F,0x00,0x00,0x00] [0x00,0x04,0x01,0x00]
UNIT 0x8A 0x39 0x89 0x14 [22,0][22,5] [0x1F,0x00,0x00,0x00] [0x00,0x04,0x01,0x00]
UNIT 0x8A 0x18 0x89 0x14 [22,0][21,3] [0x2C,0x00,0x00,0x00] [0x00,0x00,0x00,0x00]
UNIT 0x8A 0x18 0x89 0x14 [22,0][19,1] [0x2D,0x00,0x00,0x00] [0x00,0x00,0x00,0x00]
UNIT 0x8A 0x0A 0x89 0x1C [22,0][17,3] [0x03,0x00,0x00,0x00] [0x00,0x00,0x00,0x00]
UNIT 0x8A 0x0A 0x89 0x1C [22,0][20,6] [0x01,0x00,0x00,0x00] [0x00,0x00,0x00,0x00]
UNIT 0x8A 0x0E 0x89 0x14 [22,0][17,0] [0x02,0x00,0x00,0x00] [0x00,0x00,0x00,0x00]
UNIT 0x8A 0x0E 0x89 0x14 [22,0][19,3] [0x03,0x00,0x00,0x00] [0x00,0x00,0x00,0x00]
UNIT

Catherine:
UNIT 0x11 0x1D 0x01 0x08 [4,8][5,9] [0x4A,0x6B,0x00,0x00] [0x00,0x00,0x00,0x00]
UNIT

Reinforcements:
UNIT 0x8A 0x39 0x89 0x14 [22,8][22,8] [0x1F,0x00,0x00,0x00] [0x00,0x04,0x01,0x00]
UNIT 0x8A 0x18 0x89 0x14 [22,9][22,9] [0x2C,0x00,0x00,0x00] [0x00,0x00,0x00,0x00]
UNIT 0x8A 0x39 0x89 0x14 [22,10][22,10] [0x1F,0x00,0x00,0x00] [0x00,0x04,0x01,0x00]
UNIT

Reinforcements_other:
UNIT 0x8A 0x0A 0x89 0x14 [9,0][9,0] [0x01,0x00,0x00,0x00] [0x00,0x00,0x00,0x00]
UNIT 0x8A 0x0E 0x89 0x14 [11,0][11,0] [0x03,0x00,0x00,0x00] [0x00,0x00,0x00,0x00]
UNIT 0x8A 0x18 0x89 0x14 [10,0][10,0] [0x2C,0x00,0x00,0x00] [0x00,0x00,0x00,0x00]
UNIT

Reinforce:
LOU1 Reinforcements
ENDA

Reinforce_again:
LOU1 Reinforcements_other
ENDA

West_village:
MUSI
MUEN 0x05
ENUN
MUSC 0x0042
Text(0x02,0x81F)
LOU1 Catherine
ENUN
MUNO
ENDA

Middle_village:
ENDA

East_village:
ENDA

TrapData:
ENDTRAP
 
MESSAGE Events end at offset currentOffset
//The map for this chapter is at offset: D00000

Edited: I figured it out. I hadn't selected the map event pointers in the chapter data module of nightmare. It was trying to load map events that it didnt know existed.

Edited by thewispsoftime
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...