private void X_JUMP_BG_Click(object sender, EventArgs e) { MapTerrainBGLookupTableForm f = (MapTerrainBGLookupTableForm) InputFormRef.JumpForm <MapTerrainBGLookupTableForm>(); f.JumpTo((uint)FilterComboBox.SelectedIndex, (uint)AddressList.SelectedIndex); }
public static void JumpToRef(string text) { string[] ptrn = RegexCache.Split(text, @"([0-9a-zA-Z]+) .+? ([0-9a-zA-Z]+):"); if (ptrn.Length <= 2) { return; } uint listSelected = U.atoh(ptrn[1]) - 1; uint filterSelected = U.atoh(ptrn[2]); MapTerrainBGLookupTableForm f = (MapTerrainBGLookupTableForm) InputFormRef.JumpForm <MapTerrainBGLookupTableForm>(); f.JumpTo(filterSelected, listSelected); }
static uint[] GetPointers() { if (g_PointersCache == null) { if (PatchUtil.SearchExtendsBattleBG() == PatchUtil.ExtendsBattleBG_extends.Extends) { g_PointersCache = MapTerrainBGLookupTableForm.GetPointersExtendsPatch(0); } else { g_PointersCache = GetPointersVanilla(); } } return(g_PointersCache); }
private void AddressList_SelectedIndexChanged(object sender, EventArgs e) { X_BG_PIC.Image = DrawBG((uint)D0.Value, (uint)D8.Value, (uint)D4.Value); U.ConvertListBox(MapTerrainBGLookupTableForm.MakeListByUseTerrain((uint)this.AddressList.SelectedIndex), ref this.X_REF); }
void JumpToRef() { MapTerrainBGLookupTableForm.JumpToRef(X_REF.Text); }